Example #1
0
 public void TestNamespaceImport()
 {
     string code =
         @"import(MicroFeatureTests from ""ProtoTest.dll"");";
     TestFrameWork theTest = new TestFrameWork();
     var mirror = theTest.RunScriptSource(code);
     TestFrameWork.VerifyBuildWarning(ProtoCore.BuildData.WarningID.kMultipleSymbolFound);
     string[] classes = theTest.GetAllMatchingClasses("MicroFeatureTests");
     Assert.True(classes.Length > 1, "More than one implementation of MicroFeatureTests class expected");
 }