Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkBinaryCompatible (0.1 sec)

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

                )
            }
        }
    
        @Test
        fun `should automatically accept binary incompatibilities for upgraded properties`() {
            checkBinaryCompatible(
                v1 = {
                    withFile(
                        "java/com/example/TaskInterface.java",
                        """
                            package com.example;
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    newApi("Method", "SourceKt.setFool(boolean)")
                )
            }
    
            // new file-facade class can be annotated with @Incubating, members must be annotated with @since
            checkBinaryCompatible(
                v2 = {
                    withFile(
                        "kotlin/com/example/Source.kt",
                        """
                        @file:Incubating
                        package com.example
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            runJavaBinaryCompatibilityCheck(v1, v2) {
                assertNotBinaryCompatible()
                block()
            }
    
        internal
        fun checkBinaryCompatible(v1: File.() -> Unit = {}, v2: File.() -> Unit = {}, block: CheckResult.() -> Unit = {}): CheckResult =
            runBinaryCompatibilityCheck(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