Exemplo n.º 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();
     }
 }
Exemplo n.º 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();
     }
 }