Beispiel #1
0
 static void Main(string[] args)
 {
     if (args.Length == 0 || args.Length > 2)
     {
         Console.Out.WriteLine("Usage: MpxjTest <mpxj test data directory> [<private test data directory>]");
     }
     else
     {
         java.lang.System.setProperty("mpxj.junit.datadir", args[0]);
         if (args.Length == 2)
         {
             java.lang.System.setProperty("mpxj.junit.privatedir", args[1]);
         }
         Test suite = new MPXJTest();
         TestRunner.runAndWait(suite);
     }
 }
Beispiel #2
0
 static void Main(string[] args)
 {
     if (args.Length == 0 || args.Length > 2)
     {
         Console.Out.WriteLine("Usage: MpxjTest <mpxj test data directory> [<private test data directory>]");
     }
     else
     {
         java.lang.System.setProperty("mpxj.junit.datadir", args[0]);
         if (args.Length == 2)
         {
             java.lang.System.setProperty("mpxj.junit.privatedir", args[1]);
         }
         Test suite = new MPXJTest();
         TestRunner.runAndWait(suite);
     }
 }