Home
last modified time | relevance | path

Searched refs:runTest (Results 1 – 25 of 372) sorted by relevance

12345678910>>...15

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/
DChannelsTest.kt18 fun testIterableAsReceiveChannel() = runTest { in <lambda>()
23 fun testAssociate() = runTest { in <lambda>()
29 fun testAssociateBy() = runTest { in <lambda>()
34 fun testAssociateBy2() = runTest { in <lambda>()
40 fun testDistinct() = runTest { in <lambda>()
45 fun testDistinctBy() = runTest { in <lambda>()
50 fun testToCollection() = runTest { in <lambda>()
57 fun testDrop() = runTest { in <lambda>()
64 fun testElementAtOrElse() = runTest { in <lambda>()
70 fun testFirst() = runTest { in <lambda>()
[all …]
/external/angle/src/tests/gl_tests/
DIndexedPointsTest.cpp111 void runTest(GLuint firstIndex, bool useVertexBufferWithColor = false) in runTest() function in IndexedPointsTest
197 runTest(0); in TEST_P()
204 runTest(1); in TEST_P()
211 runTest(2); in TEST_P()
218 runTest(3); in TEST_P()
226 runTest(0, true); in TEST_P()
234 runTest(1, true); in TEST_P()
242 runTest(2, true); in TEST_P()
250 runTest(3, true); in TEST_P()
259 runTest(0); in TEST_P()
[all …]
DBlendIntegerTest.cpp44 void runTest() in runTest() function in BlendIntegerTest
119 runTest<GL_R8I, 1, true>(); in TEST_P()
126 runTest<GL_R16I, 1, true>(); in TEST_P()
133 runTest<GL_R32I, 1, true>(); in TEST_P()
140 runTest<GL_RG8I, 2, true>(); in TEST_P()
147 runTest<GL_RG16I, 2, true>(); in TEST_P()
154 runTest<GL_RG32I, 2, true>(); in TEST_P()
161 runTest<GL_RGBA8I, 4, true>(); in TEST_P()
168 runTest<GL_RGBA16I, 4, true>(); in TEST_P()
175 runTest<GL_RGBA32I, 4, true>(); in TEST_P()
[all …]
/external/grpc-grpc-java/android-interop-testing/app/src/androidTest/java/io/grpc/android/integrationtest/
DInteropInstrumentationTest.java88 runTest("empty_unary"); in interopTests()
89 runTest("large_unary"); in interopTests()
90 runTest("client_streaming"); in interopTests()
91 runTest("server_streaming"); in interopTests()
92 runTest("ping_pong"); in interopTests()
93 runTest("empty_stream"); in interopTests()
94 runTest("cancel_after_begin"); in interopTests()
95 runTest("cancel_after_first_response"); in interopTests()
96 runTest("full_duplex_call_should_succeed"); in interopTests()
97 runTest("half_duplex_call_should_succeed"); in interopTests()
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DContextPathTest.java166 runTest("/", "/", "", true, false, false); in testRootDefault()
168 runTest("/bar/", "/bar/", "", false, false, true); in testRootDefault()
170 runTest("/foo/xxx", "/foo/xxx", "", false, true, false); in testRootDefault()
172 runTest("/xxx", "/xxx", "", true, false, false); in testRootDefault()
178 runTest("/", "", "", true, false, false); in testRootExplicit()
180 runTest("/bar/", "", "", false, false, true); in testRootExplicit()
182 runTest("/foo/xxx", "", "", false, true, false); in testRootExplicit()
184 runTest("/xxx", "", "", true, false, false); in testRootExplicit()
190 runTest("/", "/", "", true, false, false); in testRootSpecific()
192 runTest("/bar/", "/bar", "", false, false, true); in testRootSpecific()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DWithTimeoutOrNullTest.kt18 fun testBasicNoSuspend() = runTest { in <lambda>()
32 fun testBasicSuspend() = runTest { in <lambda>()
48 fun testDispatch() = runTest { in <lambda>()
73 fun testYieldBlockingWithTimeout() = runTest { in <lambda>()
85 fun testSmallTimeout() = runTest { in testSmallTimeout()
94 fun testThrowException() = runTest(expected = {it is AssertionError}) { in <lambda>()
101 fun testInnerTimeout() = runTest( in testInnerTimeout()
116 fun testNestedTimeout() = runTest(expected = { it is TimeoutCancellationException }) { in testNestedTimeout()
129 fun testOuterTimeout() = runTest { in <lambda>()
147 fun testBadClass() = runTest { in <lambda>()
[all …]
DCoroutinesTest.kt14 fun testSimple() = runTest { in <lambda>()
20 fun testYield() = runTest { in <lambda>()
27 fun testLaunchAndYieldJoin() = runTest { in <lambda>()
42 fun testLaunchUndispatched() = runTest { in <lambda>()
57 fun testNested() = runTest { in <lambda>()
74 fun testWaitChild() = runTest { in <lambda>()
88 fun testCancelChildExplicit() = runTest { in <lambda>()
103 fun testCancelChildWithFinally() = runTest { in <lambda>()
122 fun testWaitNestedChild() = runTest { in <lambda>()
146 fun testExceptionPropagation() = runTest( in <lambda>()
[all …]
DAwaitTest.kt12 fun testAwaitAll() = runTest { in <lambda>()
37 fun testAwaitAllLazy() = runTest { in <lambda>()
52 fun testAwaitAllTyped() = runTest { in <lambda>()
63 fun testAwaitAllExceptionally() = runTest { in <lambda>()
95 fun testAwaitAllMultipleExceptions() = runTest { in <lambda>()
121 fun testAwaitAllCancellation() = runTest { in <lambda>()
145 fun testAwaitAllPartiallyCompleted() = runTest { in <lambda>()
156 fun testAwaitAllPartiallyCompletedExceptionally() = runTest { in <lambda>()
182 fun testAwaitAllFullyCompleted() = runTest { in <lambda>()
194 fun testAwaitOnSet() = runTest { in <lambda>()
[all …]
DWithContextTest.kt15 fun testThrowException() = runTest { in <lambda>()
31 fun testThrowExceptionFromWrappedContext() = runTest { in <lambda>()
47 fun testSameContextNoSuspend() = runTest { in <lambda>()
63 fun testSameContextWithSuspend() = runTest { in <lambda>()
80 fun testCancelWithJobNoSuspend() = runTest { in <lambda>()
109 fun testCancelWithJobWithSuspend() = runTest( in testCancelWithJobWithSuspend()
136 fun testRunCancellableDefault() = runTest( in testRunCancellableDefault()
147 fun testRunCancellationUndispatchedVsException() = runTest { in <lambda>()
172 fun testRunCancellationDispatchedVsException() = runTest { in <lambda>()
201 fun testRunSelfCancellationWithException() = runTest { in <lambda>()
[all …]
DAsyncTest.kt15 fun testSimple() = runTest { in <lambda>()
31 fun testUndispatched() = runTest { in testUndispatched()
44 fun testSimpleException() = runTest(expected = { it is TestException }) { in <lambda>()
55 fun testCancellationWithCause() = runTest { in <lambda>()
72 fun testLostException() = runTest { in <lambda>()
85 fun testParallelDecompositionCaughtException() = runTest { in <lambda>()
101 fun testParallelDecompositionCaughtExceptionWithInheritedParent() = runTest { in <lambda>()
126 …fun testParallelDecompositionUncaughtExceptionWithInheritedParent() = runTest(expected = { it is T… in <lambda>()
141 fun testParallelDecompositionUncaughtException() = runTest(expected = { it is TestException }) { in <lambda>()
156 fun testCancellationTransparency() = runTest { in <lambda>()
[all …]
DWithTimeoutTest.kt17 fun testBasicNoSuspend() = runTest { in <lambda>()
31 fun testBasicSuspend() = runTest { in <lambda>()
47 fun testDispatch() = runTest { in <lambda>()
73 fun testYieldBlockingWithTimeout() = runTest( in testYieldBlockingWithTimeout()
87 fun testWithTimeoutChildWait() = runTest { in <lambda>()
102 fun testBadClass() = runTest { in <lambda>()
117 fun testExceptionOnTimeout() = runTest { in equals()
133 fun testSuppressExceptionWithResult() = runTest( in testSuppressExceptionWithResult()
150 fun testSuppressExceptionWithAnotherException() = runTest{ in <lambda>()
171 fun testNegativeTimeout() = runTest { in <lambda>()
[all …]
DParentCancellationTest.kt18 fun testJobChild() = runTest { in <lambda>()
26 fun testSupervisorJobChild() = runTest { in <lambda>()
34 fun testCompletableDeferredChild() = runTest { in <lambda>()
42 fun testLaunchChild() = runTest { in <lambda>()
49 fun testAsyncChild() = runTest { in <lambda>()
56 fun testProduceChild() = runTest { in <lambda>()
63 fun testBroadcastChild() = runTest { in <lambda>()
70 fun testSupervisorChild() = runTest { in <lambda>()
77 fun testCoroutineScopeChild() = runTest { in <lambda>()
84 fun testWithContextChild() = runTest { in <lambda>()
[all …]
/external/smali/smali/src/test/java/org/jf/smali/
DLexerTest.java61 runTest("DirectiveTest"); in DirectiveTest()
66 runTest("ByteLiteralTest"); in ByteLiteralTest()
71 runTest("ShortLiteralTest"); in ShortLiteralTest()
76 runTest("IntegerLiteralTest"); in IntegerLiteralTest()
81 runTest("LongLiteralTest"); in LongLiteralTest()
86 runTest("FloatLiteralTest"); in FloatLiteralTest()
91 runTest("CharLiteralTest"); in CharLiteralTest()
96 runTest("StringLiteralTest"); in StringLiteralTest()
101 runTest("MiscTest"); in MiscTest()
106 runTest("CommentTest", false); in CommentTest()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DCombineParametersTestBase.kt14 fun testThreeParameters() = runTest { in <lambda>()
23 fun testThreeParametersTransform() = runTest { in <lambda>()
29 fun testFourParameters() = runTest { in <lambda>()
35 fun testFourParametersTransform() = runTest { in <lambda>()
43 fun testFiveParameters() = runTest { in <lambda>()
51 fun testFiveParametersTransform() = runTest { in <lambda>()
60 fun testNonMatchingTypes() = runTest { in <lambda>()
68 fun testNonMatchingTypesIterable() = runTest { in <lambda>()
76 fun testVararg() = runTest { in <lambda>()
89 fun testVarargTransform() = runTest { in <lambda>()
[all …]
DTransformLatestTest.kt13 fun testTransformLatest() = runTest { in <lambda>()
22 fun testEmission() = runTest { in <lambda>()
34 fun testSwitchIntuitiveBehaviour() = runTest { in <lambda>()
47 fun testSwitchRendevouzBuffer() = runTest { in <lambda>()
58 fun testSwitchBuffer() = runTest { in <lambda>()
68 fun testHangFlows() = runTest { in <lambda>()
80 fun testEmptyFlow() = runTest { in <lambda>()
85 fun testIsolatedContext() = runTest { in <lambda>()
108 fun testFailureInTransform() = runTest { in <lambda>()
123 fun testFailureDownstream() = runTest { in <lambda>()
[all …]
DFlatMapLatestTest.kt13 fun testFlatMapLatest() = runTest { in <lambda>()
21 fun testEmission() = runTest { in <lambda>()
31 fun testSwitchIntuitiveBehaviour() = runTest { in <lambda>()
46 fun testSwitchRendevouzBuffer() = runTest { in <lambda>()
60 fun testHangFlows() = runTest { in <lambda>()
74 fun testEmptyFlow() = runTest { in <lambda>()
79 fun testFailureInTransform() = runTest { in <lambda>()
96 fun testFailureDownstream() = runTest { in <lambda>()
113 fun testFailureUpstream() = runTest { in <lambda>()
133 fun testTake() = runTest { in <lambda>()
DZipTest.kt16 fun testZip() = runTest { in <lambda>()
23 fun testUnevenZip() = runTest { in <lambda>()
31 fun testEmptyFlows() = runTest { in <lambda>()
38 fun testEmpty() = runTest { in <lambda>()
45 fun testEmptyOther() = runTest { in <lambda>()
52 fun testNulls() = runTest { in <lambda>()
59 fun testNullsOther() = runTest { in <lambda>()
66 fun testCancelWhenFlowIsDone() = runTest { in <lambda>()
81 fun testCancelWhenFlowIsDoneReversed() = runTest { in <lambda>()
96 fun testCancelWhenFlowIsDone2() = runTest { in <lambda>()
[all …]
DFlowOnTest.kt14 fun testFlowOn() = runTest { in <lambda>()
35 fun testFlowOnAndOperators() = runTest { in <lambda>()
60 public fun testFlowOnThrowingSource() = runTest { in <lambda>()
78 public fun testFlowOnThrowingOperator() = runTest { in testFlowOnThrowingOperator()
95 public fun testFlowOnDownstreamOperator() = runTest() { in <lambda>()
117 public fun testFlowOnThrowingConsumer() = runTest { in <lambda>()
138 fun testFlowOnWithJob() = runTest({ it is IllegalArgumentException }) { in <lambda>()
145 fun testFlowOnCancellation() = runTest { in <lambda>()
169 fun testFlowOnCancellationHappensBefore() = runTest { in <lambda>()
190 fun testIndependentOperatorContext() = runTest { in <lambda>()
[all …]
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_4_5_6.pass.cpp139 runTest<Expect &> (M, C_<T&>(obj), expect); in runTestDispatch()
140 runTest<Expect const&> (M, C_<T const&>(obj), expect); in runTestDispatch()
141 runTest<Expect volatile&> (M, C_<T volatile&>(obj), expect); in runTestDispatch()
142 runTest<Expect const volatile&>(M, C_<T const volatile&>(obj), expect); in runTestDispatch()
144 runTest<Expect&&> (M, C_<T&&>(obj), expect); in runTestDispatch()
145 runTest<Expect const&&> (M, C_<T const&&>(obj), expect); in runTestDispatch()
146 runTest<Expect volatile&&> (M, C_<T volatile&&>(obj), expect); in runTestDispatch()
147 runTest<Expect const volatile&&>(M, C_<T const volatile&&>(obj), expect); in runTestDispatch()
153 runTest<Expect &> (M, obj, expect); in runTestPropCVDispatch()
154 runTest<Expect const&> (M, makeConst(obj), expect); in runTestPropCVDispatch()
[all …]
/external/swiftshader/third_party/subzero/unittest/
DIceParseInstsTest.cpp60 EXPECT_FALSE(DumpMunger.runTest()); in TEST()
68 EXPECT_FALSE(Munger.runTest(ParseError)); in TEST()
74 EXPECT_DEATH(Munger.runTest(ParseError), ".*ERROR: Unable to continue.*"); in TEST()
100 EXPECT_TRUE(DumpMunger.runTest()); in TEST()
107 EXPECT_TRUE(Munger.runTest()); in TEST()
114 EXPECT_TRUE(Munger.runTest(ARRAY(Align0))); in TEST()
124 EXPECT_FALSE(Munger.runTest(ARRAY(Align30), ParseError)); in TEST()
140 EXPECT_TRUE(Munger.runTest(ARRAY(Align29))); in TEST()
167 EXPECT_TRUE(DumpMunger.runTest()); in TEST()
172 EXPECT_TRUE(Munger.runTest()); in TEST()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/selects/
DSelectArrayChannelTest.kt15 fun testSelectSendSuccess() = runTest { in <lambda>()
34 fun testSelectSendSuccessWithDefault() = runTest { in <lambda>()
56 fun testSelectSendReceiveBuf() = runTest { in <lambda>()
75 fun testSelectSendWait() = runTest { in <lambda>()
97 fun testSelectReceiveSuccess() = runTest { in <lambda>()
112 fun testSelectReceiveSuccessWithDefault() = runTest { in <lambda>()
130 fun testSelectReceiveWaitWithDefault() = runTest { in <lambda>()
160 fun testSelectReceiveWait() = runTest { in <lambda>()
179 fun testSelectReceiveClosed() = runTest({it is ClosedReceiveChannelException}) { in <lambda>()
193 fun testSelectReceiveWaitClosed() = runTest({it is ClosedReceiveChannelException}) { in <lambda>()
[all …]
DSelectRendezvousChannelTest.kt16 fun testSelectSendSuccess() = runTest { in <lambda>()
35 fun testSelectSendSuccessWithDefault() = runTest { in <lambda>()
57 fun testSelectSendWaitWithDefault() = runTest { in <lambda>()
83 fun testSelectSendWait() = runTest { in <lambda>()
101 fun testSelectReceiveSuccess() = runTest { in <lambda>()
121 fun testSelectReceiveSuccessWithDefault() = runTest { in <lambda>()
144 fun testSelectReceiveWaitWithDefault() = runTest { in <lambda>()
170 fun testSelectReceiveWait() = runTest { in <lambda>()
189 fun testSelectReceiveClosed() = runTest(expected = { it is ClosedReceiveChannelException }) { in <lambda>()
203 fun testSelectReceiveWaitClosed() = runTest(expected = {it is ClosedReceiveChannelException}) { in <lambda>()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DFailFastOnStartTest.kt22 fun testLaunch() = runTest(expected = ::mainException) { in <lambda>()
27 fun testLaunchLazy() = runTest(expected = ::mainException) { in <lambda>()
33 fun testLaunchUndispatched() = runTest(expected = ::mainException) { in <lambda>()
41 fun testAsync() = runTest(expected = ::mainException) { in <lambda>()
46 fun testAsyncLazy() = runTest(expected = ::mainException) { in testAsyncLazy()
52 fun testWithContext() = runTest(expected = ::mainException) { in <lambda>()
59 fun testProduce() = runTest(expected = ::mainException) { in <lambda>()
64 fun testActor() = runTest(expected = ::mainException) { in <lambda>()
69 fun testActorLazy() = runTest(expected = ::mainException) { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/channels/
DChannelBuildersFlowTest.kt13 fun testChannelConsumeAsFlow() = runTest { in <lambda>()
25 fun testConsumeAsFlowCancellation() = runTest { in <lambda>()
40 fun testConsumeAsFlowException() = runTest { in <lambda>()
53 fun testConsumeAsFlowProduceFusing() = runTest { in <lambda>()
62 fun testConsumeAsFlowProduceBuffered() = runTest { in <lambda>()
83 fun testBroadcastChannelAsFlow() = runTest { in <lambda>()
95 fun testExceptionInBroadcast() = runTest { in <lambda>()
115 fun testBroadcastChannelAsFlowLimits() = runTest { in <lambda>()
143 fun flowAsBroadcast() = runTest { in <lambda>()
155 fun flowAsBroadcastMultipleSubscription() = runTest { in <lambda>()
[all …]
DChannelFlowTest.kt13 fun testRegular() = runTest { in <lambda>()
23 fun testBuffer() = runTest { in <lambda>()
33 fun testConflated() = runTest { in <lambda>()
44 fun testFailureCancelsChannel() = runTest { in <lambda>()
58 fun testFailureInSourceCancelsConsumer() = runTest { in <lambda>()
70 fun testScopedCancellation() = runTest { in <lambda>()
85 fun testMergeOneCoroutineWithCancellation() = runTest { in <lambda>()
92 fun testMergeTwoCoroutinesWithCancellation() = runTest { in <lambda>()
117 fun testBufferWithTimeout() = runTest { in <lambda>()
145 fun testChildCancellation() = runTest { in <lambda>()

12345678910>>...15