Home
last modified time | relevance | path

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

12345678910>>...26

/external/ksp/compiler-plugin/src/test/kotlin/com/google/devtools/ksp/test/
DKSPCompilerPluginTest.kt32 runTest("../test-utils/testData/api/annotatedUtil.kt") in testAnnotatedUtil()
38 runTest("../test-utils/testData/api/javaAnnotatedUtil.kt") in testJavaAnnotatedUtil()
44 runTest("../test-utils/testData/api/abstractFunctions.kt") in testAbstractFunctions()
50 runTest("../test-utils/testData/api/allFunctions_java_inherits_kt.kt") in testAllFunctions_java_inherits_kt()
56 runTest("../test-utils/testData/api/allFunctions_java_inherits_kt.kt") in testAllFunctions_kotlin()
62 runTest("../test-utils/testData/api/allFunctions_kt_inherits_java.kt") in testAllFunctions_kt_inherits_java()
68 runTest("../test-utils/testData/api/annotationInDependencies.kt") in testAnnotationsInDependencies()
74 runTest("../test-utils/testData/api/annotationOnConstructorParameter.kt") in testAnnotationOnConstructorParameter()
80 runTest("../test-utils/testData/api/annotationWithArbitraryClassValue.kt") in testAnnotationWithArbitraryClassValue()
86 runTest("../test-utils/testData/api/annotationValue_java.kt") in testAnnotationValue_java()
[all …]
/external/ksp/kotlin-analysis-api/src/test/kotlin/com/google/devtools/ksp/impl/test/
DKSPAATest.kt36 runTest("../test-utils/testData/api/annotatedUtil.kt") in testAnnotatedUtil()
43 runTest("../test-utils/testData/api/javaAnnotatedUtil.kt") in testJavaAnnotatedUtil()
49 runTest("../test-utils/testData/api/abstractFunctions.kt") in testAbstractFunctions()
55 runTest("../test-utils/testData/api/allFunctions_java_inherits_kt.kt") in testAllFunctions_java_inherits_kt()
61 runTest("../test-utils/testData/api/allFunctions_java_inherits_kt.kt") in testAllFunctions_kotlin()
68 runTest("../test-utils/testData/api/allFunctions_kt_inherits_java.kt") in testAllFunctions_kt_inherits_java()
74 runTest("../test-utils/testData/api/annotationInDependencies.kt") in testAnnotationsInDependencies()
80 runTest("../test-utils/testData/api/annotationOnConstructorParameter.kt") in testAnnotationOnConstructorParameter()
87 runTest("../test-utils/testData/api/annotationWithArbitraryClassValue.kt") in testAnnotationWithArbitraryClassValue()
94 runTest("../test-utils/testData/api/annotationValue_java.kt") in testAnnotationValue_java()
[all …]
/external/grpc-grpc-java/android-interop-testing/src/androidTest/java/io/grpc/android/integrationtest/
DUdsChannelInteropTest.java90 runTest("empty_unary"); in interopTests()
91 runTest("large_unary"); in interopTests()
92 runTest("client_streaming"); in interopTests()
93 runTest("server_streaming"); in interopTests()
94 runTest("ping_pong"); in interopTests()
95 runTest("empty_stream"); in interopTests()
96 runTest("cancel_after_begin"); in interopTests()
97 runTest("cancel_after_first_response"); in interopTests()
98 runTest("full_duplex_call_should_succeed"); in interopTests()
99 runTest("half_duplex_call_should_succeed"); in interopTests()
[all …]
DInteropInstrumentationTest.java79 runTest("empty_unary"); in interopTests()
80 runTest("large_unary"); in interopTests()
81 runTest("client_streaming"); in interopTests()
82 runTest("server_streaming"); in interopTests()
83 runTest("ping_pong"); in interopTests()
84 runTest("empty_stream"); in interopTests()
85 runTest("cancel_after_begin"); in interopTests()
86 runTest("cancel_after_first_response"); in interopTests()
87 runTest("full_duplex_call_should_succeed"); in interopTests()
88 runTest("half_duplex_call_should_succeed"); in interopTests()
[all …]
/external/angle/src/tests/gl_tests/
DIndexedPointsTest.cpp111 void runTest(GLuint firstIndex, bool useVertexBufferWithColor = false) in runTest() function in IndexedPointsTest
195 runTest(0); in TEST_P()
200 runTest(1); in TEST_P()
205 runTest(2); in TEST_P()
210 runTest(3); in TEST_P()
215 runTest(0, true); in TEST_P()
220 runTest(1, true); in TEST_P()
225 runTest(2, true); in TEST_P()
230 runTest(3, true); in TEST_P()
237 runTest(0); in TEST_P()
[all …]
DBlendIntegerTest.cpp44 void runTest() in runTest() function in BlendIntegerTest
206 runTest<GL_R8I, 1, true>(); in TEST_P()
211 runTest<GL_R16I, 1, true>(); in TEST_P()
216 runTest<GL_R32I, 1, true>(); in TEST_P()
221 runTest<GL_RG8I, 2, true>(); in TEST_P()
226 runTest<GL_RG16I, 2, true>(); in TEST_P()
231 runTest<GL_RG32I, 2, true>(); in TEST_P()
236 runTest<GL_RGBA8I, 4, true>(); in TEST_P()
241 runTest<GL_RGBA16I, 4, true>(); in TEST_P()
246 runTest<GL_RGBA32I, 4, true>(); in TEST_P()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/test/
DRunTestTest.kt17 fun testWithContextDispatching() = runTest { in <lambda>()
27 fun testJoiningForkedJob() = runTest { in <lambda>()
38 fun testSuspendCoroutine() = runTest { in <lambda>()
47 fun testNestedRunTestForbidden() = runTest { in <lambda>()
49 runTest { } in <lambda>()
55 …fun testRunTestWithZeroDispatchTimeoutWithControlledDispatches() = runTest(dispatchTimeoutMs = 0) { in <lambda>()
82 runTest(dispatchTimeoutMs = 100) { in <lambda>()
103 runTest(timeout = 100.milliseconds) { in <lambda>()
123 runTest(timeout = 100.milliseconds) { in <lambda>()
152 runTest(dispatchTimeoutMs = 10) { in <lambda>()
[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/google-smali/smali/src/test/java/com/android/tools/smali/smali/
DLexerTest.java63 runTest("DirectiveTest"); in DirectiveTest()
68 runTest("ByteLiteralTest"); in ByteLiteralTest()
73 runTest("ShortLiteralTest"); in ShortLiteralTest()
78 runTest("IntegerLiteralTest"); in IntegerLiteralTest()
83 runTest("LongLiteralTest"); in LongLiteralTest()
88 runTest("FloatLiteralTest"); in FloatLiteralTest()
93 runTest("CharLiteralTest"); in CharLiteralTest()
98 runTest("StringLiteralTest"); in StringLiteralTest()
103 runTest("MiscTest"); in MiscTest()
108 runTest("CommentTest", false); in CommentTest()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DWithTimeoutOrNullTest.kt15 fun testBasicNoSuspend() = runTest { in <lambda>()
29 fun testBasicSuspend() = runTest { in <lambda>()
45 fun testDispatch() = runTest { in <lambda>()
70 fun testYieldBlockingWithTimeout() = runTest { in <lambda>()
82 fun testSmallTimeout() = runTest { in testSmallTimeout()
91 fun testThrowException() = runTest(expected = {it is AssertionError}) { in <lambda>()
98 fun testInnerTimeout() = runTest( in testInnerTimeout()
114 fun testNestedTimeout() = runTest(expected = { it is TimeoutCancellationException }) { in testNestedTimeout()
127 fun testOuterTimeout() = runTest { in <lambda>()
128 if (isJavaAndWindows) return@runTest in <lambda>()
[all …]
DWithTimeoutOrNullDurationTest.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()
117 fun testNestedTimeout() = runTest(expected = { it is TimeoutCancellationException }) { in testNestedTimeout()
130 fun testOuterTimeout() = runTest { in <lambda>()
131 if (isJavaAndWindows) return@runTest in <lambda>()
[all …]
DCoroutinesTest.kt11 fun testSimple() = runTest { in <lambda>()
17 fun testYield() = runTest { in <lambda>()
24 fun testLaunchAndYieldJoin() = runTest { in <lambda>()
39 fun testLaunchUndispatched() = runTest { in <lambda>()
54 fun testNested() = runTest { in <lambda>()
71 fun testWaitChild() = runTest { in <lambda>()
85 fun testCancelChildExplicit() = runTest { in <lambda>()
100 fun testCancelChildWithFinally() = runTest { in <lambda>()
119 fun testWaitNestedChild() = runTest { in <lambda>()
143 fun testExceptionPropagation() = runTest( in <lambda>()
[all …]
DAwaitTest.kt9 fun testAwaitAll() = runTest { in <lambda>()
34 fun testAwaitAllLazy() = runTest { in <lambda>()
49 fun testAwaitAllTyped() = runTest { in <lambda>()
60 fun testAwaitAllExceptionally() = runTest { in <lambda>()
92 fun testAwaitAllMultipleExceptions() = runTest { in <lambda>()
118 fun testAwaitAllCancellation() = runTest { in <lambda>()
142 fun testAwaitAllPartiallyCompleted() = runTest { in <lambda>()
153 fun testAwaitAllPartiallyCompletedExceptionally() = runTest { in <lambda>()
179 fun testAwaitAllFullyCompleted() = runTest { in <lambda>()
191 fun testAwaitOnSet() = runTest { in <lambda>()
[all …]
DWithTimeoutTest.kt14 fun testBasicNoSuspend() = runTest { in <lambda>()
28 fun testBasicSuspend() = runTest { in <lambda>()
44 fun testDispatch() = runTest { in <lambda>()
70 fun testYieldBlockingWithTimeout() = runTest( in testYieldBlockingWithTimeout()
84 fun testWithTimeoutChildWait() = runTest { in <lambda>()
99 fun testBadClass() = runTest { in <lambda>()
108 fun testExceptionOnTimeout() = runTest { in <lambda>()
124 fun testSuppressExceptionWithResult() = runTest( in testSuppressExceptionWithResult()
141 fun testSuppressExceptionWithAnotherException() = runTest{ in <lambda>()
162 fun testNegativeTimeout() = runTest { in <lambda>()
[all …]
DWithContextTest.kt12 fun testThrowException() = runTest { in <lambda>()
28 fun testThrowExceptionFromWrappedContext() = runTest { in <lambda>()
44 fun testSameContextNoSuspend() = runTest { in <lambda>()
60 fun testSameContextWithSuspend() = runTest { in <lambda>()
77 fun testCancelWithJobNoSuspend() = runTest { in <lambda>()
106 fun testCancelWithJobWithSuspend() = runTest( in testCancelWithJobWithSuspend()
133 fun testRunCancellableDefault() = runTest( in testRunCancellableDefault()
144 fun testRunCancellationUndispatchedVsException() = runTest { in <lambda>()
169 fun testRunCancellationDispatchedVsException() = runTest { in <lambda>()
198 fun testRunSelfCancellationWithException() = runTest { in <lambda>()
[all …]
DAsyncTest.kt11 fun testSimple() = runTest { in <lambda>()
27 fun testUndispatched() = runTest { in testUndispatched()
40 fun testSimpleException() = runTest(expected = { it is TestException }) { in <lambda>()
51 fun testCancellationWithCause() = runTest { in <lambda>()
68 fun testLostException() = runTest { in <lambda>()
81 fun testParallelDecompositionCaughtException() = runTest { in <lambda>()
97 fun testParallelDecompositionCaughtExceptionWithInheritedParent() = runTest { in <lambda>()
122 …fun testParallelDecompositionUncaughtExceptionWithInheritedParent() = runTest(expected = { it is T… in <lambda>()
137 fun testParallelDecompositionUncaughtException() = runTest(expected = { it is TestException }) { in <lambda>()
152 fun testCancellationTransparency() = runTest { in <lambda>()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DCombineParametersTest.kt10 fun testThreeParameters() = runTest { in <lambda>()
19 fun testThreeParametersTransform() = runTest { in <lambda>()
25 fun testFourParameters() = runTest { in <lambda>()
31 fun testFourParametersTransform() = runTest { in <lambda>()
39 fun testFiveParameters() = runTest { in <lambda>()
47 fun testFiveParametersTransform() = runTest { in <lambda>()
56 fun testNonMatchingTypes() = runTest { in <lambda>()
64 fun testNonMatchingTypesIterable() = runTest { in <lambda>()
72 fun testVararg() = runTest { in <lambda>()
85 fun testVarargTransform() = runTest { in <lambda>()
[all …]
DBooleanTerminationTest.kt8 fun testAnyNominal() = runTest { in <lambda>()
20 fun testAnyEmpty() = runTest { in <lambda>()
25 fun testAnyInfinite() = runTest { in <lambda>()
30 fun testAnyShortCircuit() = runTest { in <lambda>()
41 fun testAllNominal() = runTest { in <lambda>()
53 fun testAllEmpty() = runTest { in <lambda>()
58 fun testAllInfinite() = runTest { in <lambda>()
63 fun testAllShortCircuit() = runTest { in <lambda>()
74 fun testNoneNominal() = runTest { in <lambda>()
86 fun testNoneEmpty() = runTest { in <lambda>()
[all …]
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/test/
DTaskTest.kt19 fun testCompletedDeferredAsTask() = runTest { in <lambda>()
32 fun testDeferredAsTask() = runTest { in <lambda>()
45 fun testCancelledAsTask() = runTest { in <lambda>()
52 runTest { task.await() } in <lambda>()
60 fun testThrowingAsTask() = runTest({ e -> e is TestException }) { in <lambda>()
66 runTest(expected = { it is TestException }) { in <lambda>()
72 fun testStateAsTask() = runTest { in <lambda>()
87 fun testTaskAsDeferred() = runTest { in <lambda>()
93 fun testNullResultTaskAsDeferred() = runTest { in <lambda>()
98 fun testCancelledTaskAsDeferred() = 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/cronet/stable/third_party/libc++/src/test/libcxx/utilities/function.objects/func.require/
Dbullet_4_5_6.pass.cpp143 runTest<Expect &> (M, C_<T&>(obj), expect); in runTestDispatch()
144 runTest<Expect const&> (M, C_<T const&>(obj), expect); in runTestDispatch()
145 runTest<Expect volatile&> (M, C_<T volatile&>(obj), expect); in runTestDispatch()
146 runTest<Expect const volatile&>(M, C_<T const volatile&>(obj), expect); in runTestDispatch()
148 runTest<Expect&&> (M, C_<T&&>(obj), expect); in runTestDispatch()
149 runTest<Expect const&&> (M, C_<T const&&>(obj), expect); in runTestDispatch()
150 runTest<Expect volatile&&> (M, C_<T volatile&&>(obj), expect); in runTestDispatch()
151 runTest<Expect const volatile&&>(M, C_<T const volatile&&>(obj), expect); in runTestDispatch()
157 runTest<Expect &> (M, obj, expect); in runTestPropCVDispatch()
158 runTest<Expect const&> (M, makeConst(obj), expect); in runTestPropCVDispatch()
[all …]
/external/cronet/tot/third_party/libc++/src/test/libcxx/utilities/function.objects/func.require/
Dbullet_4_5_6.pass.cpp143 runTest<Expect &> (M, C_<T&>(obj), expect); in runTestDispatch()
144 runTest<Expect const&> (M, C_<T const&>(obj), expect); in runTestDispatch()
145 runTest<Expect volatile&> (M, C_<T volatile&>(obj), expect); in runTestDispatch()
146 runTest<Expect const volatile&>(M, C_<T const volatile&>(obj), expect); in runTestDispatch()
148 runTest<Expect&&> (M, C_<T&&>(obj), expect); in runTestDispatch()
149 runTest<Expect const&&> (M, C_<T const&&>(obj), expect); in runTestDispatch()
150 runTest<Expect volatile&&> (M, C_<T volatile&&>(obj), expect); in runTestDispatch()
151 runTest<Expect const volatile&&>(M, C_<T const volatile&&>(obj), expect); in runTestDispatch()
157 runTest<Expect &> (M, obj, expect); in runTestPropCVDispatch()
158 runTest<Expect const&> (M, makeConst(obj), expect); in runTestPropCVDispatch()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/terminal/
DFirstTest.kt13 fun testFirst() = runTest { in <lambda>()
19 fun testNulls() = runTest { in <lambda>()
27 fun testFirstWithPredicate() = runTest { in <lambda>()
35 fun testFirstCancellation() = runTest { in <lambda>()
58 fun testEmptyFlow() = runTest { in <lambda>()
64 fun testErrorCancelsUpstream() = runTest { in <lambda>()
88 fun testFirstOrNull() = runTest { in <lambda>()
94 fun testFirstOrNullWithPredicate() = runTest { in <lambda>()
102 fun testFirstOrNullCancellation() = runTest { in <lambda>()
125 fun testFirstOrNullWithEmptyFlow() = runTest { in <lambda>()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DFailFastOnStartTest.kt19 fun testLaunch() = runTest(expected = ::mainException) { in <lambda>()
24 fun testLaunchLazy() = runTest(expected = ::mainException) { in <lambda>()
30 fun testLaunchUndispatched() = runTest(expected = ::mainException) { in <lambda>()
38 fun testAsync() = runTest(expected = ::mainException) { in <lambda>()
43 fun testAsyncLazy() = runTest(expected = ::mainException) { in testAsyncLazy()
49 fun testWithContext() = runTest(expected = ::mainException) { in <lambda>()
56 fun testProduce() = runTest(expected = ::mainException) { in <lambda>()
61 fun testActor() = runTest(expected = ::mainException) { in <lambda>()
66 fun testActorLazy() = runTest(expected = ::mainException) { in <lambda>()
76 fun testProduceNonChild() = runTest(expected = ::mainException) { in <lambda>()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/
DProduceTest.kt11 fun testBasic() = runTest { in <lambda>()
29 fun testCancelWithoutCause() = runTest { in <lambda>()
56 fun testCancelWithCause() = runTest { in <lambda>()
86 fun testCancelOnCompletionUnconfined() = runTest { in <lambda>()
91 fun testCancelOnCompletion() = runTest { in <lambda>()
96 fun testCancelWhenTheChannelIsClosed() = runTest { in <lambda>()
117 fun testAwaitCloseOnlyAllowedOnce() = runTest { in <lambda>()
135 fun testInvokeOnCloseWithAwaitClose() = runTest { in <lambda>()
147 fun testAwaitConsumerCancellation() = runTest { in <lambda>()
163 fun testAwaitProducerCancellation() = runTest { in <lambda>()
[all …]

12345678910>>...26