public void ValidateSuccessful()
 {
     GuiOptionsArxNet options = new GuiOptionsArxNet(new string[] { "nunit.tests.dll" });
     Assert.IsTrue(options.Validate(), "command line should be valid");
 }
 public void InvalidCommandLineParms()
 {
     GuiOptionsArxNet parser = new GuiOptionsArxNet(new String[]{"-garbage:TestFixture", "-assembly:Tests.dll"});
     Assert.IsFalse(parser.Validate());
 }
 public void NoNameValuePairs()
 {
     GuiOptionsArxNet parser = new GuiOptionsArxNet(new String[]{"TestFixture", "Tests.dll"});
     Assert.IsFalse(parser.Validate());
 }
 public void InvalidArgs()
 {
     GuiOptionsArxNet options = new GuiOptionsArxNet(new string[] { "-asembly:nunit.tests.dll" });
     Assert.IsFalse(options.Validate());
 }