- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for checkBinaryCompatibleKotlin (0.15 sec)
-
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt
) assertHasNoInformation() } } @Test fun `from null returning to non-null returning is not breaking (kotlin)`() { checkBinaryCompatibleKotlin( v1 = """ class Source { val someVal: String? = null fun foo(): String? = null } """,
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 9.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jul 11 06:57:51 UTC 2023 - 12.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AnonymousClassesFilteringTest.kt
} } """ ) { assertEmptyReport() } } @Test fun `anonymous classes are excluded (kotlin)`() { checkBinaryCompatibleKotlin( v1 = """ fun some() {} """, v2 = """ fun some() { val anon = object : Runnable {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt
enum class AddedEnum { FOO; $publicMembers } """ @Test fun `added internal members are filtered from the comparison`() { checkBinaryCompatibleKotlin( v1 = existingSource, v2 = internalSource ).assertEmptyReport() } @Test fun `existing internal members made public appear as added`() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jun 27 13:51:10 UTC 2024 - 6.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
abstract class AbstractBinaryCompatibilityTest { @get:Rule val tmpDir = TemporaryFolder() private val rootDir: File get() = tmpDir.root internal fun checkBinaryCompatibleKotlin(v1: String = "", v2: String, block: CheckResult.() -> Unit = {}): CheckResult = runKotlinBinaryCompatibilityCheck(v1, v2) { assertBinaryCompatible() block() }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 16.4K bytes - Viewed (0)