public void TestModule() { string[] expected = { "Namespace Test.Namespace", " Public Module TestClass", " Public Sub Method()", " End Sub", " End Module", "End Namespace" }; ProviderTestUtils.DoVisualBasicTest(expected, ProviderExtTestUtils.TestStaticClassCompileUnit()); }
public void TestStaticClass() { string[] expected = new string[] { "namespace Test.Namespace", "{", " public static class TestClass", " {", " public static void Method()", " {", " }", " }", "}" }; ProviderTestUtils.DoCSharpTest(expected, ProviderExtTestUtils.TestStaticClassCompileUnit()); }