Lines Matching defs:CommandLineTest
30 class CommandLineTest : public ::testing::Test {
42 CommandLineTest()
170 TEST_F(CommandLineTest, BoolOptionDefaultTrueSingleFlagNotPresent) {
181 TEST_F(CommandLineTest, BoolOptionDefaultTrueSingleFlagPresent) {
192 TEST_F(CommandLineTest, CC1FlagPresentWhenDoingRoundTrip) {
202 TEST_F(CommandLineTest, CC1FlagPresentWhenNotDoingRoundTrip) {
212 TEST_F(CommandLineTest, BoolOptionDefaultTrueSingleFlagUnknownPresent) {
224 TEST_F(CommandLineTest, BoolOptionDefaultTruePresentNone) {
235 TEST_F(CommandLineTest, BoolOptionDefaultTruePresentNegChange) {
246 TEST_F(CommandLineTest, BoolOptionDefaultTruePresentPosReset) {
258 TEST_F(CommandLineTest, BoolOptionDefaultFalsePresentNone) {
269 TEST_F(CommandLineTest, BoolOptionDefaultFalsePresentNegChange) {
280 TEST_F(CommandLineTest, BoolOptionDefaultFalsePresentPosReset) {
292 TEST_F(CommandLineTest, BoolOptionDefaultFalsePresentNoneX) {
303 TEST_F(CommandLineTest, BoolOptionDefaultFalsePresentPosChange) {
314 TEST_F(CommandLineTest, BoolOptionDefaultFalsePresentNegReset) {
326 TEST_F(CommandLineTest, BoolOptionDefaultArbitraryTwoFlagsPresentNone) {
338 TEST_F(CommandLineTest, BoolOptionDefaultArbitraryTwoFlagsPresentChange) {
349 TEST_F(CommandLineTest, BoolOptionDefaultArbitraryTwoFlagsPresentReset) {
367 TEST_F(CommandLineTest, BoolOptionCC1ViaLetPresentNone) {
379 TEST_F(CommandLineTest, BoolOptionCC1ViaLetPresentPos) {
391 TEST_F(CommandLineTest, BoolOptionCC1ViaLetPresentNeg) {
403 TEST_F(CommandLineTest, CanGenerateCC1CommandLineFlag) {
413 TEST_F(CommandLineTest, CanGenerateCC1CommandLineSeparate) {
424 TEST_F(CommandLineTest, CanGenerateCC1CommandLineSeparateRequiredPresent) {
437 TEST_F(CommandLineTest, CanGenerateCC1CommandLineSeparateRequiredAbsent) {
450 TEST_F(CommandLineTest, SeparateEnumNonDefault) {
464 TEST_F(CommandLineTest, SeparateEnumDefault) {
478 TEST_F(CommandLineTest, JoinedEnumNonDefault) {
493 TEST_F(CommandLineTest, JoinedEnumDefault) {
508 TEST_F(CommandLineTest, StringVectorEmpty) {
519 TEST_F(CommandLineTest, StringVectorSingle) {
532 TEST_F(CommandLineTest, StringVectorMultiple) {
548 TEST_F(CommandLineTest, StringVectorCommaJoinedNone) {
560 TEST_F(CommandLineTest, StringVectorCommaJoinedSingle) {
573 TEST_F(CommandLineTest, StringVectorCommaJoinedMultiple) {
589 TEST_F(CommandLineTest, ConditionalParsingIfFalseFlagNotPresent) {
605 TEST_F(CommandLineTest, ConditionalParsingIfFalseFlagPresent) {
622 TEST_F(CommandLineTest, ConditionalParsingIfNonsenseSyclStdArg) {
639 TEST_F(CommandLineTest, ConditionalParsingIfOddSyclStdArg1) {
656 TEST_F(CommandLineTest, ConditionalParsingIfOddSyclStdArg2) {
673 TEST_F(CommandLineTest, ConditionalParsingIfOddSyclStdArg3) {
690 TEST_F(CommandLineTest, ConditionalParsingIfTrueFlagNotPresentHost) {
705 TEST_F(CommandLineTest, ConditionalParsingIfTrueFlagNotPresentDevice) {
720 TEST_F(CommandLineTest, ConditionalParsingIfTrueFlagPresent) {
736 TEST_F(CommandLineTest, WideIntegerHighValue) {
754 TEST_F(CommandLineTest, ImpliedBoolOptionsNoFlagPresent) {
774 TEST_F(CommandLineTest, ImpliedBoolOptionsRootFlagPresent) {
797 TEST_F(CommandLineTest, ImpliedBoolOptionsAllFlagsPresent) {
818 TEST_F(CommandLineTest, ImpliedBoolOptionsImpliedFlagsPresent) {
839 TEST_F(CommandLineTest, PresentAndNotImpliedGenerated) {
853 TEST_F(CommandLineTest, DiagnosticOptionPresent) {
868 TEST_F(CommandLineTest, DigraphsImplied) {
879 TEST_F(CommandLineTest, DigraphsDisabled) {
890 TEST_F(CommandLineTest, DigraphsNotImplied) {
901 TEST_F(CommandLineTest, DigraphsEnabled) {
936 TEST_F(CommandLineTest, TestModuleFileExtension) {
961 TEST_F(CommandLineTest, RoundTrip) {
1042 TEST_F(CommandLineTest, PluginArgsRoundTripDeterminism) {
1053 TEST_F(CommandLineTest, WarningSuppressionMappings) {