Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkBinaryCompatibleJava (0.14 sec)

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

    import org.junit.Test
    
    
    class AnonymousClassesFilteringTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `anonymous classes are excluded (java)`() {
    
            checkBinaryCompatibleJava(
                v1 = """
                    public class Source {
                        public void some() {}
                    }
                """,
                v2 = """
                    public class Source {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

                )
                assertHasNoInformation()
            }
        }
    
        @Test
        fun `from null returning to non-null returning is not breaking (java)`() {
    
            checkBinaryCompatibleJava(
                v1 = """
                    public class Source {
                        @Nullable public final String finalField = null;
                        @Nullable public String foo(String bar) { return bar; }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            runKotlinBinaryCompatibilityCheck(v1, v2) {
                assertNotBinaryCompatible()
                block()
            }
    
        internal
        fun checkBinaryCompatibleJava(v1: String = "", v2: String, block: CheckResult.() -> Unit = {}): CheckResult =
            runJavaBinaryCompatibilityCheck(v1, v2) {
                assertBinaryCompatible()
                block()
            }
    
        internal
    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