Ejemplo n.º 1
0
 public void CommanLineFindsAndSetsValidateOptionIgnoringCase()
 {
     string[] args = { "-random", "-vAlIdate" };
     var commandLine = new CommandLine();
     commandLine.Parse(args);
     Assert.IsTrue(commandLine.Validate);
 }
Ejemplo n.º 2
0
 public void CommandLineFindsAndSetsCreateOutputFileOptionIgnoringCase()
 {
     string[] args = { "-random", "-CrEatEOuTputFile" };
     var commandLine = new CommandLine();
     commandLine.Parse(args);
     Assert.IsTrue(commandLine.CreateOutputFile);
 }
Ejemplo n.º 3
0
 public void CommandLineFindsAndSetsDownloadOptionIgnoringCase()
 {
     string[] args = { "-random", "-DoWnLoad" };
     var commandLine = new CommandLine();
     commandLine.Parse(args);
     Assert.IsTrue(commandLine.Download);
 }
Ejemplo n.º 4
0
 public Controller(CommandLine commandLine, Settings settings)
 {
     this.commandLine = commandLine;
     this.settings = settings;
 }