Home
last modified time | relevance | path

Searched refs:assert_ (Results 1 – 25 of 109) sorted by relevance

12345

/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest_color_test.py75 self.assert_(not UsesColor('dumb', None, None))
76 self.assert_(not UsesColor('emacs', None, None))
77 self.assert_(not UsesColor('xterm-mono', None, None))
78 self.assert_(not UsesColor('unknown', None, None))
79 self.assert_(not UsesColor(None, None, None))
80 self.assert_(UsesColor('linux', None, None))
81 self.assert_(UsesColor('cygwin', None, None))
82 self.assert_(UsesColor('xterm', None, None))
83 self.assert_(UsesColor('xterm-color', None, None))
84 self.assert_(UsesColor('xterm-256color', None, None))
[all …]
Dgtest_catch_exceptions_test.py90 self.assert_('SEH exception with code 0x2a thrown '
93 self.assert_('SEH exception with code 0x2a thrown '
96 self.assert_('SEH exception with code 0x2a thrown in SetUpTestCase()'
98 self.assert_('SEH exception with code 0x2a thrown in TearDownTestCase()'
100 self.assert_('SEH exception with code 0x2a thrown in SetUp()'
102 self.assert_('SEH exception with code 0x2a thrown in TearDown()'
104 self.assert_('SEH exception with code 0x2a thrown in the test body'
124 self.assert_('C++ exception with description '
128 self.assert_('unexpected' not in EX_BINARY_OUTPUT,
137 self.assert_('C++ exception with description '
[all …]
Dgtest_shuffle_test.py182 self.assert_(SHUFFLED_ALL_TESTS != ALL_TESTS, SHUFFLED_ALL_TESTS)
183 self.assert_(SHUFFLED_ACTIVE_TESTS != ACTIVE_TESTS, SHUFFLED_ACTIVE_TESTS)
184 self.assert_(SHUFFLED_FILTERED_TESTS != FILTERED_TESTS,
186 self.assert_(SHUFFLED_SHARDED_TESTS != SHARDED_TESTS,
190 self.assert_(GetTestCases(SHUFFLED_ALL_TESTS) != GetTestCases(ALL_TESTS),
192 self.assert_(
195 self.assert_(
198 self.assert_(
218 self.assert_(test in ALL_TESTS, '%s is an invalid test' % (test,))
220 self.assert_(test in ACTIVE_TESTS, '%s is an invalid test' % (test,))
[all …]
Dgtest_help_test.py113 self.assert_(HELP_REGEX.search(output), output)
116 self.assert_(STREAM_RESULT_TO_FLAG in output, output)
118 self.assert_(STREAM_RESULT_TO_FLAG not in output, output)
121 self.assert_(DEATH_TEST_STYLE_FLAG in output, output)
123 self.assert_(DEATH_TEST_STYLE_FLAG not in output, output)
136 self.assert_(exit_code != 0)
137 self.assert_(not HELP_REGEX.search(output), output)
/external/google-breakpad/src/testing/gtest/test/
Dgtest_color_test.py75 self.assert_(not UsesColor('dumb', None, None))
76 self.assert_(not UsesColor('emacs', None, None))
77 self.assert_(not UsesColor('xterm-mono', None, None))
78 self.assert_(not UsesColor('unknown', None, None))
79 self.assert_(not UsesColor(None, None, None))
80 self.assert_(UsesColor('linux', None, None))
81 self.assert_(UsesColor('cygwin', None, None))
82 self.assert_(UsesColor('xterm', None, None))
83 self.assert_(UsesColor('xterm-color', None, None))
84 self.assert_(UsesColor('xterm-256color', None, None))
[all …]
Dgtest_catch_exceptions_test.py77 self.assert_('SEH exception with code 0x2a thrown '
80 self.assert_('SEH exception with code 0x2a thrown '
83 self.assert_('SEH exception with code 0x2a thrown in SetUpTestCase()'
85 self.assert_('SEH exception with code 0x2a thrown in TearDownTestCase()'
87 self.assert_('SEH exception with code 0x2a thrown in SetUp()'
89 self.assert_('SEH exception with code 0x2a thrown in TearDown()'
91 self.assert_('SEH exception with code 0x2a thrown in the test body'
111 self.assert_('C++ exception with description '
115 self.assert_('unexpected' not in EX_BINARY_OUTPUT,
124 self.assert_('C++ exception with description '
[all …]
Dgtest_shuffle_test.py183 self.assert_(SHUFFLED_ALL_TESTS != ALL_TESTS, SHUFFLED_ALL_TESTS)
184 self.assert_(SHUFFLED_ACTIVE_TESTS != ACTIVE_TESTS, SHUFFLED_ACTIVE_TESTS)
185 self.assert_(SHUFFLED_FILTERED_TESTS != FILTERED_TESTS,
187 self.assert_(SHUFFLED_SHARDED_TESTS != SHARDED_TESTS,
191 self.assert_(GetTestCases(SHUFFLED_ALL_TESTS) != GetTestCases(ALL_TESTS),
193 self.assert_(
196 self.assert_(
199 self.assert_(
219 self.assert_(test in ALL_TESTS, '%s is an invalid test' % (test,))
221 self.assert_(test in ACTIVE_TESTS, '%s is an invalid test' % (test,))
[all …]
Dgtest_help_test.py113 self.assert_(HELP_REGEX.search(output), output)
116 self.assert_(STREAM_RESULT_TO_FLAG in output, output)
118 self.assert_(STREAM_RESULT_TO_FLAG not in output, output)
121 self.assert_(DEATH_TEST_STYLE_FLAG in output, output)
123 self.assert_(DEATH_TEST_STYLE_FLAG not in output, output)
136 self.assert_(exit_code != 0)
137 self.assert_(not HELP_REGEX.search(output), output)
/external/protobuf/gtest/test/
Dgtest_color_test.py75 self.assert_(not UsesColor('dumb', None, None))
76 self.assert_(not UsesColor('emacs', None, None))
77 self.assert_(not UsesColor('xterm-mono', None, None))
78 self.assert_(not UsesColor('unknown', None, None))
79 self.assert_(not UsesColor(None, None, None))
80 self.assert_(UsesColor('linux', None, None))
81 self.assert_(UsesColor('cygwin', None, None))
82 self.assert_(UsesColor('xterm', None, None))
83 self.assert_(UsesColor('xterm-color', None, None))
84 self.assert_(UsesColor('xterm-256color', None, None))
[all …]
Dgtest_shuffle_test.py182 self.assert_(SHUFFLED_ALL_TESTS != ALL_TESTS, SHUFFLED_ALL_TESTS)
183 self.assert_(SHUFFLED_ACTIVE_TESTS != ACTIVE_TESTS, SHUFFLED_ACTIVE_TESTS)
184 self.assert_(SHUFFLED_FILTERED_TESTS != FILTERED_TESTS,
186 self.assert_(SHUFFLED_SHARDED_TESTS != SHARDED_TESTS,
190 self.assert_(GetTestCases(SHUFFLED_ALL_TESTS) != GetTestCases(ALL_TESTS),
192 self.assert_(
195 self.assert_(
198 self.assert_(
218 self.assert_(test in ALL_TESTS, '%s is an invalid test' % (test,))
220 self.assert_(test in ACTIVE_TESTS, '%s is an invalid test' % (test,))
[all …]
Dgtest_help_test.py111 self.assert_(HELP_REGEX.search(output), output)
113 self.assert_(CATCH_EXCEPTIONS_FLAG in output, output)
115 self.assert_(CATCH_EXCEPTIONS_FLAG not in output, output)
118 self.assert_(DEATH_TEST_STYLE_FLAG in output, output)
120 self.assert_(DEATH_TEST_STYLE_FLAG not in output, output)
133 self.assert_(exit_code != 0)
134 self.assert_(not HELP_REGEX.search(output), output)
Dgtest_xml_output_unittest.py155 self.assert_(p.exited)
157 self.assert_(os.path.isfile(output_file))
177 self.assert_(False,
180 self.assert_(p.exited)
186 self.assert_(not os.path.isfile(xml_path))
203 self.assert_(False,
206 self.assert_(p.exited)
/external/googletest/googletest/test/
Dgtest_color_test.py75 self.assert_(not UsesColor('dumb', None, None))
76 self.assert_(not UsesColor('emacs', None, None))
77 self.assert_(not UsesColor('xterm-mono', None, None))
78 self.assert_(not UsesColor('unknown', None, None))
79 self.assert_(not UsesColor(None, None, None))
80 self.assert_(UsesColor('linux', None, None))
81 self.assert_(UsesColor('cygwin', None, None))
82 self.assert_(UsesColor('xterm', None, None))
83 self.assert_(UsesColor('xterm-color', None, None))
84 self.assert_(UsesColor('xterm-256color', None, None))
[all …]
Dgtest_catch_exceptions_test.py90 self.assert_('SEH exception with code 0x2a thrown '
93 self.assert_('SEH exception with code 0x2a thrown '
96 self.assert_('SEH exception with code 0x2a thrown in SetUpTestCase()'
98 self.assert_('SEH exception with code 0x2a thrown in TearDownTestCase()'
100 self.assert_('SEH exception with code 0x2a thrown in SetUp()'
102 self.assert_('SEH exception with code 0x2a thrown in TearDown()'
104 self.assert_('SEH exception with code 0x2a thrown in the test body'
124 self.assert_('C++ exception with description '
128 self.assert_('unexpected' not in EX_BINARY_OUTPUT,
137 self.assert_('C++ exception with description '
[all …]
Dgtest_shuffle_test.py182 self.assert_(SHUFFLED_ALL_TESTS != ALL_TESTS, SHUFFLED_ALL_TESTS)
183 self.assert_(SHUFFLED_ACTIVE_TESTS != ACTIVE_TESTS, SHUFFLED_ACTIVE_TESTS)
184 self.assert_(SHUFFLED_FILTERED_TESTS != FILTERED_TESTS,
186 self.assert_(SHUFFLED_SHARDED_TESTS != SHARDED_TESTS,
190 self.assert_(GetTestCases(SHUFFLED_ALL_TESTS) != GetTestCases(ALL_TESTS),
192 self.assert_(
195 self.assert_(
198 self.assert_(
218 self.assert_(test in ALL_TESTS, '%s is an invalid test' % (test,))
220 self.assert_(test in ACTIVE_TESTS, '%s is an invalid test' % (test,))
[all …]
Dgtest_help_test.py113 self.assert_(HELP_REGEX.search(output), output)
116 self.assert_(STREAM_RESULT_TO_FLAG in output, output)
118 self.assert_(STREAM_RESULT_TO_FLAG not in output, output)
121 self.assert_(DEATH_TEST_STYLE_FLAG in output, output)
123 self.assert_(DEATH_TEST_STYLE_FLAG not in output, output)
136 self.assert_(exit_code != 0)
137 self.assert_(not HELP_REGEX.search(output), output)
/external/v8/testing/gtest/test/
Dgtest_color_test.py75 self.assert_(not UsesColor('dumb', None, None))
76 self.assert_(not UsesColor('emacs', None, None))
77 self.assert_(not UsesColor('xterm-mono', None, None))
78 self.assert_(not UsesColor('unknown', None, None))
79 self.assert_(not UsesColor(None, None, None))
80 self.assert_(UsesColor('linux', None, None))
81 self.assert_(UsesColor('cygwin', None, None))
82 self.assert_(UsesColor('xterm', None, None))
83 self.assert_(UsesColor('xterm-color', None, None))
84 self.assert_(UsesColor('xterm-256color', None, None))
[all …]
Dgtest_catch_exceptions_test.py90 self.assert_('SEH exception with code 0x2a thrown '
93 self.assert_('SEH exception with code 0x2a thrown '
96 self.assert_('SEH exception with code 0x2a thrown in SetUpTestCase()'
98 self.assert_('SEH exception with code 0x2a thrown in TearDownTestCase()'
100 self.assert_('SEH exception with code 0x2a thrown in SetUp()'
102 self.assert_('SEH exception with code 0x2a thrown in TearDown()'
104 self.assert_('SEH exception with code 0x2a thrown in the test body'
124 self.assert_('C++ exception with description '
128 self.assert_('unexpected' not in EX_BINARY_OUTPUT,
137 self.assert_('C++ exception with description '
[all …]
Dgtest_shuffle_test.py182 self.assert_(SHUFFLED_ALL_TESTS != ALL_TESTS, SHUFFLED_ALL_TESTS)
183 self.assert_(SHUFFLED_ACTIVE_TESTS != ACTIVE_TESTS, SHUFFLED_ACTIVE_TESTS)
184 self.assert_(SHUFFLED_FILTERED_TESTS != FILTERED_TESTS,
186 self.assert_(SHUFFLED_SHARDED_TESTS != SHARDED_TESTS,
190 self.assert_(GetTestCases(SHUFFLED_ALL_TESTS) != GetTestCases(ALL_TESTS),
192 self.assert_(
195 self.assert_(
198 self.assert_(
218 self.assert_(test in ALL_TESTS, '%s is an invalid test' % (test,))
220 self.assert_(test in ACTIVE_TESTS, '%s is an invalid test' % (test,))
[all …]
Dgtest_help_test.py113 self.assert_(HELP_REGEX.search(output), output)
116 self.assert_(STREAM_RESULT_TO_FLAG in output, output)
118 self.assert_(STREAM_RESULT_TO_FLAG not in output, output)
121 self.assert_(DEATH_TEST_STYLE_FLAG in output, output)
123 self.assert_(DEATH_TEST_STYLE_FLAG not in output, output)
136 self.assert_(exit_code != 0)
137 self.assert_(not HELP_REGEX.search(output), output)
/external/python/cpython2/Lib/wsgiref/
Dvalidate.py127 def assert_(cond, *args): function
144 assert_(len(args) == 2, "Two arguments required")
145 assert_(not kw, "No keyword arguments allowed")
155 assert_(len(args) == 2 or len(args) == 3, (
157 assert_(not kw, "No keyword arguments allowed")
177 assert_(iterator is not None and iterator != False,
192 assert_(len(args) <= 1)
194 assert_(type(v) is type(""))
199 assert_(type(v) is type(""))
203 assert_(len(args) <= 1)
[all …]
/external/python/cpython3/Lib/wsgiref/
Dvalidate.py126 def assert_(cond, *args): function
149 assert_(len(args) == 2, "Two arguments required")
150 assert_(not kw, "No keyword arguments allowed")
160 assert_(len(args) == 2 or len(args) == 3, (
162 assert_(not kw, "No keyword arguments allowed")
182 assert_(iterator is not None and iterator != False,
197 assert_(len(args) == 1)
199 assert_(type(v) is bytes)
203 assert_(len(args) <= 1)
205 assert_(type(v) is bytes)
[all …]
/external/ply/ply/test/
Dtestlex.py100 self.assert_(check_expected(result,
105 self.assert_(check_expected(result,
111 self.assert_(check_expected(result,
117 self.assert_(check_expected(result,
123 self.assert_(check_expected(result,
130 self.assert_(check_expected(result,
136 self.assert_(check_expected(result,
143 self.assert_(check_expected(result,
149 self.assert_(check_expected(result,
155 self.assert_(check_expected(result,
[all …]
Dtestyacc.py100 self.assert_(check_expected(result,
107 self.assert_(check_expected(result,
117 self.assert_(check_expected(result,
123 self.assert_(check_expected(result,
130 self.assert_(check_expected(result,
139 self.assert_(check_expected(result,
151 self.assert_(check_expected(result,
157 self.assert_(check_expected(result,
169 self.assert_(check_expected(result,
177 self.assert_(check_expected(result,
[all …]
/external/autotest/client/site_tests/video_YouTubeMseEme/
Dvideo_YouTubeMseEme.py97 self.assert_(
116 self.assert_(
126 self.assert_(
137 self.assert_(
147 self.assert_(
157 self.assert_(
167 self.assert_(
172 self.assert_(
182 self.assert_(
187 self.assert_(
[all …]

12345