Home
last modified time | relevance | path

Searched full:runtest (Results 1 – 25 of 1199) sorted by relevance

12345678910>>...48

/external/cronet/third_party/boringssl/src/pki/
Dverify_certificate_chain_typed_unittest.h21 void RunTest(const char* file_name) { in RunTest() function
47 this->RunTest("target-and-intermediate/main.test"); in TYPED_TEST_P()
48 this->RunTest("target-and-intermediate/ta-with-expiration.test"); in TYPED_TEST_P()
49 this->RunTest("target-and-intermediate/ta-with-constraints.test"); in TYPED_TEST_P()
50 this->RunTest("target-and-intermediate/trusted_leaf-and-trust_anchor.test"); in TYPED_TEST_P()
54 this->RunTest("intermediate-lacks-basic-constraints/main.test"); in TYPED_TEST_P()
55 this->RunTest("intermediate-basic-constraints-ca-false/main.test"); in TYPED_TEST_P()
56 this->RunTest("intermediate-basic-constraints-not-critical/main.test"); in TYPED_TEST_P()
57 this->RunTest("root-lacks-basic-constraints/main.test"); in TYPED_TEST_P()
58 this->RunTest("root-lacks-basic-constraints/ta-with-constraints.test"); in TYPED_TEST_P()
[all …]
/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/kotlinx.coroutines/kotlinx-coroutines-test/common/test/
DRunTestTest.kt17 /** Tests that [withContext] that sends work to other threads works in [runTest]. */ in <lambda>()
19 fun testWithContextDispatching() = runTest { in <lambda>()
27 /** Tests that joining [GlobalScope.launch] works in [runTest]. */ in <lambda>()
29 fun testJoiningForkedJob() = runTest { in <lambda>()
38 /** Tests [suspendCoroutine] not failing [runTest]. */ in <lambda>()
40 fun testSuspendCoroutine() = runTest { in <lambda>()
47 …/** Tests that [runTest] attempts to detect it being run inside another [runTest] and failing in s… in <lambda>()
49 fun testNestedRunTestForbidden() = runTest { in <lambda>()
51 runTest { } in <lambda>()
57 …fun testRunTestWithZeroDispatchTimeoutWithControlledDispatches() = runTest(dispatchTimeoutMs = 0) { in <lambda>()
[all …]
/external/cronet/third_party/boringssl/src/pki/testdata/nist-pkits/
Dpkits_testcases-inl.h30 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
43 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
56 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
69 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
84 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
97 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
123 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
136 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
149 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
162 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
[all …]
/external/cronet/net/third_party/nist-pkits/
Dpkits_testcases-inl.h30 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
43 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
56 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
69 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
84 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
97 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
123 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
136 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
149 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
162 this->RunTest(certs, crls, info); in WRAPPED_TYPED_TEST_P()
[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 …]
/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-test/
DMIGRATION.md19 However, `runTest` follows structured concurrency better than `runBlockingTest` did, so exceptions …
28 fun testFoo() = runTest {
87 fun testFoo() = runTest {
134 ## Replace `runBlockingTest` with `runTest(UnconfinedTestDispatcher())`
139 Significant differences of `runTest` from `runBlockingTest` are each given a section below.
143 No action on your part is required, other than replacing `runBlocking` with `runTest` as well.
158 runTest(TestCoroutineDispatcher()) {
174 We ensured that, when run with an `UnconfinedTestDispatcher`, `runTest` also eagerly enters `launch…
186 fun testAllEmissions() = runTest(TestCoroutineDispatcher()) {
218 fun testAllEmissions() = runTest {
[all …]
DREADME.md11 | [runTest] | Runs the test code, automatically skipping delays and handling uncaught exceptions. |
13 | [TestScope] | A [CoroutineScope] that integrates with [runTest], providing access to [TestCorouti…
80 ## runTest section in Module kotlinx-coroutines-test
82 [runTest] is the way to test code that involves coroutines. `suspend` functions can be called insid…
84 **IMPORTANT: in order to work with on Kotlin/JS, the result of `runTest` must be immediately `retur…
85 The typical invocation of [runTest] thus looks like this:
89 fun testFoo() = runTest {
99 return runTest {
105 [runTest] is similar to running the code with `runBlocking` on Kotlin/JVM and Kotlin/Native, or lau…
118 …[runTest] will handle the situations where some code runs in dispatchers not integrated with the t…
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
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 …]
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()
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.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 …]
DWithTimeoutOrNullDurationTest.kt21 fun testBasicNoSuspend() = runTest { in <lambda>()
35 fun testBasicSuspend() = runTest { in <lambda>()
51 fun testDispatch() = runTest { in <lambda>()
76 fun testYieldBlockingWithTimeout() = runTest { in <lambda>()
88 fun testSmallTimeout() = runTest { in testSmallTimeout()
97 fun testThrowException() = runTest(expected = {it is AssertionError}) { in <lambda>()
104 fun testInnerTimeout() = runTest( in testInnerTimeout()
120 fun testNestedTimeout() = runTest(expected = { it is TimeoutCancellationException }) { in testNestedTimeout()
133 fun testOuterTimeout() = runTest { in <lambda>()
134 if (isJavaAndWindows) return@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 …]
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/test/
DTaskTest.kt22 fun testCompletedDeferredAsTask() = runTest { in <lambda>()
35 fun testDeferredAsTask() = runTest { in <lambda>()
48 fun testCancelledAsTask() = runTest { in <lambda>()
55 runTest { task.await() } in <lambda>()
63 fun testThrowingAsTask() = runTest({ e -> e is TestException }) { in <lambda>()
69 runTest(expected = { it is TestException }) { in <lambda>()
75 fun testStateAsTask() = runTest { in <lambda>()
90 fun testTaskAsDeferred() = runTest { in <lambda>()
96 fun testNullResultTaskAsDeferred() = runTest { in <lambda>()
101 fun testCancelledTaskAsDeferred() = runTest { in <lambda>()
[all …]
/external/tensorflow/tensorflow/cc/gradients/
Darray_grad_test.cc35 void RunTest(const Output& x, const TensorShape& x_shape, const Output& y, in RunTest() function in tensorflow::__anon62bed55d0111::ArrayGradTest
44 void RunTest(const OutputList& xs, const std::vector<TensorShape>& x_shapes, in RunTest() function in tensorflow::__anon62bed55d0111::ArrayGradTest
63 RunTest(xs, {x_shape, x_shape}, {y}, {y_shape}); in TEST_F()
73 RunTest(xs, {x_shape, x_shape}, {y}, {y_shape}); in TEST_F()
82 RunTest({x}, {x_shape}, y.output, y_shapes); in TEST_F()
91 RunTest({x}, {x_shape}, y.output, y_shapes); in TEST_F()
98 RunTest(x, shape, y, shape); in TEST_F()
108 RunTest({x}, {x_shape}, y.output, {y_shape, y_shape}); in TEST_F()
115 RunTest({x}, {x_shape}, y.output, in TEST_F()
124 RunTest(x, x_shape, y, y_shape); in TEST_F()
[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 …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DContextPathTest.java142 // each of the following "runTest" calls takes three path parameters:
166 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()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/terminal/
DFirstTest.kt14 fun testFirst() = runTest { in <lambda>()
20 fun testNulls() = runTest { in <lambda>()
28 fun testFirstWithPredicate() = runTest { in <lambda>()
36 fun testFirstCancellation() = runTest { in <lambda>()
59 fun testEmptyFlow() = runTest { in <lambda>()
65 fun testErrorCancelsUpstream() = runTest { in <lambda>()
89 fun testFirstOrNull() = runTest { in <lambda>()
95 fun testFirstOrNullWithPredicate() = runTest { in <lambda>()
103 fun testFirstOrNullCancellation() = runTest { in <lambda>()
126 fun testFirstOrNullWithEmptyFlow() = runTest { in <lambda>()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/selects/
DSelectBufferedChannelTest.kt14 fun testSelectSendSuccess() = runTest { in <lambda>()
33 fun testSelectSendSuccessWithDefault() = runTest { in <lambda>()
55 fun testSelectSendReceiveBuf() = runTest { in <lambda>()
74 fun testSelectSendWait() = runTest { in <lambda>()
96 fun testSelectReceiveSuccess() = runTest { in <lambda>()
111 fun testSelectReceiveSuccessWithDefault() = runTest { in <lambda>()
129 fun testSelectReceiveWaitWithDefault() = runTest { in <lambda>()
159 fun testSelectReceiveWait() = runTest { in <lambda>()
178 fun testSelectReceiveClosed() = runTest({it is ClosedReceiveChannelException}) { in <lambda>()
192 fun testSelectReceiveWaitClosed() = runTest({it is ClosedReceiveChannelException}) { in <lambda>()
[all …]
/external/sdv/vsomeip/third_party/boost/integer/test/
Dinteger_traits_test.cpp50 void runtest(const char * type, T) in runtest() function
74 runtest("bool", bool()); in main()
75 runtest("char", char()); in main()
77 runtest("signed char", signed_char()); in main()
79 runtest("unsigned char", unsigned_char()); in main()
80 runtest("wchar_t", wchar_t()); in main()
81 runtest("short", short()); in main()
83 runtest("unsigned short", unsigned_short()); in main()
84 runtest("int", int()); in main()
86 runtest("unsigned int", unsigned_int()); in main()
[all …]
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/test/
DListenableFutureTest.kt35 fun testAwaitWithContext() = runTest { in <lambda>()
48 fun testAwaitWithCancellation() = runTest(expected = {it is TestCancellationException}) { in <lambda>()
205 fun testFutureAwaitCancellationPropagatingToDeferred() = runTest { in <lambda>()
227 fun testFutureAwaitCancellationPropagatingToDeferredNoInterruption() = runTest { in <lambda>()
249 fun testAsListenableFutureCancellationPropagatingToDeferred() = runTest { in <lambda>()
272 fun testAsListenableFutureCancellationPropagatingToDeferredNoInterruption() = runTest { in testAsListenableFutureCancellationPropagatingToDeferredNoInterruption()
296 fun testAsListenableFutureCancellationThroughSetFuture() = runTest { in <lambda>()
322 fun testAsListenableFuturePropagatesCancellationBeforeRunningListeners() = runTest { in <lambda>()
343 fun testFutureCancellation() = runTest { in <lambda>()
351 fun testAsListenableDeferredCancellationCauseAndMessagePropagate() = runTest { in <lambda>()
[all …]

12345678910>>...48