Home
last modified time | relevance | path

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

12

/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)
Dgtest_xml_output_unittest.py209 self.assert_(p.exited)
211 self.assert_(os.path.isfile(output_file))
234 self.assert_(p.exited)
240 self.assert_(not os.path.isfile(xml_path))
254 self.assert_(False,
257 self.assert_(p.exited)
Dgtest_filter_unittest.py234 self.assert_(elem in rhs, '%s in %s' % (elem, rhs))
237 self.assert_(elem in lhs, '%s in %s' % (elem, lhs))
578 self.assert_(not os.path.exists(shard_status_file))
584 self.assert_(os.path.exists(shard_status_file))
592 self.assert_(not os.path.exists(shard_status_file))
602 self.assert_('[==========]' not in output,
607 self.assert_(os.path.exists(shard_status_file))
Dgtest_xml_test_utils.py87 self.assert_(
101 self.assert_(child_id in actual_children,
129 self.assert_(child.tagName in self.identifying_attribute,
132 self.assert_(childID not in children)
/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)
Dgtest_filter_unittest.py234 self.assert_(elem in rhs, '%s in %s' % (elem, rhs))
237 self.assert_(elem in lhs, '%s in %s' % (elem, lhs))
578 self.assert_(not os.path.exists(shard_status_file))
584 self.assert_(os.path.exists(shard_status_file))
592 self.assert_(not os.path.exists(shard_status_file))
602 self.assert_('[==========]' not in output,
607 self.assert_(os.path.exists(shard_status_file))
Dgtest_xml_test_utils.py86 self.assert_(
100 self.assert_(child_id in actual_children,
128 self.assert_(child.tagName in self.identifying_attribute,
131 self.assert_(childID not in children)
/external/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)
Dgtest_xml_output_unittest.py219 self.assert_(p.exited)
221 self.assert_(os.path.isfile(output_file))
244 self.assert_(p.exited)
250 self.assert_(not os.path.isfile(xml_path))
275 self.assert_(False,
278 self.assert_(p.exited)
Dgtest_filter_unittest.py234 self.assert_(elem in rhs, '%s in %s' % (elem, rhs))
237 self.assert_(elem in lhs, '%s in %s' % (elem, lhs))
578 self.assert_(not os.path.exists(shard_status_file))
584 self.assert_(os.path.exists(shard_status_file))
592 self.assert_(not os.path.exists(shard_status_file))
602 self.assert_('[==========]' not in output,
607 self.assert_(os.path.exists(shard_status_file))
Dgtest_xml_test_utils.py89 self.assert_(
105 self.assert_(child_id in actual_children,
133 self.assert_(child.tagName in self.identifying_attribute,
136 self.assert_(childID not in children)
/external/jemalloc/test/unit/
Datomic.c35 assert_##ta##_eq(atomic_read_##p(&accum), \
39 assert_##ta##_eq(atomic_add_##p(&accum, tests[i].x), \
43 assert_##ta##_eq(atomic_read_##p(&accum), accum, \
47 assert_##ta##_eq(atomic_sub_##p(&accum, tests[i].x), \
51 assert_##ta##_eq(atomic_read_##p(&accum), accum, \
58 assert_##ta##_eq(accum, err ? tests[i].accum0 : \
63 assert_##ta##_eq(accum, tests[i].s, \
/external/selinux/policycoreutils/audit2allow/
Dtest_audit2allow.py7 self.assert_('Permission denied' in err,
10 self.assert_('not found' in err,
14 self.assert_(status != 0,
18 self.assert_(status == 0,
/external/selinux/policycoreutils/sandbox/
Dtest_sandbox.py7 self.assert_('Permission denied' in err,
10 self.assert_('not found' in err,
14 self.assert_(status != 0,
18 self.assert_(status == 0,
26 self.assert_('root' in out)
/external/selinux/policycoreutils/sepolicy/
Dtest_sepolicy.py7 self.assert_('Permission denied' in err,
10 self.assert_('not found' in err,
14 self.assert_(status != 0,
18 self.assert_(status == 0,
/external/libvpx/libvpx/vpx_ports/
Dasm_offsets.h18 static void assert_##name(void) UNUSED;\
19 static void assert_##name(void) {switch(0){case 0:case !!(cond):;}}

12