Changeset 1569 for trunk/sources
- Timestamp:
- 04/16/09 16:08:45 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Persistence/Test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/Test/HeuristicLab.Persistence.Test.csproj
r1542 r1569 80 80 <Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL"> 81 81 <SpecificVersion>False</SpecificVersion> 82 <HintPath>..\ HeuristicLab.Tracing\3.2\libs\debug\log4net.dll</HintPath>82 <HintPath>..\..\HeuristicLab.Tracing\3.2\libs\debug\log4net.dll</HintPath> 83 83 </Reference> 84 84 <Reference Include="System" /> … … 89 89 </ItemGroup> 90 90 <ItemGroup> 91 <ProjectReference Include="..\ HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">91 <ProjectReference Include="..\3.3\HeuristicLab.Persistence-3.3.csproj"> 92 92 <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project> 93 93 <Name>HeuristicLab.Persistence-3.3</Name> 94 94 </ProjectReference> 95 <ProjectReference Include="..\ HeuristicLab.Tracing\3.2\HeuristicLab.Tracing-3.2.csproj">95 <ProjectReference Include="..\..\HeuristicLab.Tracing\3.2\HeuristicLab.Tracing-3.2.csproj"> 96 96 <Project>{EE2034D9-6E27-48A1-B855-42D45F69A4FC}</Project> 97 97 <Name>HeuristicLab.Tracing-3.2</Name> -
trunk/sources/HeuristicLab.Persistence/Test/NewSerializationTest.cs
r1566 r1569 9 9 using log4net; 10 10 using log4net.Config; 11 using HeuristicLab.Persistence.Default. ViewOnly;11 using HeuristicLab.Persistence.Default.DebugString; 12 12 13 13 namespace HeuristicLab.Persistence.Test { … … 70 70 public Root r; 71 71 [Storable] 72 public string name = " Serial";72 public string name = "<![CDATA[<![CDATA[Serial]]>]]>"; 73 73 } 74 74 … … 186 186 XmlGenerator.Serialize(r, "test.zip"); 187 187 object o = XmlParser.DeSerialize("test.zip"); 188 Console.WriteLine( ViewOnlyGenerator.Serialize(r));189 Console.WriteLine( ViewOnlyGenerator.Serialize(o));188 Console.WriteLine(DebugStringGenerator.Serialize(r)); 189 Console.WriteLine(DebugStringGenerator.Serialize(o)); 190 190 } 191 191 … … 199 199 XmlGenerator.Serialize(cs, "test3.zip"); 200 200 object o = XmlParser.DeSerialize("test3.zip"); 201 Console.WriteLine( ViewOnlyGenerator.Serialize(cs));202 Console.WriteLine( ViewOnlyGenerator.Serialize(o));201 Console.WriteLine(DebugStringGenerator.Serialize(cs)); 202 Console.WriteLine(DebugStringGenerator.Serialize(o)); 203 203 } 204 204 … … 219 219 XmlGenerator.Serialize(arrayListArray, "test4.zip"); 220 220 object o = XmlParser.DeSerialize("test4.zip"); 221 Console.WriteLine( ViewOnlyGenerator.Serialize(arrayListArray));222 Console.WriteLine( ViewOnlyGenerator.Serialize(o));221 Console.WriteLine(DebugStringGenerator.Serialize(arrayListArray)); 222 Console.WriteLine(DebugStringGenerator.Serialize(o)); 223 223 } 224 224 … … 227 227 XmlGenerator.Serialize(m, "test2.zip"); 228 228 object o = XmlParser.DeSerialize("test2.zip"); 229 Console.WriteLine( ViewOnlyGenerator.Serialize(m));230 Console.WriteLine( ViewOnlyGenerator.Serialize(o));229 Console.WriteLine(DebugStringGenerator.Serialize(m)); 230 Console.WriteLine(DebugStringGenerator.Serialize(o)); 231 231 } 232 232 … … 237 237 XmlGenerator.Serialize(sdt, "test5.zip"); 238 238 object o = XmlParser.DeSerialize("test5.zip"); 239 //Console.WriteLine( ViewOnlyGenerator.Serialize(sdt));240 //Console.WriteLine( ViewOnlyGenerator.Serialize(o));239 //Console.WriteLine(DebugStringGenerator.Serialize(sdt)); 240 //Console.WriteLine(DebugStringGenerator.Serialize(o)); 241 241 } 242 242 … … 248 248 XmlGenerator.Serialize(mDimString, "test6.zip"); 249 249 object o = XmlParser.DeSerialize("test6.zip"); 250 Console.WriteLine( ViewOnlyGenerator.Serialize(mDimString));251 Console.WriteLine( ViewOnlyGenerator.Serialize(o));250 Console.WriteLine(DebugStringGenerator.Serialize(mDimString)); 251 Console.WriteLine(DebugStringGenerator.Serialize(o)); 252 252 } 253 253 … … 261 261 XmlGenerator.Serialize(t, "test7.zip"); 262 262 object o = XmlParser.DeSerialize("test7.zip"); 263 Console.WriteLine( ViewOnlyGenerator.Serialize(t));264 Console.WriteLine( ViewOnlyGenerator.Serialize(o));263 Console.WriteLine(DebugStringGenerator.Serialize(t)); 264 Console.WriteLine(DebugStringGenerator.Serialize(o)); 265 265 } 266 266 … … 270 270 XmlGenerator.Serialize(strings, "test8.zip"); 271 271 object o = XmlParser.DeSerialize("test8.zip"); 272 Console.WriteLine( ViewOnlyGenerator.Serialize(strings));273 Console.WriteLine( ViewOnlyGenerator.Serialize(o));272 Console.WriteLine(DebugStringGenerator.Serialize(strings)); 273 Console.WriteLine(DebugStringGenerator.Serialize(o)); 274 274 } 275 275 … … 287 287 XmlGenerator.Serialize(12.3f, "test9.zip"); 288 288 object o = XmlParser.DeSerialize("test9.zip"); 289 Console.WriteLine( ViewOnlyGenerator.Serialize(12.3f));290 Console.WriteLine( ViewOnlyGenerator.Serialize(o));289 Console.WriteLine(DebugStringGenerator.Serialize(12.3f)); 290 Console.WriteLine(DebugStringGenerator.Serialize(o)); 291 291 } 292 292
Note: See TracChangeset
for help on using the changeset viewer.