Пример #1
0
 public void TestProperties()
 {
     VirtualOnlyAbi abi = new VirtualOnlyAbi ();
                 CppLibrary cppl = new CppLibrary ("FooLib", abi);
                 Assert.AreEqual ("FooLib", cppl.Name, "#A1");
                 Assert.AreSame (abi, cppl.Abi, "#A2");
 }
Пример #2
0
 public void TestGetClass()
 {
     VirtualOnlyAbi abi = new VirtualOnlyAbi ();
                 CppLibrary cppl = new CppLibrary ("FooLib", abi);
                 EmptyTestInterface klass = cppl.GetClass<EmptyTestInterface,EmptyTestStruct,CppMockObject> ("FooClass");
                 Assert.IsNotNull (klass, "#A1");
 }