Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkNotBinaryCompatibleJava (0.24 sec)

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

    import org.junit.Test
    
    
    class NullabilityChangesTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `from non-null returning to null returning is breaking (java)`() {
    
            checkNotBinaryCompatibleJava(
                v1 = """
                    public class Source {
                        public String nonFinalField = "some";
                        public final String finalField = "some";
    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/AbstractBinaryCompatibilityTest.kt

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