/external/truth/extensions/proto/src/test/java/com/google/common/truth/extensions/proto/ |
D | IterableOfProtosSubjectTest.java | 63 expectThat(listOf(message1)).isNotEmpty(); in testPlain_isEmpty() 65 expectFailureWhenTesting().that(listOf(message1)).isEmpty(); in testPlain_isEmpty() 74 expectThat(listOf(message1, message2)).hasSize(2); in testPlain_hasSize() 76 expectFailureWhenTesting().that(listOf(message1)).hasSize(3); in testPlain_hasSize() 82 expectThat(listOf(message1, message2)).containsNoDuplicates(); in testPlain_containsNoDuplicates() 84 expectFailureWhenTesting().that(listOf(message1, eqMessage1)).containsNoDuplicates(); in testPlain_containsNoDuplicates() 90 expectThat(listOf(message1, message2)).contains(eqMessage2); in testPlain_contains() 91 expectThat(listOf(message1, message2)).doesNotContain(eqIgnoredMessage1); in testPlain_contains() 93 expectFailureWhenTesting().that(listOf(message1, message2)).contains(eqIgnoredMessage1); in testPlain_contains() 96 expectFailureWhenTesting().that(listOf(message1, message2)).doesNotContain(eqMessage1); in testPlain_contains() [all …]
|
D | FieldScopesTest.java | 527 expectThat(listOf(message1, message2)) in testFromSetFields_comparingExpectedFieldsOnly() 531 .that(listOf(message1, message2)) in testFromSetFields_comparingExpectedFieldsOnly() 535 .that(listOf(message1, message2)) in testFromSetFields_comparingExpectedFieldsOnly() 872 expectThat(listOf(message1, message2)) in testFromSetFields_skipNulls() 875 expectThat(listOf(message1, message2)) in testFromSetFields_skipNulls() 881 .that(listOf(message1, message2)) in testFromSetFields_skipNulls() 895 .that(listOf(message1, message2)) in testFromSetFields_skipNulls() 921 expectThat(listOf(message1, message2)) in testFromSetFields_iterables_vacuousIfEmptyOrAllNull() 924 expectThat(listOf(message1, message2)) in testFromSetFields_iterables_vacuousIfEmptyOrAllNull() 929 .that(listOf(message1, message2)) in testFromSetFields_iterables_vacuousIfEmptyOrAllNull() [all …]
|
/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/ |
D | LambdaTypeNameTest.kt | 35 parameters = listOf(), in receiverWithoutAnnotationHasNoParens() 45 annotations = listOf(AnnotationSpec.get(annotation, includeDefaultValues = true)), in receiverWithAnnotationHasParens() 47 parameters = listOf(), in receiverWithAnnotationHasParens() 58 parameters = listOf(), in contextReceiver() 60 contextReceivers = listOf(STRING), in contextReceiver() 70 parameters = listOf(), in nullableFunctionWithContextReceiver() 72 contextReceivers = listOf(STRING), in nullableFunctionWithContextReceiver() 82 parameters = listOf(), in suspendingFunctionWithContextReceiver() 84 contextReceivers = listOf(STRING), in suspendingFunctionWithContextReceiver() 94 listOf(), in functionWithMultipleContextReceivers() [all …]
|
D | AnnotatedTypeNameTest.kt | 68 val type = String::class.asTypeName().copy(annotations = listOf(NEVER_NULL)) in annotatedArgumentOfParameterizedType() 76 val type = String::class.asTypeName().copy(annotations = listOf(NEVER_NULL)) in annotatedWildcardTypeNameWithSuper() 83 val type = String::class.asTypeName().copy(annotations = listOf(NEVER_NULL)) in annotatedWildcardTypeNameWithExtends() 100 type.copy(annotations = listOf(NEVER_NULL)), in annotatedEquivalence() 101 type.copy(annotations = listOf(NEVER_NULL)), in annotatedEquivalence() 103 assertNotEquals(type, type.copy(annotations = listOf(NEVER_NULL))) in annotatedEquivalence() 106 type.copy(annotations = listOf(NEVER_NULL)).hashCode().toLong(), in annotatedEquivalence() 107 type.copy(annotations = listOf(NEVER_NULL)).hashCode().toLong(), in annotatedEquivalence() 111 type.copy(annotations = listOf(NEVER_NULL)).hashCode().toLong(), in annotatedEquivalence() 124 val type = Map.Entry::class.asTypeName().copy(annotations = listOf(typeUseAnnotation)) in annotatedNestedType() [all …]
|
/external/protobuf/java/kotlin/src/test/kotlin/com/google/protobuf/ |
D | Proto3Test.kt | 76 repeatedInt32.addAll(listOf(1, 2)) in testRepeatedGettersAndSetters() 77 assertThat(repeatedInt32).isEqualTo(listOf(1, 2)) in testRepeatedGettersAndSetters() 78 repeatedInt32 += listOf(3, 4) in testRepeatedGettersAndSetters() 79 assertThat(repeatedInt32).isEqualTo(listOf(1, 2, 3, 4)) in testRepeatedGettersAndSetters() 81 assertThat(repeatedInt32).isEqualTo(listOf(5, 2, 3, 4)) in testRepeatedGettersAndSetters() 83 repeatedString.addAll(listOf("1", "2")) in testRepeatedGettersAndSetters() 84 assertThat(repeatedString).isEqualTo(listOf("1", "2")) in testRepeatedGettersAndSetters() 85 repeatedString += listOf("3", "4") in testRepeatedGettersAndSetters() 86 assertThat(repeatedString).isEqualTo(listOf("1", "2", "3", "4")) in testRepeatedGettersAndSetters() 88 assertThat(repeatedString).isEqualTo(listOf("5", "2", "3", "4")) in testRepeatedGettersAndSetters() [all …]
|
D | Proto2Test.kt | 219 repeatedInt32.addAll(listOf(1, 2)) in testRepeatedGettersAndSetters() 220 assertThat(repeatedInt32).isEqualTo(listOf(1, 2)) in testRepeatedGettersAndSetters() 221 repeatedInt32 += listOf(3, 4) in testRepeatedGettersAndSetters() 222 assertThat(repeatedInt32).isEqualTo(listOf(1, 2, 3, 4)) in testRepeatedGettersAndSetters() 224 assertThat(repeatedInt32).isEqualTo(listOf(5, 2, 3, 4)) in testRepeatedGettersAndSetters() 226 repeatedString.addAll(listOf("1", "2")) in testRepeatedGettersAndSetters() 227 assertThat(repeatedString).isEqualTo(listOf("1", "2")) in testRepeatedGettersAndSetters() 228 repeatedString += listOf("3", "4") in testRepeatedGettersAndSetters() 229 assertThat(repeatedString).isEqualTo(listOf("1", "2", "3", "4")) in testRepeatedGettersAndSetters() 231 assertThat(repeatedString).isEqualTo(listOf("5", "2", "3", "4")) in testRepeatedGettersAndSetters() [all …]
|
D | ExtensionListTest.kt | 52 TestProto.repeatedExtension, listOf(1, 2, 3) in matchesList() 132 ExtensionList<Int, ExampleExtensibleMessage>(TestProto.repeatedExtension, listOf(1, 2)) in expectedToString() 141 ExtensionList<Int, ExampleExtensibleMessage>(TestProto.repeatedExtension, listOf(1, 2)), in equality() 142 ExtensionList<Int, ExampleExtensibleMessage>(TestProto.differentExtension, listOf(1, 2)), in equality() 143 listOf(1, 2) in equality() 146 ExtensionList<Int, ExampleExtensibleMessage>(TestProto.repeatedExtension, listOf(2, 2)), in equality() 147 listOf(2, 2) in equality()
|
D | DslListTest.kt | 48 assertThat(DslList<Int, DummyProxy>(listOf(1, 2, 3))).containsExactly(1, 2, 3).inOrder() in matchesList() 113 assertThat(DslList<Int, DummyProxy>(listOf(1, 2)).toString()).isEqualTo("[1, 2]") in expectedToString() 119 .addEqualityGroup(DslList<Int, DummyProxy>(listOf(1, 2)), listOf(1, 2)) in equality() 120 .addEqualityGroup(DslList<Int, DummyProxy>(listOf(2, 2)), listOf(2, 2)) in equality()
|
/external/cronet/third_party/protobuf/java/kotlin/src/test/kotlin/com/google/protobuf/ |
D | Proto3Test.kt | 76 repeatedInt32.addAll(listOf(1, 2)) in testRepeatedGettersAndSetters() 77 assertThat(repeatedInt32).isEqualTo(listOf(1, 2)) in testRepeatedGettersAndSetters() 78 repeatedInt32 += listOf(3, 4) in testRepeatedGettersAndSetters() 79 assertThat(repeatedInt32).isEqualTo(listOf(1, 2, 3, 4)) in testRepeatedGettersAndSetters() 81 assertThat(repeatedInt32).isEqualTo(listOf(5, 2, 3, 4)) in testRepeatedGettersAndSetters() 83 repeatedString.addAll(listOf("1", "2")) in testRepeatedGettersAndSetters() 84 assertThat(repeatedString).isEqualTo(listOf("1", "2")) in testRepeatedGettersAndSetters() 85 repeatedString += listOf("3", "4") in testRepeatedGettersAndSetters() 86 assertThat(repeatedString).isEqualTo(listOf("1", "2", "3", "4")) in testRepeatedGettersAndSetters() 88 assertThat(repeatedString).isEqualTo(listOf("5", "2", "3", "4")) in testRepeatedGettersAndSetters() [all …]
|
D | Proto2Test.kt | 218 repeatedInt32.addAll(listOf(1, 2)) in testRepeatedGettersAndSetters() 219 assertThat(repeatedInt32).isEqualTo(listOf(1, 2)) in testRepeatedGettersAndSetters() 220 repeatedInt32 += listOf(3, 4) in testRepeatedGettersAndSetters() 221 assertThat(repeatedInt32).isEqualTo(listOf(1, 2, 3, 4)) in testRepeatedGettersAndSetters() 223 assertThat(repeatedInt32).isEqualTo(listOf(5, 2, 3, 4)) in testRepeatedGettersAndSetters() 225 repeatedString.addAll(listOf("1", "2")) in testRepeatedGettersAndSetters() 226 assertThat(repeatedString).isEqualTo(listOf("1", "2")) in testRepeatedGettersAndSetters() 227 repeatedString += listOf("3", "4") in testRepeatedGettersAndSetters() 228 assertThat(repeatedString).isEqualTo(listOf("1", "2", "3", "4")) in testRepeatedGettersAndSetters() 230 assertThat(repeatedString).isEqualTo(listOf("5", "2", "3", "4")) in testRepeatedGettersAndSetters() [all …]
|
D | ExtensionListTest.kt | 52 TestProto.repeatedExtension, listOf(1, 2, 3) in matchesList() 132 ExtensionList<Int, ExampleExtensibleMessage>(TestProto.repeatedExtension, listOf(1, 2)) in expectedToString() 141 ExtensionList<Int, ExampleExtensibleMessage>(TestProto.repeatedExtension, listOf(1, 2)), in equality() 142 ExtensionList<Int, ExampleExtensibleMessage>(TestProto.differentExtension, listOf(1, 2)), in equality() 143 listOf(1, 2) in equality() 146 ExtensionList<Int, ExampleExtensibleMessage>(TestProto.repeatedExtension, listOf(2, 2)), in equality() 147 listOf(2, 2) in equality()
|
D | DslListTest.kt | 48 assertThat(DslList<Int, DummyProxy>(listOf(1, 2, 3))).containsExactly(1, 2, 3).inOrder() in matchesList() 113 assertThat(DslList<Int, DummyProxy>(listOf(1, 2)).toString()).isEqualTo("[1, 2]") in expectedToString() 119 .addEqualityGroup(DslList<Int, DummyProxy>(listOf(1, 2)), listOf(1, 2)) in equality() 120 .addEqualityGroup(DslList<Int, DummyProxy>(listOf(2, 2)), listOf(2, 2)) in equality()
|
/external/kotlinx.coroutines/kotlinx-coroutines-debug/src/ |
D | CoroutinesBlockHoundIntegration.kt | 50 for (method in listOf("finalizeFinishingState", "invokeOnCompletion", "makeCancelling", in <lambda>() 61 …for (method in listOf("install", "uninstall", "hierarchyToString", "dumpCoroutinesInfo", "dumpDebu… in <lambda>() 80 for (method in listOf("clear", "peek", "removeFirstOrNull", "addLast")) { in <lambda>() 101 … for (method in listOf("emitSuspend", "awaitValue", "getReplayCache", "tryEmit", "cancelEmitter", in <lambda>() 106 for (method in listOf("getSubscriptionCount", "allocateSlot", "freeSlot")) { in <lambda>() 120 …for (method in listOf("openSubscription", "removeSubscriber", "send", "trySend", "registerSelectFo… in <lambda>() 125 for (method in listOf("cancelImpl")) { in <lambda>() 128 for (method in listOf("cancelImpl")) { in <lambda>() 137 … for (method in listOf("receive", "receiveCatching", "tryReceive", "registerSelectForReceive", in <lambda>() 143 for (method in listOf("hasNext")) { in <lambda>()
|
/external/dagger2/java/dagger/hilt/android/plugin/src/test/kotlin/ |
D | IncrementalProcessorTest.kt | 381 listOf( in <lambda>() 401 listOf( in <lambda>() 450 listOf( in <lambda>() 460 listOf( in <lambda>() 482 listOf( in <lambda>() 494 listOf( in <lambda>() 537 listOf( in <lambda>() 544 listOf( in <lambda>() 566 listOf( in <lambda>() 574 listOf( in <lambda>() [all …]
|
/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(emptyList(), listOf(1), listOf(1, 2), listOf(1, 2, 3)), result) in <lambda>() 37 assertEquals(listOf(null, 2, 2, 2, 2, 7), result) in <lambda>()
|
D | MergeTest.kt | 27 val flow = listOf(flowOf(), flowOf(42), flowOf()).merge() in <lambda>() 34 val list = listOf(flowOf(1), flowOf(null), flowOf(2)).merge().toList() in <lambda>() 35 assertEquals(listOf(1, null, 2), list) in <lambda>() 44 val result = listOf(flow).merge().flowOn(NamedDispatchers("irrelevant")).toList() in <lambda>() 45 assertEquals(listOf("source"), result) in <lambda>() 67 val result = listOf(flow, otherFlow).merge().toList() in <lambda>() 91 val result = listOf(flow, otherFlow).nonFuseableMerge().toList() in <lambda>() 112 val result = listOf(flow.flowOn(NamedDispatchers("1")), flow.flowOn(NamedDispatchers("2"))) in <lambda>() 116 assertEquals(listOf("1", "2"), result) in <lambda>()
|
/external/cronet/third_party/protobuf/java/kotlin-lite/src/test/kotlin/com/google/protobuf/ |
D | Proto2LiteTest.kt | 213 repeatedInt32.addAll(listOf(1, 2)) in testRepeatedGettersAndSetters() 214 assertThat(repeatedInt32).isEqualTo(listOf(1, 2)) in testRepeatedGettersAndSetters() 215 repeatedInt32 += listOf(3, 4) in testRepeatedGettersAndSetters() 216 assertThat(repeatedInt32).isEqualTo(listOf(1, 2, 3, 4)) in testRepeatedGettersAndSetters() 218 assertThat(repeatedInt32).isEqualTo(listOf(5, 2, 3, 4)) in testRepeatedGettersAndSetters() 220 repeatedString.addAll(listOf("1", "2")) in testRepeatedGettersAndSetters() 221 assertThat(repeatedString).isEqualTo(listOf("1", "2")) in testRepeatedGettersAndSetters() 222 repeatedString += listOf("3", "4") in testRepeatedGettersAndSetters() 223 assertThat(repeatedString).isEqualTo(listOf("1", "2", "3", "4")) in testRepeatedGettersAndSetters() 225 assertThat(repeatedString).isEqualTo(listOf("5", "2", "3", "4")) in testRepeatedGettersAndSetters() [all …]
|
/external/protobuf/java/kotlin-lite/src/test/kotlin/com/google/protobuf/ |
D | Proto2LiteTest.kt | 214 repeatedInt32.addAll(listOf(1, 2)) in testRepeatedGettersAndSetters() 215 assertThat(repeatedInt32).isEqualTo(listOf(1, 2)) in testRepeatedGettersAndSetters() 216 repeatedInt32 += listOf(3, 4) in testRepeatedGettersAndSetters() 217 assertThat(repeatedInt32).isEqualTo(listOf(1, 2, 3, 4)) in testRepeatedGettersAndSetters() 219 assertThat(repeatedInt32).isEqualTo(listOf(5, 2, 3, 4)) in testRepeatedGettersAndSetters() 221 repeatedString.addAll(listOf("1", "2")) in testRepeatedGettersAndSetters() 222 assertThat(repeatedString).isEqualTo(listOf("1", "2")) in testRepeatedGettersAndSetters() 223 repeatedString += listOf("3", "4") in testRepeatedGettersAndSetters() 224 assertThat(repeatedString).isEqualTo(listOf("1", "2", "3", "4")) in testRepeatedGettersAndSetters() 226 assertThat(repeatedString).isEqualTo(listOf("5", "2", "3", "4")) in testRepeatedGettersAndSetters() [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/sharing/ |
D | SharedFlowTest.kt | 144 assertEquals(listOf(1), sh.replayCache) in <lambda>() 148 assertEquals(listOf(2), sh.replayCache) in <lambda>() 167 assertEquals(listOf(6), sh.replayCache) in <lambda>() 187 assertEquals(listOf(null), sh.replayCache) in <lambda>() 189 assertEquals(listOf(null), sh.replayCache) in <lambda>() 196 assertEquals(listOf(17), sh.replayCache) in <lambda>() 202 assertEquals(listOf(17), sh.replayCache) in <lambda>() 210 assertEquals(listOf(), sh.replayCache) in <lambda>() 229 assertEquals(listOf(3), sh.replayCache) in <lambda>() 233 assertEquals(listOf(5), sh.replayCache) in <lambda>() [all …]
|
/external/kotlinx.atomicfu/atomicfu/src/jvmTest/kotlin/kotlinx/atomicfu/test/ |
D | TopLevelGeneratedDeclarationsReflectionTest.kt | 21 checkDeclarations(javaClass, listOf( in testNoAccessPrivateTopLevel() 27 checkDeclarations(refVolatileClass, listOf( in testNoAccessPrivateTopLevel() 39 checkDeclarations(javaClass, listOf( in testPrivateTopLevel() 46 checkDeclarations(refVolatileClass, listOf( in testPrivateTopLevel() 58 checkDeclarations(javaClass, listOf( in testPublicTopLevelReflectionTest() 65 checkDeclarations(refVolatileClass, listOf( in testPublicTopLevelReflectionTest() 77 checkDeclarations(javaClass, listOf( in testPackagePrivateTopLevelReflectionTest() 84 checkDeclarations(refVolatileClass, listOf( in testPackagePrivateTopLevelReflectionTest()
|
D | AtomicfuBytecodeTest.kt | 17 …fun testSynchronizedObjectBytecode() = checkBytecode(SynchronizedObjectTest::class.java, listOf(KO… in testSynchronizedObjectBytecode() 23 …fun testAtomicFieldBytecode() = checkBytecode(AtomicFieldTest::class.java, listOf(KOTLINX_ATOMICFU… in testSynchronizedObjectBytecode() 29 …fun testReentrantLockBytecode() = checkBytecode(ReentrantLockTest::class.java, listOf(KOTLINX_ATOM… in testSynchronizedObjectBytecode() 35 fun testTraceUseBytecode() = checkBytecode(TraceUseTest::class.java, listOf(KOTLINX_ATOMICFU)) in testSynchronizedObjectBytecode() 41 …fun testDelegatedPropertiesBytecode() = checkBytecode(DelegatedProperties::class.java, listOf(KOTL… in testSynchronizedObjectBytecode()
|
/external/kotlinx.atomicfu/atomicfu-gradle-plugin/src/test/kotlin/kotlinx/atomicfu/plugin/gradle/test/ |
D | MppProjectTest.kt | 35 executedTasks = listOf( in testPluginApplication() 95 executedTasks = listOf( in testPluginApplication() 103 excludedTasks = listOf( in testPluginApplication() 148 executedTasks = listOf( in testPluginApplication() 156 excludedTasks = listOf( in testPluginApplication() 201 executedTasks = listOf( in testPluginApplication() 206 excludedTasks = listOf( in testPluginApplication()
|
/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>()
|
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/ |
D | AtomicArrayTest.kt | 94 val l1 = listOf(listOf("a", "bb", "ccc"), listOf("a", "bb")) in testRefArray() 95 val l2 = listOf(listOf("1", "22", "333"), listOf("1", "22")) in testRefArray() 99 A.mapArr[0].value = mapOf(listOf("A", "B") to "C") in testRefArray() 115 val l1 = listOf("a", "bb", "ccc") in extendedApiTest() 116 val l2 = listOf("dddd") in extendedApiTest() 117 val l3 = listOf("a", "bb", "ccc", "dddd") in extendedApiTest()
|
/external/jazzer-api/agent/src/test/java/com/code_intelligence/jazzer/instrumentor/ |
D | DescriptorUtilsTest.kt | 40 val testCases = listOf( in testExtractTypeDescriptors() 43 listOf("Ljava/lang/Object;"), in testExtractTypeDescriptors() 48 listOf("Z", "I", "Ljava/lang/String;", "I", "I"), in testExtractTypeDescriptors() 53 listOf("I", "I", "[C", "I"), in testExtractTypeDescriptors() 58 listOf("I", "I"), in testExtractTypeDescriptors()
|