/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
D | AwaitTest.kt | 28 assertEquals(listOf("OK", 1L), awaitAll(d, d2)) in <lambda>() 47 assertEquals(listOf(1, 2), awaitAll(d, d2)) in <lambda>() 57 assertEquals(listOf(1L, ""), listOf(d1, d2).awaitAll()) in <lambda>() 58 assertEquals(listOf(1L, Unit), listOf(d1, d3).awaitAll()) in <lambda>() 59 assertEquals(listOf("", Unit), listOf(d2, d3).awaitAll()) in <lambda>() 150 assertEquals(listOf(1, 2), awaitAll(d1, d2)) in <lambda>() 199 listOf(d1, d2, job).awaitAll() in <lambda>() 225 assertEquals(listOf("OK", "OK", "OK"), awaitAll(d, d, d)) in <lambda>() 338 listOf<Job>().joinAll() in <lambda>()
|
D | SupervisorTest.kt | 14 unhandled = listOf( in <lambda>() 41 unhandled = listOf( in <lambda>() 60 unhandled = listOf( in <lambda>() 134 …fun testSupervisorThrowsWithFailingChild() = runTest(unhandled = listOf({e -> e is TestException2}… in <lambda>()
|
D | FailedJobTest.kt | 29 unhandled = listOf({it -> it is TestException }) in <lambda>() 46 unhandled = listOf({it -> it is TestException }) in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/ |
D | ScanTest.kt | 16 assertEquals(listOf(1, 3, 6, 10, 15), result) in <lambda>() 23 assertEquals(listOf(emptyList(), listOf(1), listOf(1, 2), listOf(1, 2, 3)), result) in <lambda>() 30 assertEquals(listOf(null, 2, 2, 2, 2, 7), result) in <lambda>()
|
D | ZipTest.kt | 19 assertEquals(listOf("a1", "b2", "c3"), f1.zip(f2, { i, j -> i + j }).toList()) in <lambda>() 26 assertEquals(listOf("a1", "b2", "c3"), f1.zip(f2, { i, j -> i + j }).toList()) in <lambda>() 27 assertEquals(listOf("a1", "b2", "c3"), f2.zip(f1) { i, j -> j + i }.toList()) in <lambda>() 55 assertEquals(listOf("a1", "null2", "null3"), f1.zip(f2, { i, j -> i + j }).toList()) in <lambda>() 62 assertEquals(listOf("a1", "bnull", "cnull"), f1.zip(f2, { i, j -> i + j }).toList()) in <lambda>() 76 assertEquals(listOf("1a", "2b"), f1.zip(f2) { s1, s2 -> s1 + s2 }.toList()) in <lambda>() 91 assertEquals(listOf("a1", "b2"), f2.zip(f1) { s1, s2 -> s1 + s2 }.toList()) in <lambda>() 110 assertEquals(listOf("1a", "2b"), f1.zip(f2) { s1, s2 -> s1 + s2 }.toList()) in <lambda>()
|
D | TransformLatestTest.kt | 18 assertEquals(listOf(1, 2, 2, 3, 3, 4), flow.toList()) in <lambda>() 30 assertEquals(listOf(0, 1, 2, 3, 4), list) in <lambda>() 69 val flow = listOf(1, 2, 3, 4).asFlow() in <lambda>() 75 assertEquals(listOf(42), result) in <lambda>() 158 assertEquals(listOf(1), flow.take(1).toList()) in <lambda>() 170 assertEquals(listOf(1), flow.take(1).toList()) in <lambda>()
|
D | FlatMapLatestTest.kt | 17 assertEquals(listOf(1, 2, 2, 3, 3, 4), flow.toList()) in <lambda>() 27 assertEquals(listOf(0, 1, 2, 3, 4), list) in <lambda>() 61 val flow = listOf(1, 2, 3, 4).asFlow() in <lambda>() 69 assertEquals(listOf(42), result) in <lambda>() 135 assertEquals(listOf(1), flow.take(1).toList()) in <lambda>()
|
D | CombineTest.kt | 24 assertEquals(listOf("a1", "b1", "b2", "c2", "c3"), list) in <lambda>() 32 assertEquals(listOf("a1", "null1", "null2", "null2", "null3"), list) in <lambda>() 40 assertEquals(listOf("anull", "bnull", "b2", "c2", "cnull"), list) in <lambda>() 88 assertEquals(listOf("a1", "b1", "c1", "c2", "c3"), result) in <lambda>() 118 assertEquals(listOf("a1", "b1", "c1", "c2", "c3"), result) in <lambda>() 260 combineOriginal(listOf(this, other)) { args -> transform(args[0] as T1, args[1] as T2) } in combineLatest() 275 …combineTransformOriginal(listOf(this, other)) { args -> emit(transform(args[0] as T1, args[1] as T… in combineLatest()
|
D | SampleTest.kt | 32 assertEquals(listOf("A", "B", "D"), result) in <lambda>() 70 assertEquals(listOf(2, 6, 7), result) in <lambda>() 116 assertEquals(listOf("A", null, null), result) in <lambda>() 147 assertEquals(listOf("A", "B", "C"), result) in <lambda>() 167 assertEquals(listOf(-1, -3, 0, 1, 2, 3), flow.toList()) in <lambda>()
|
D | IndexedTest.kt | 15 … assertEquals(listOf(IndexedValue(0, 3), IndexedValue(1, 2), IndexedValue(2, 1)), flow.toList()) in <lambda>() 30 assertEquals(listOf(IndexedValue(0, 3L), IndexedValue(1, 2L), IndexedValue(2, 1L)), result) in <lambda>()
|
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/ |
D | ShakespearePlaysScrabble.kt | 78 val expected = listOf(120 to listOf("jezebel", "quickly"), 79 118 to listOf("zephyrs"), 116 to listOf("equinox"))
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/channels/ |
D | ChannelFlowTest.kt | 19 assertEquals(listOf(1, 2, 3), flow.toList()) in <lambda>() 29 assertEquals(listOf(1, 2), flow.toList()) in <lambda>() 40 assertEquals(listOf(1, 4), flow.toList()) // two elements in the middle got conflated in <lambda>() 88 assertEquals(listOf(1, 1), f.toList()) in <lambda>() 95 assertEquals(listOf(1, 1), f.toList()) in <lambda>()
|
D | FlowCallbackTest.kt | 15 …fun testClosedPrematurely() = runTest(unhandled = listOf({ e -> e is ClosedSendChannelException })… in <lambda>() 44 assertEquals(listOf(1), flow.toList()) in <lambda>()
|
/external/dokka/core/src/test/kotlin/format/ |
D | KotlinWebSiteFormatTest.kt | 10 …ice = KotlinWebsiteFormatService(fileGenerator, KotlinLanguageService(), listOf(), DokkaConsoleLog… in <lambda>() 62 …RootFromPath("testdata/format/website/$path/jvm.kt"), defaultPlatforms = listOf("JVM"), options = … in <lambda>() 63 …ootFromPath("testdata/format/website/$path/jre7.kt"), defaultPlatforms = listOf("JVM", "JRE7"), op… in <lambda>() 64 …tRootFromPath("testdata/format/website/$path/js.kt"), defaultPlatforms = listOf("JS"), options = o… in <lambda>()
|
D | KotlinWebSiteHtmlFormatTest.kt | 8 …= KotlinWebsiteHtmlFormatService(fileGenerator, KotlinLanguageService(), listOf(), EmptyHtmlTempla… in <lambda>() 73 …romPath("testdata/format/website-html/$path/jvm.kt"), defaultPlatforms = listOf("JVM"), options = … in <lambda>() 74 …omPath("testdata/format/website-html/$path/jre7.kt"), defaultPlatforms = listOf("JVM", "JRE7"), op… in <lambda>() 75 …FromPath("testdata/format/website-html/$path/js.kt"), defaultPlatforms = listOf("JS"), options = o… in <lambda>()
|
D | MarkdownFormatTest.kt | 9 …verride val formatService = MarkdownFormatService(fileGenerator, KotlinLanguageService(), listOf()) in <lambda>() 318 … val service = MarkdownFormatService(fileGenerator, KotlinLanguageService(), listOf("JVM", "JS")) in <lambda>() 337 … contentRootFromPath("testdata/format/$path/jvm.kt"), defaultPlatforms = listOf("JVM"), withKotlin… in <lambda>() 473 … contentRootFromPath("testdata/format/$path/jvm.kt"), defaultPlatforms = listOf("JVM"), options = … in <lambda>() 474 …, contentRootFromPath("testdata/format/$path/js.kt"), defaultPlatforms = listOf("JS"), options = o… in <lambda>() 487 val service = MarkdownFormatService(fileGenerator, KotlinLanguageService(), listOf()) in <lambda>() 489 buildPagesAndReadInto(listOf(model), output) in <lambda>()
|
D | JavaLayoutHtmlFormatTestCase.kt | 67 buildPages(listOf(model)) in <lambda>() 99 … verifyNode(fileName, noStdlibLink) { model -> listOf(model.members.single().members.single()) } in <lambda>() 112 listOf(model.members.single()), in <lambda>()
|
/external/dokka/core/src/main/kotlin/Generation/ |
D | Generator.kt | 19 fun Generator.buildPage(node: DocumentationNode): Unit = buildPages(listOf(node)) in buildPage() 21 fun Generator.buildOutline(node: DocumentationNode): Unit = buildOutlines(listOf(node)) in buildPage() 23 fun Generator.buildAll(node: DocumentationNode): Unit = buildAll(listOf(node)) in buildPage()
|
/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/ |
D | DebugProbesTest.kt | 20 val traces = listOf( in <lambda>() 41 val traces = listOf( in <lambda>() 71 val traces = listOf( in <lambda>()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/logic/ |
D | InferenceContextTest.java | 56 listOfString = listOf(string); in setup() 60 listOfE = listOf(new ResolvedTypeVariable(tpE)); in setup() 63 private ResolvedReferenceType listOf(ResolvedType elementType) { in listOf() method in InferenceContextTest 82 assertEquals(listOf(new InferenceVariableType(0, MyObjectProvider.INSTANCE)), result); in placingASingleVariableInside()
|
/external/guice/core/test/com/google/inject/ |
D | TypeLiteralInjectionTest.java | 20 import static com.google.inject.util.Types.listOf; 89 assertEquals(TypeLiteral.get(listOf(Integer.class)), b.listOfT); in testInjectTypeLiteralWithClassTypes() 90 assertEquals(TypeLiteral.get(listOf(Types.subtypeOf(Integer.class))), b.listOfWildcardT); in testInjectTypeLiteralWithClassTypes()
|
/external/dokka/runners/cli/src/main/kotlin/cli/ |
D | main.kt | 123 val freeArgs: List<String> = Args.parse(arguments, args) ?: listOf() in entry() 125 …uments.samples.isNotEmpty()) arguments.samples.split(File.pathSeparatorChar).toList() else listOf() in entry() 126 …uments.include.isNotEmpty()) arguments.include.split(File.pathSeparatorChar).toList() else listOf() in entry() 129 listOf(SourceLinkDefinitionImpl.parseSourceLinkDefinition(arguments.srcLink)) in entry() 134 listOf() in entry()
|
/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/junit4/ |
D | CoroutinesTimeoutTest.kt | 20 "hangingTest", expectedOutParts = listOf( 27 notExpectedOutParts = listOf("delay", "throwingTest"),
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/ |
D | ProduceConsumeJvmTest.kt | 22 listOf(0, 1, 10, 1000, Channel.UNLIMITED).flatMap { capacity -> in <lambda>() 23 listOf(1, 10, 1000).map { number -> in <lambda>()
|
D | SimpleSendReceiveJvmTest.kt | 25 listOf(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100, 1000).flatMap { n -> in <lambda>() 26 listOf(false, true).map { concurrent -> in <lambda>()
|