Home
last modified time | relevance | path

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

1234

/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/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/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/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/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/autotest/client/site_tests/video_YouTubeMseEme/
Dvideo_YouTubeMseEme.py96 self.assert_(
115 self.assert_(
125 self.assert_(
136 self.assert_(
146 self.assert_(
156 self.assert_(
166 self.assert_(
171 self.assert_(
181 self.assert_(
186 self.assert_(
[all …]
/external/autotest/cli/
Dtopic_common_unittest.py339 self.assert_(err.find('This is bad') >= 0)
346 self.assert_(err.find('This is sort of ok') >= 0)
353 self.assert_('This is partly bad' in err.keys())
362 self.assert_('This is partly bad' in err)
363 self.assert_('This is really bad' not in err)
365 self.assert_('This is partly bad' not in err)
366 self.assert_('This is really bad' in err)
375 self.assert_('This is partly bad' in errs)
376 self.assert_('This is really bad' in errs)
377 self.assert_(set(['item0']) in errs.values())
[all …]
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DGraphValidationScopingTest.java24 import static com.google.common.truth.Truth.assert_;
67 assert_().about(javaSources()).that(asList(componentFile, typeFile, moduleFile)) in componentWithoutScopeIncludesScopedBindings_Fail()
118 assert_().about(javaSources()).that(asList(componentFile, scopeFile, typeFile, moduleFile)) in componentWithScopeIncludesIncompatiblyScopedBindings_Fail()
188 assert_().about(javaSources()) in componentWithScopeMayDependOnOnlyOneScopedComponent()
229 assert_().about(javaSources()) in componentWithoutScopeCannotDependOnScopedComponent()
276 assert_().about(javaSources()) in componentWithSingletonScopeMayNotDependOnOtherScope()
342 assert_().about(javaSources()) in componentScopeAncestryMustNotCycle()
/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/dagger2/core/src/test/java/dagger/internal/
DInstanceFactoryTest.java24 import static com.google.common.truth.Truth.assert_;
33 assert_().that(factory.get()).isEqualTo(instance); in instanceFactory()
34 assert_().that(factory.get()).isEqualTo(instance); in instanceFactory()
35 assert_().that(factory.get()).isEqualTo(instance); in instanceFactory()

1234