Exemple #1
0
        public void Parse_options_with_bad_defaults()
        {
            var options = new SimpleOptionsWithBadDefaults();

            Assert.Throws <ParserException>(
                () => new CommandLine.Parser().ParseArguments(new string[] {}, options));
        }
Exemple #2
0
        public void ParseOptionsWithBadDefaults()
        {
            var options = new SimpleOptionsWithBadDefaults();

            base.Parser.ParseArguments(new string[] {}, options);
        }