Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
Back to top