Lines Matching refs:flag
32 """Tests the --help flag of Google C++ Testing Framework.
81 def RunWithFlag(flag):
82 """Runs gtest_help_test_ with the given flag.
87 flag: the command-line flag to pass to gtest_help_test_, or None.
90 if flag is None:
93 command = [PROGRAM_PATH, flag]
99 """Tests the --help flag and its equivalent forms."""
101 def TestHelpFlag(self, flag):
102 """Verifies correct behavior when help flag is specified.
105 skipped when the given flag is specified.
108 flag: A flag to pass to the binary or None.
111 exit_code, output = RunWithFlag(flag)
125 def TestNonHelpFlag(self, flag):
126 """Verifies correct behavior when no help flag is specified.
128 Verifies that when no help flag is specified, the tests are run
132 flag: A flag to pass to the binary or None.
135 exit_code, output = RunWithFlag(flag)
159 """Verifies that when no help flag is specified, the tests are run
166 a flag starting with Google Test prefix and 'internal_' is supplied."""