3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 427284 - Code Completion: class list shows the full name of classes
/// </summary>
Bug 427284 - Code Completion: class list shows the full name of classes
Bug 427284 - Code Completion : class list shows the full name of classes
[Test]
		public void TestBug427284 ()
		{
			CompletionDataList provider = CreateProvider (
@"namespace TestNamespace
{
        class Test
        {
        }
}
class TestClass
{
	void Method ()
	{
		$TestNamespace.$
	}
}
");
			Assert.IsNotNull (provider, "provider not found.");
			Assert.AreEqual (1, provider.Count);
			Assert.IsNotNull (provider.Find ("Test"), "class 'Test' not found.");
		}
[ Test ] public void TestBug427284 ( ) { CompletionDataList provider = CreateProvider ( @"namespace TestNamespace
{
        class Test
        {
        }
}
class TestClass
{
	void Method ()
	{
		$TestNamespace.$
	}
}
" ) ; Assert . IsNotNull ( provider , " " ) ; Assert . AreEqual ( 1 , provider . Count ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; }
Bug 427284 - Code Completion: class list shows the full name of classes
Bug 427284 - Code Completion : class list shows the full name of classes