Subversion Repository Public Repository

WOX2

Diff Revisions 13 vs 14 for /trunk/CSharp/tests/wox/serial/tests/mains/TestMapCourses.cs

Diff revisions: vs.
  @@ -3,19 +3,33 @@
3 3 using NUnit.Framework;
4 4 using wox.serial.tests.objects;
5 5
6 - /**
7 - * This class provides an example of a Hashtable of Course objects.
8 - * The main method uses the Easy class to serialize the Hashtable to XML;
9 - * and to de-serialize the XML to a Hashtable object back again.
10 - * http://woxserializer.sourceforge.net/
11 - *
12 - * Authors: Carlos R. Jaimez Gonzalez
13 - * Simon M. Lucas
14 - * Version: TestMapCourses.cs - 1.0
15 - */
6 + /// <header>
7 + /// <wox>
8 + /// <version>1.0</version>
9 + /// <author>Carlos R. Jaimez Gonzalez</author>
10 + /// <author>Simon M. Lucas</author>
11 + /// <site>http://woxserializer.sourceforge.net/</site>
12 + /// </wox>
13 + /// <wox>
14 + /// <version>1.5</version>
15 + /// <author>Steven M Lewis</author>
16 + /// </wox>
17 + /// <wox>
18 + /// <version>2.0</version>
19 + /// <author>George A Smith</author>
20 + /// <svn>http://woxserializer.sourceforge.net/</svn>
21 + /// <note>XML form for vs 2 is more compact and therefor incompatible with vs 1</note>
22 + /// </wox>
23 + /// </header>
16 24
17 25 namespace wox.serial.tests.mains
18 26 {
27 + /// <summary>
28 + /// This class provides an example of a Hashtable of Course objects.
29 + /// The main method uses the Easy class to serialize the Hashtable to XML;
30 + /// and to de-serialize the XML to a Hashtable object back again.
31 + /// </summary>
32 +
19 33 public class TestMapCourses
20 34 {
21 35 public static void PrintMap( Hashtable pMap )
  @@ -40,7 +54,7 @@
40 54
41 55 //print the object
42 56 PrintMap( map );
43 -
57 +
44 58 //object to XML
45 59 String data = easy.Format( map );
46 60 //object from the XML
  @@ -52,4 +66,4 @@
52 66 Assert.AreEqual(data, easy.Format(newMap));
53 67 }
54 68 }
55 - }
69 + }