Browse Source

Attempt to fix build, Mock projects in Tests also implement 2 new methods in IProjectContent by throwing NotImplementedException.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5754 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
Martin Koníček 16 years ago
parent
commit
04457b2e8c
  1. 10
      src/AddIns/BackendBindings/Python/PythonBinding/Test/Utils/MockProjectContent.cs
  2. 10
      src/AddIns/Misc/UnitTesting/Test/Utils/MockProjectContent.cs
  3. 2
      src/Main/Base/Project/Src/Editor/CodeCompletion/CodeCompletionItemProvider.cs

10
src/AddIns/BackendBindings/Python/PythonBinding/Test/Utils/MockProjectContent.cs

@ -316,5 +316,15 @@ namespace PythonBinding.Tests.Utils @@ -316,5 +316,15 @@ namespace PythonBinding.Tests.Utils
throw new NotImplementedException();
}
}
public List<ICompletionEntry> GetAllContents()
{
throw new NotImplementedException();
}
public void AddAllContents(List<ICompletionEntry> list, LanguageProperties language, bool lookInReferences)
{
throw new NotImplementedException();
}
}
}

10
src/AddIns/Misc/UnitTesting/Test/Utils/MockProjectContent.cs

@ -186,5 +186,15 @@ namespace UnitTesting.Tests.Utils @@ -186,5 +186,15 @@ namespace UnitTesting.Tests.Utils
throw new NotImplementedException();
}
}
public List<ICompletionEntry> GetAllContents()
{
throw new NotImplementedException();
}
public void AddAllContents(List<ICompletionEntry> list, LanguageProperties language, bool lookInReferences)
{
throw new NotImplementedException();
}
}
}

2
src/Main/Base/Project/Src/Editor/CodeCompletion/CodeCompletionItemProvider.cs

@ -265,7 +265,7 @@ namespace ICSharpCode.SharpDevelop.Editor.CodeCompletion @@ -265,7 +265,7 @@ namespace ICSharpCode.SharpDevelop.Editor.CodeCompletion
} else {
// Selected name is known in the current context but resolves to something else than the user wants to insert
// (i.e. some other class with the same name closer to current context according to language rules)
// - the only solution how to insert user's choice fully qualified
// - the only solution is to insert user's choice fully qualified
insertedText = selectedClass.FullyQualifiedName;
}
} else {

Loading…
Cancel
Save