Beispiel #1
0
 public void ParseArguments(string[] args)
 {
     MbUnit.Core.Monitoring.ConsoleMonitor consoleMonitor = new MbUnit.Core.Monitoring.ConsoleMonitor();
     consoleMonitor.Start();
     try
     {
         this.arguments = new MbUnitFormArguments();
         if (args.Length == 0)
         {
             this.noArgs = true;
         }
         CommandLineUtility.ParseCommandLineArguments(args, arguments);
     }
     catch (Exception)
     {
         consoleMonitor.Stop();
         MessageBox.Show(consoleMonitor.Out + consoleMonitor.Error);
         return;
     }
     finally
     {
         consoleMonitor.Stop();
     }
 }
Beispiel #2
0
 public void ParseArguments(string[] args)
 {
     MbUnit.Core.Monitoring.ConsoleMonitor consoleMonitor = new MbUnit.Core.Monitoring.ConsoleMonitor();
     consoleMonitor.Start();
     try
     {
         this.arguments = new MbUnitFormArguments();
         if (args.Length == 0)
         {
             this.noArgs = true;
         }
         CommandLineUtility.ParseCommandLineArguments(args, arguments);
     }
     catch (Exception)
     {
         consoleMonitor.Stop();
         MessageBox.Show(consoleMonitor.Out + consoleMonitor.Error);
         return;
     }
     finally
     {
         consoleMonitor.Stop();
     }
 }