/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ReschedulerTest.java | 45 assertFalse(runner.ran); in runs() 47 assertFalse(runner.ran); in runs() 51 assertTrue(runner.ran); in runs() 56 assertFalse(runner.ran); in cancels() 58 assertFalse(runner.ran); in cancels() 63 assertFalse(runner.ran); in cancels() 69 assertFalse(runner.ran); in cancelPermanently() 71 assertFalse(runner.ran); in cancelPermanently() 76 assertFalse(runner.ran); in cancelPermanently() 82 assertFalse(runner.ran); in reschedules() [all …]
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | TearDownStackTest.java | 36 assertEquals(false, tearDown.ran); in testSingleTearDown() 40 assertEquals("tearDown should have run", true, tearDown.ran); in testSingleTearDown() 54 "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran); in testMultipleTearDownsHappenInOrder() 61 assertEquals(false, tearDownOne.ran); in testMultipleTearDownsHappenInOrder() 62 assertEquals(false, tearDownTwo.ran); in testMultipleTearDownsHappenInOrder() 66 assertEquals("tearDownOne should have run", true, tearDownOne.ran); in testMultipleTearDownsHappenInOrder() 67 assertEquals("tearDownTwo should have run", true, tearDownTwo.ran); in testMultipleTearDownsHappenInOrder() 79 assertEquals(false, tearDownOne.ran); in testThrowingTearDown() 80 assertEquals(false, tearDownTwo.ran); in testThrowingTearDown() 92 assertEquals(true, tearDownOne.ran); in testThrowingTearDown() [all …]
|
/external/guava/android/guava-testlib/test/com/google/common/testing/ |
D | TearDownStackTest.java | 36 assertEquals(false, tearDown.ran); in testSingleTearDown() 40 assertEquals("tearDown should have run", true, tearDown.ran); in testSingleTearDown() 54 "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran); in testMultipleTearDownsHappenInOrder() 61 assertEquals(false, tearDownOne.ran); in testMultipleTearDownsHappenInOrder() 62 assertEquals(false, tearDownTwo.ran); in testMultipleTearDownsHappenInOrder() 66 assertEquals("tearDownOne should have run", true, tearDownOne.ran); in testMultipleTearDownsHappenInOrder() 67 assertEquals("tearDownTwo should have run", true, tearDownTwo.ran); in testMultipleTearDownsHappenInOrder() 79 assertEquals(false, tearDownOne.ran); in testThrowingTearDown() 80 assertEquals(false, tearDownTwo.ran); in testThrowingTearDown() 92 assertEquals(true, tearDownOne.ran); in testThrowingTearDown() [all …]
|
/external/skia/tests/ |
D | PathOpsTightBoundsTest.cpp | 24 SkRandom ran; in testTightBoundsLines() local 27 int contourCount = ran.nextRangeU(1, 10); in testTightBoundsLines() 29 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsLines() 30 path.moveTo(ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)); in testTightBoundsLines() 32 path.lineTo(ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)); in testTightBoundsLines() 34 if (ran.nextBool()) { in testTightBoundsLines() 59 SkRandom ran; in testTightBoundsQuads() local 72 int contourCount = ran.nextRangeU(1, 10); in testTightBoundsQuads() 74 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsQuads() 75 path.moveTo(ran.nextRangeF(1, pathMax), ran.nextRangeF(pathMin, pathMax)); in testTightBoundsQuads() [all …]
|
D | PathOpsCubicLineIntersectionIdeas.cpp | 144 SkRandom ran; in DEF_TEST() local 151 SkDPoint origin = {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}; in DEF_TEST() 153 {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}, in DEF_TEST() 154 {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}, in DEF_TEST() 155 {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)} in DEF_TEST() 158 double t = ran.nextRangeF(0, 1); in DEF_TEST()
|
D | PathOpsAngleIdeas.cpp | 593 SkRandom ran; in DEF_TEST() local 596 SkDPoint origin = {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}; in DEF_TEST() 597 QuadPts quad1 = {{origin, {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}, in DEF_TEST() 598 {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}}}; in DEF_TEST() 602 QuadPts quad2 = {{origin, {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}, in DEF_TEST() 603 {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}}}; in DEF_TEST() 624 SkRandom ran; in DEF_TEST() local 629 SkDPoint origin = {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}; in DEF_TEST() 630 QuadPts quad1 = {{origin, {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}, in DEF_TEST() 631 {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}}}; in DEF_TEST() [all …]
|
D | PathOpsAngleTest.cpp | 52 SkRandom ran; in DEF_TEST() local 55 SkDLine line = {{{0, 0}, {ran.nextRangeF(0.0001f, 1000), ran.nextRangeF(0.0001f, 1000)}}}; in DEF_TEST() 57 float t = ran.nextRangeF(0.0001f, 1); in DEF_TEST() 86 SkRandom ran; in DEF_TEST() local 90 SkDLine line = {{{0, 0}, {ran.nextRangeF(0.0001f, 1000), ran.nextRangeF(0.0001f, 1000)}}}; in DEF_TEST() 91 float t = ran.nextRangeF(0.0001f, 1); in DEF_TEST() 93 float t2 = ran.nextRangeF(0.0001f, 1); in DEF_TEST() 95 float t3 = ran.nextRangeF(0.0001f, 1); in DEF_TEST()
|
/external/webrtc/test/ |
D | run_loop_unittest.cc | 36 bool ran = false; in TEST() local 38 [&ran, &loop]() { in TEST() 39 ran = true; in TEST() 44 EXPECT_FALSE(ran); in TEST() 46 EXPECT_TRUE(ran); in TEST() 51 bool ran = false; in TEST() local 52 loop.PostTask([&ran, &loop]() { in TEST() 53 ran = true; in TEST() 57 EXPECT_TRUE(ran); in TEST()
|
/external/icu/icu4c/source/test/intltest/ |
D | winnmtst.cpp | 67 int64_t ran = 0; in randomInt64() local 76 for (i = 0; i < sizeof(ran); i += 1) { in randomInt64() 77 ((char*)&ran)[i] = (char)((rand() & 0x0FF0) >> 4); in randomInt64() 80 return ran; in randomInt64() 88 double ran = 0; in randomDouble() local 98 for (i = 0; i < sizeof(ran); i += 1) { in randomDouble() 99 ((char*)&ran)[i] = (char)((rand() & 0x0FF0) >> 4); in randomDouble() 101 } while (_isnan(ran)); in randomDouble() 110 ran = (double)numerator / (double)denomenator; in randomDouble() 113 return ran; in randomDouble() [all …]
|
/external/cronet/third_party/icu/source/test/intltest/ |
D | winnmtst.cpp | 67 int64_t ran = 0; in randomInt64() local 76 for (i = 0; i < sizeof(ran); i += 1) { in randomInt64() 77 ((char*)&ran)[i] = (char)((rand() & 0x0FF0) >> 4); in randomInt64() 80 return ran; in randomInt64() 88 double ran = 0; in randomDouble() local 98 for (i = 0; i < sizeof(ran); i += 1) { in randomDouble() 99 ((char*)&ran)[i] = (char)((rand() & 0x0FF0) >> 4); in randomDouble() 101 } while (_isnan(ran)); in randomDouble() 110 ran = (double)numerator / (double)denomenator; in randomDouble() 113 return ran; in randomDouble() [all …]
|
/external/libcxx/test/std/thread/futures/futures.async/ |
D | async_race.pass.cpp | 38 bool ran = false; variable 41 ran = true; in f_deferred() 57 ran = false; in test_each() 59 assert(ran == false); in test_each() 61 assert(ran == true); in test_each()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/futures/futures.async/ |
D | async_race.pass.cpp | 39 bool ran = false; variable 42 ran = true; in f_deferred() 58 ran = false; in test_each() 60 assert(ran == false); in test_each() 62 assert(ran == true); in test_each()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | LoadBalancerTest.java | 126 boolean ran; in helper_createSubchannel_delegates() field in LoadBalancerTest.OverrideCreateSubchannel 133 ran = true; in helper_createSubchannel_delegates() 140 assertThat(helper.ran).isTrue(); in helper_createSubchannel_delegates() 151 boolean ran; in helper_updateSubchannelAddresses_delegates() field in LoadBalancerTest.OverrideUpdateSubchannel 159 ran = true; in helper_updateSubchannelAddresses_delegates() 165 assertThat(helper.ran).isTrue(); in helper_updateSubchannelAddresses_delegates() 176 boolean ran; in subchannel_getAddresses_delegates() field in LoadBalancerTest.OverrideGetAllAddresses 179 ran = true; in subchannel_getAddresses_delegates() 186 assertThat(subchannel.ran).isTrue(); in subchannel_getAddresses_delegates() 192 boolean ran; in subchannel_getAddresses_throwsOnTwoAddrs() [all …]
|
/external/rust/crates/futures/tests/ |
D | async_await_macros.rs | 47 let mut ran = false; in select() localVariable 52 ran = true; in select() 57 assert!(ran); in select() 65 let mut ran = false; in select_biased() localVariable 70 ran = true; in select_biased() 75 assert!(ran); in select_biased() 84 let mut ran = false; in select_streams() localVariable 109 ran = true; in select_streams() 118 assert!(ran); in select_streams() 127 let mut ran = false; in select_can_move_uncompleted_futures() localVariable [all …]
|
/external/openscreen/cast/sender/ |
D | cast_platform_client_unittest.cc | 65 bool ran = false; in TEST_F() local 68 [&ran](const std::string& app_id, AppAvailabilityResult availability) { in TEST_F() 71 ran = true; in TEST_F() 77 EXPECT_TRUE(ran); in TEST_F() 80 ran = false; in TEST_F() 82 EXPECT_FALSE(ran); in TEST_F()
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | reraiser_thread_unittest.py | 48 ran = [False] * 5 51 ran[i] = True 57 for v in ran: 61 ran = [False] * 5 64 ran[i] = True 71 for v in ran:
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
D | TimeScaleMonkeyTest.java | 42 private Random ran = null; field in TimeScaleMonkeyTest 56 if (ran == null) { in initRandom() 57 ran = createRandom(); in initRandom() 70 value = ran.nextLong() % ranInt; in randomInRange() 79 value = ran.nextLong(); in randomInRange()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/ |
D | TimeScaleMonkeyTest.java | 45 private Random ran = null; field in TimeScaleMonkeyTest 59 if (ran == null) { in initRandom() 60 ran = createRandom(); in initRandom() 73 value = ran.nextLong() % ranInt; in randomInRange() 82 value = ran.nextLong(); in randomInRange()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/testutils/src/test/java/com/google/android/exoplayer2/testutil/ |
D | FakeDataSourceTest.java | 174 assertThat(runnables[i].ran).isFalse(); in testRunnable() 178 assertThat(runnables[0].ran).isTrue(); in testRunnable() 179 assertThat(runnables[1].ran).isFalse(); in testRunnable() 180 assertThat(runnables[2].ran).isFalse(); in testRunnable() 184 assertThat(runnables[i].ran).isTrue(); in testRunnable() 228 public boolean ran; field in FakeDataSourceTest.TestRunnable 232 ran = true; in run()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/testutils/src/test/java/com/google/android/exoplayer2/testutil/ |
D | FakeDataSourceTest.java | 174 assertThat(runnables[i].ran).isFalse(); in testRunnable() 178 assertThat(runnables[0].ran).isTrue(); in testRunnable() 179 assertThat(runnables[1].ran).isFalse(); in testRunnable() 180 assertThat(runnables[2].ran).isFalse(); in testRunnable() 184 assertThat(runnables[i].ran).isTrue(); in testRunnable() 228 public boolean ran; field in FakeDataSourceTest.TestRunnable 232 ran = true; in run()
|
/external/openscreen/third_party/abseil/src/absl/functional/ |
D | function_ref_test.cc | 31 bool ran = false; in TEST() local 32 RunFun([&] { ran = true; }); in TEST() 33 EXPECT_TRUE(ran); in TEST() 75 bool ran = false; in TEST() local 77 ran = true; in TEST() 82 EXPECT_TRUE(ran); in TEST()
|
/external/tensorflow/third_party/absl/abseil-cpp/absl/functional/ |
D | function_ref_test.cc | 32 bool ran = false; in TEST() local 33 RunFun([&] { ran = true; }); in TEST() 34 EXPECT_TRUE(ran); in TEST() 76 bool ran = false; in TEST() local 78 ran = true; in TEST() 83 EXPECT_TRUE(ran); in TEST()
|
/external/cronet/third_party/abseil-cpp/absl/functional/ |
D | function_ref_test.cc | 32 bool ran = false; in TEST() local 33 RunFun([&] { ran = true; }); in TEST() 34 EXPECT_TRUE(ran); in TEST() 76 bool ran = false; in TEST() local 78 ran = true; in TEST() 83 EXPECT_TRUE(ran); in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/functional/ |
D | function_ref_test.cc | 32 bool ran = false; in TEST() local 33 RunFun([&] { ran = true; }); in TEST() 34 EXPECT_TRUE(ran); in TEST() 76 bool ran = false; in TEST() local 78 ran = true; in TEST() 83 EXPECT_TRUE(ran); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/functional/ |
D | function_ref_test.cc | 31 bool ran = false; in TEST() local 32 RunFun([&] { ran = true; }); in TEST() 33 EXPECT_TRUE(ran); in TEST() 75 bool ran = false; in TEST() local 77 ran = true; in TEST() 82 EXPECT_TRUE(ran); in TEST()
|