Subversion Repository Public Repository

WOX2

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

Diff revisions: vs.
  @@ -2,17 +2,32 @@
2 2 using NUnit.Framework;
3 3 using wox.serial.tests.objects;
4 4
5 + /// <header>
6 + /// <wox>
7 + /// <version>1.0</version>
8 + /// <author>Carlos R. Jaimez Gonzalez</author>
9 + /// <author>Simon M. Lucas</author>
10 + /// <site>http://woxserializer.sourceforge.net/</site>
11 + /// </wox>
12 + /// <wox>
13 + /// <version>1.5</version>
14 + /// <author>Steven M Lewis</author>
15 + /// </wox>
16 + /// <wox>
17 + /// <version>2.0</version>
18 + /// <author>George A Smith</author>
19 + /// <svn>http://woxserializer.sourceforge.net/</svn>
20 + /// <note>XML form for vs 2 is more compact and therefor incompatible with vs 1</note>
21 + /// </wox>
22 + /// </header>
23 +
5 24 namespace wox.serial.tests.mains
6 25 {
7 - /**
8 - * This method shows how easy is to serialize and de-serialize C# objects
9 - * to/from XML. The XML representation of the objects is a standard WOX represntation.
10 - * For more information about the XML representation please visit:
11 - * http://woxserializer.sourceforge.net/
12 - */
13 -
14 26 public class TestCourse
15 27 {
28 + /// <summary>
29 + /// This method shows how easy is to serialize and de-serialize C# objects to/from XML.
30 + /// </summary>
16 31 public static void Main( string[] pArgs )
17 32 // public static void WantTaBeMain(String[] pArgs)
18 33 {
  @@ -27,11 +42,11 @@
27 42 String data = easy.Format(course1);
28 43 //object from the XML
29 44 var newCourse = easy.Parse(data);
30 -
45 +
31 46 //print the new object - it is the same as before
32 47 Console.Out.WriteLine( newCourse );
33 48
34 49 Assert.AreEqual( data, easy.Format(newCourse) );
35 50 }
36 51 }
37 - }
52 + }