public CommandLineArgumentsParserTests(ICommandLineArgumentsParser parser, IEnumerable <ArgumentValidator> validators) { this.parser = parser; this.validators = validators; this.typeParsers = new List <TypeParser>() { new BoolTypeParser(), new ByteTypeParser(), new CharTypeParser(), new DateTimeTypeParser(), new DecimalTypeParser(), new DoubleTypeParser(), new FloatTypeParser(), new IntTypeParser(), new LongTypeParser(), new ShortTypeParser(), new StringTypeParser(), }; }
public TestCommandLineArgumentsConfiguration(ICommandLineArgumentsParser parser) { this.Parser = parser; this.HelpWriter = new MockHelpWriter(); }