From: Mike R. <mik...@us...> - 2004-08-03 10:40:47
|
Update of /cvsroot/netreflector/NetReflector/src/NetReflector.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24202/src/NetReflector.Test Modified Files: NetReflectorTest.csproj NetReflectorTypeTableTest.cs Log Message: NetReflector now ignores any members that are complex types, but not implemented using a Reflector Type (See XmlMemberSerialiserTest.ShouldIgnoreAnyMembersWithInstanceTypesThatAreNotSetToANetReflectorType) Index: NetReflectorTest.csproj =================================================================== RCS file: /cvsroot/netreflector/NetReflector/src/NetReflector.Test/NetReflectorTest.csproj,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** NetReflectorTest.csproj 6 Jul 2004 05:13:20 -0000 1.9 --- NetReflectorTest.csproj 3 Aug 2004 10:40:39 -0000 1.10 *************** *** 141,144 **** --- 141,149 ---- /> <File + RelPath = "resources\IgnoreNonReflectorTypeTestClass.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "resources\ITestClass.cs" SubType = "Code" Index: NetReflectorTypeTableTest.cs =================================================================== RCS file: /cvsroot/netreflector/NetReflector/src/NetReflector.Test/NetReflectorTypeTableTest.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NetReflectorTypeTableTest.cs 6 Jul 2004 05:13:20 -0000 1.2 --- NetReflectorTypeTableTest.cs 3 Aug 2004 10:40:39 -0000 1.3 *************** *** 26,30 **** table.Add(Assembly.GetExecutingAssembly()); ! AssertEquals(8, table.Count); AssertEquals(typeof(TestClass), table["reflectTest"].Type); AssertEquals(typeof(TestInnerClass), table["inner"].Type); --- 26,30 ---- table.Add(Assembly.GetExecutingAssembly()); ! AssertEquals(10, table.Count); AssertEquals(typeof(TestClass), table["reflectTest"].Type); AssertEquals(typeof(TestInnerClass), table["inner"].Type); *************** *** 43,47 **** table.Add(Assembly.GetExecutingAssembly()); ! AssertEquals(8, table.Count); } --- 43,47 ---- table.Add(Assembly.GetExecutingAssembly()); ! AssertEquals(10, table.Count); } *************** *** 75,79 **** NetReflectorTypeTable table = new NetReflectorTypeTable(); table.Add(System.IO.Directory.GetCurrentDirectory(), "*Test.dll"); ! AssertEquals(9, table.Count); AssertNotNull("Plugin type not found", table["plugin"]); AssertNotNull("Array-test type not found", table["array-test"]); --- 75,79 ---- NetReflectorTypeTable table = new NetReflectorTypeTable(); table.Add(System.IO.Directory.GetCurrentDirectory(), "*Test.dll"); ! AssertEquals(11, table.Count); AssertNotNull("Plugin type not found", table["plugin"]); AssertNotNull("Array-test type not found", table["array-test"]); |