Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkBinaryCompatibleKotlin (0.16 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    added("Method", "SourceKt.setFool(boolean)")
                )
            }
    
            // with existing non-incubating file-facade class, new members must be annotated with @Incubating and @since
            checkBinaryCompatibleKotlin(
                v1 = """
                    val existing = "file-facade-class"
                """,
                v2 = """
                    val existing = "file-facade-class"
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
Back to top