Lines Matching defs:CommandLineTest

1 //===- llvm/unittest/Support/CommandLineTest.cpp - CommandLine tests ------===//
93 TEST(CommandLineTest, ModifyExisitingOption) {
140 TEST(CommandLineTest, UseOptionCategory) {
151 TEST(CommandLineTest, UseMultipleCategories) {
214 TEST(CommandLineTest, TokenizeGNUCommandLine) {
224 TEST(CommandLineTest, TokenizeWindowsCommandLine1) {
232 TEST(CommandLineTest, TokenizeWindowsCommandLine2) {
238 TEST(CommandLineTest, TokenizeWindowsCommandLineQuotedLastArgument) {
259 TEST(CommandLineTest, TokenizeWindowsCommandLineExeName) {
277 TEST(CommandLineTest, TokenizeAndMarkEOLs) {
298 TEST(CommandLineTest, TokenizeConfigFile1) {
304 TEST(CommandLineTest, TokenizeConfigFile2) {
310 TEST(CommandLineTest, TokenizeConfigFile3) {
316 TEST(CommandLineTest, TokenizeConfigFile4) {
322 TEST(CommandLineTest, TokenizeConfigFile5) {
328 TEST(CommandLineTest, TokenizeConfigFile6) {
334 TEST(CommandLineTest, TokenizeConfigFile7) {
340 TEST(CommandLineTest, TokenizeConfigFile8) {
348 TEST(CommandLineTest, TokenizeConfigFile9) {
356 TEST(CommandLineTest, TokenizeConfigFile10) {
362 TEST(CommandLineTest, TokenizeConfigFile11) {
368 TEST(CommandLineTest, AliasesWithArguments) {
403 TEST(CommandLineTest, AliasRequired) {
410 TEST(CommandLineTest, HideUnrelatedOptions) {
430 TEST(CommandLineTest, HideUnrelatedOptionsMulti) {
454 TEST(CommandLineTest, SetMultiValues) {
462 TEST(CommandLineTest, SetValueInSubcategories) {
509 TEST(CommandLineTest, LookupFailsInWrongSubCommand) {
526 TEST(CommandLineTest, TopLevelOptInSubcommand) {
579 TEST(CommandLineTest, AddToAllSubCommands) {
621 TEST(CommandLineTest, ReparseCommandLineOptions) {
643 TEST(CommandLineTest, RemoveFromRegularSubCommand) {
667 TEST(CommandLineTest, RemoveFromTopLevelSubCommand) {
691 TEST(CommandLineTest, RemoveFromAllSubCommands) {
741 TEST(CommandLineTest, GetRegisteredSubcommands) {
774 TEST(CommandLineTest, DefaultOptions) {
836 TEST(CommandLineTest, ArgumentLimit) {
843 TEST(CommandLineTest, ArgumentLimitWindows) {
856 TEST(CommandLineTest, ResponseFileWindows) {
881 TEST(CommandLineTest, ResponseFiles) {
936 TEST(CommandLineTest, RecursiveResponseFiles) {
1006 TEST(CommandLineTest, ResponseFilesAtArguments) {
1046 TEST(CommandLineTest, ResponseFileRelativePath) {
1073 TEST(CommandLineTest, ResponseFileEOLs) {
1101 TEST(CommandLineTest, BadResponseFile) {
1125 TEST(CommandLineTest, SetDefaultValue) {
1184 TEST(CommandLineTest, ReadConfigFile) {
1257 TEST(CommandLineTest, PositionalEatArgsError) {
1296 TEST(CommandLineTest, GetCommandLineArguments) {
1585 TEST(CommandLineTest, PrefixOptions) {
1659 TEST(CommandLineTest, GroupingWithValue) {
1724 TEST(CommandLineTest, GroupingAndPrefix) {
1852 TEST(CommandLineTest, LongOptions) {
1925 TEST(CommandLineTest, OptionErrorMessage) {
1949 TEST(CommandLineTest, OptionErrorMessageSuggest) {
1972 TEST(CommandLineTest, OptionErrorMessageSuggestNoHidden) {
1994 TEST(CommandLineTest, Callback) {
2063 TEST(CommandLineTest, ConsumeAfterOnePositional) {
2083 TEST(CommandLineTest, ConsumeAfterTwoPositionals) {
2106 TEST(CommandLineTest, ResetAllOptionOccurrences) {
2147 TEST(CommandLineTest, DefaultValue) {
2203 TEST(CommandLineTest, HelpWithoutSubcommands) {
2217 TEST(CommandLineTest, HelpWithSubcommands) {
2239 TEST(CommandLineTest, UnknownCommands) {
2269 TEST(CommandLineTest, SubCommandGroups) {
2296 TEST(CommandLineTest, HelpWithEmptyCategory) {