コード例 #1
0
ファイル: CSFFITest.cs プロジェクト: RobertiF/Dynamo
 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");
 }