Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for assertHasWarnings (0.15 seconds)

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

                    "Method com.example.Source.getSomeVar(): From non-null returning to null returning breaking change."
                )
                assertHasWarnings(
                    "Method com.example.Source.setSomeVar(java.lang.String): Parameter 0 nullability changed from non-nullable to nullable"
                )
                assertHasNoInformation()
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt

                        public String[] baz(String bar) { return new String[] {bar}; }
                    }
                """
            ) {
                assertHasNoError()
                assertHasWarnings(
                    "Method com.example.Source.foo(java.lang.String): Return nullability changed from null-unmarked to non-nullable",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt

                        public String foo(String bar) { return bar; }
                    }
                """
            ) {
                assertHasNoError()
                assertHasWarnings(
                    "Field finalField: Nullability changed from nullable to non-nullable",
                    "Method com.example.Source.foo(java.lang.String): Return nullability changed from nullable to non-nullable"
                )
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top