/external/google-breakpad/src/testing/gtest/test/ |
D | gtest_color_test.py | 75 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 …]
|
D | gtest_catch_exceptions_test.py | 77 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 …]
|
D | gtest_shuffle_test.py | 183 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 …]
|
D | gtest_help_test.py | 113 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)
|
D | gtest_xml_output_unittest.py | 209 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)
|
/external/googletest/googletest/test/ |
D | googletest-color-test.py | 72 self.assert_(not UsesColor('dumb', None, None)) 73 self.assert_(not UsesColor('emacs', None, None)) 74 self.assert_(not UsesColor('xterm-mono', None, None)) 75 self.assert_(not UsesColor('unknown', None, None)) 76 self.assert_(not UsesColor(None, None, None)) 77 self.assert_(UsesColor('linux', None, None)) 78 self.assert_(UsesColor('cygwin', None, None)) 79 self.assert_(UsesColor('xterm', None, None)) 80 self.assert_(UsesColor('xterm-color', None, None)) 81 self.assert_(UsesColor('xterm-256color', None, None)) [all …]
|
D | googletest-catch-exceptions-test.py | 86 self.assert_('SEH exception with code 0x2a thrown ' 89 self.assert_('SEH exception with code 0x2a thrown ' 92 self.assert_('SEH exception with code 0x2a thrown in SetUpTestSuite()' 94 self.assert_('SEH exception with code 0x2a thrown in TearDownTestSuite()' 96 self.assert_('SEH exception with code 0x2a thrown in SetUp()' 98 self.assert_('SEH exception with code 0x2a thrown in TearDown()' 100 self.assert_('SEH exception with code 0x2a thrown in the test body' 120 self.assert_('C++ exception with description ' 124 self.assert_('unexpected' not in EX_BINARY_OUTPUT, 133 self.assert_('C++ exception with description ' [all …]
|
D | googletest-shuffle-test.py | 180 self.assert_(SHUFFLED_ALL_TESTS != ALL_TESTS, SHUFFLED_ALL_TESTS) 181 self.assert_(SHUFFLED_ACTIVE_TESTS != ACTIVE_TESTS, SHUFFLED_ACTIVE_TESTS) 182 self.assert_(SHUFFLED_FILTERED_TESTS != FILTERED_TESTS, 184 self.assert_(SHUFFLED_SHARDED_TESTS != SHARDED_TESTS, 188 self.assert_(GetTestCases(SHUFFLED_ALL_TESTS) != GetTestCases(ALL_TESTS), 190 self.assert_( 193 self.assert_( 196 self.assert_( 216 self.assert_(test in ALL_TESTS, '%s is an invalid test' % (test,)) 218 self.assert_(test in ACTIVE_TESTS, '%s is an invalid test' % (test,)) [all …]
|
D | gtest_help_test.py | 111 self.assert_(HELP_REGEX.search(output), output) 114 self.assert_(STREAM_RESULT_TO_FLAG in output, output) 116 self.assert_(STREAM_RESULT_TO_FLAG not in output, output) 119 self.assert_(DEATH_TEST_STYLE_FLAG in output, output) 121 self.assert_(DEATH_TEST_STYLE_FLAG not in output, output) 134 self.assert_(exit_code != 0) 135 self.assert_(not HELP_REGEX.search(output), output)
|
D | gtest_xml_output_unittest.py | 280 self.assert_(p.exited) 282 self.assert_(os.path.isfile(output_file)) 305 self.assert_(p.exited) 311 self.assert_(not os.path.isfile(xml_path)) 355 self.assert_(False, 358 self.assert_(p.exited)
|
/external/python/cpython2/Lib/wsgiref/ |
D | validate.py | 127 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/ |
D | validate.py | 126 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/ |
D | testlex.py | 100 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 …]
|
D | testyacc.py | 100 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/ |
D | video_YouTubeMseEme.py | 97 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 …]
|
/external/jemalloc_new/test/unit/ |
D | atomic.c | 27 assert_##ta##_eq(val1, val, "Load or init failed"); \ 33 assert_##ta##_eq(val2, val, "Store failed"); \ 38 assert_##ta##_eq(val1, val, "Exchange returned invalid value"); \ 40 assert_##ta##_eq(val2, val, "Exchange store invalid value"); \ 52 assert_##ta##_eq(val1, expected, \ 59 assert_##ta##_eq(val3, val, \ 62 assert_##ta##_eq(val1, val, \ 75 assert_##ta##_eq(val3, val, \ 78 assert_##ta##_eq(val1, val, \ 92 assert_##ta##_eq(val1, val, \ [all …]
|
D | bit_util.c | 9 assert_##suf##_eq(pow2_ceil_##suf(0), 0, "Unexpected result"); \ 12 assert_##suf##_eq(pow2_ceil_##suf(((t)1) << i), ((t)1) \ 17 assert_##suf##_eq(pow2_ceil_##suf((((t)1) << i) - 1), \ 22 assert_##suf##_eq(pow2_ceil_##suf((((t)1) << i) + 1), \ 29 assert_##suf##_eq(pow2_ceil_##suf(x), \
|
/external/autotest/cli/ |
D | topic_common_unittest.py | 339 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/ |
D | GraphValidationScopingTest.java | 24 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()
|
D | MultipleRequestTest.java | 25 import static com.google.common.truth.Truth.assert_; 40 assert_().about(javaSources()) in multipleRequests_constructor() 65 assert_().about(javaSources()) in multipleRequests_field() 92 assert_().about(javaSources()) in multipleRequests_providesMethod()
|
/external/jemalloc/test/unit/ |
D | atomic.c | 35 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/autotest/client/common_lib/ |
D | base_job_unittest.py | 189 self.assert_(self.cjob.tmpdir.startswith('/atest/client')) 190 self.assert_(self.cjob.testdir.startswith('/atest/client')) 191 self.assert_(self.cjob.site_testdir.startswith('/atest/client')) 193 self.assert_(self.sjob.testdir.startswith('/atest/server')) 194 self.assert_(self.sjob.site_testdir.startswith('/atest/server')) 226 self.assert_(os.path.exists(sub2)) 273 self.assert_(os.path.isdir('testing')) 275 self.assert_(os.path.isdir('testing')) 279 self.assert_(not os.path.isdir('testing2')) 286 self.assert_(os.path.isfile('testing3')) [all …]
|
/external/dagger2/core/src/test/java/dagger/internal/ |
D | InstanceFactoryTest.java | 24 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()
|
D | ScopedProviderTest.java | 24 import static com.google.common.truth.Truth.assert_; 61 assert_().that(scopedProvider.get()).isEqualTo(0); in get() 62 assert_().that(scopedProvider.get()).isEqualTo(0); in get() 63 assert_().that(scopedProvider.get()).isEqualTo(0); in get()
|
/external/google-styleguide/cpplint/ |
D | cpplint_unittest.py | 123 error_collector = ErrorCollector(self.assert_) 141 error_collector = ErrorCollector(self.assert_) 158 error_collector = ErrorCollector(self.assert_) 186 error_collector = ErrorCollector(self.assert_) 198 error_collector = ErrorCollector(self.assert_) 238 error_collector = ErrorCollector(self.assert_) 255 error_collector = ErrorCollector(self.assert_) 459 error_collector = ErrorCollector(self.assert_) 468 error_collector = ErrorCollector(self.assert_) 502 error_collector = ErrorCollector(self.assert_) [all …]
|