Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for assertHasErrors (2.63 sec)

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

                        @Nullable public final String finalField = null;
                        @Nullable public String foo() { return "bar"; }
                    }
                """
            ) {
                assertHasErrors(
                    "Field nonFinalField: Nullability breaking change.",
                    "Field finalField: From non-nullable to nullable breaking change.",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Feb 04 09:55:47 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt

                        public @$nullUnmarkedAnnotationName String[] baz() { return new String[] {"some", null}; }
                    }
                """
            ) {
                assertHasErrors(
                    "Method com.example.Source.foo(): From non-null returning to null-unmarked returning breaking change.",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Oct 27 09:26:32 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt

                        val someVal: String? = null
                        var someVar: String? = null
                        fun foo(): String? = null
                    }
                """
            ) {
                assertHasErrors(
                    "Method com.example.Source.foo(): From non-null returning to null returning breaking change.",
                    "Method com.example.Source.getSomeVal(): From non-null returning to null returning breaking change.",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Feb 04 09:55:47 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

        fun `existing internal members made public appear as added`() {
    
            checkNotBinaryCompatibleKotlin(
                v1 = internalSource,
                v2 = publicSource
            ).apply {
                assertHasErrors(
                    *reportedMembers.map {
                        added(it.first, it.second)
                    }.toTypedArray()
                )
                assertHasNoWarning()
                assertHasNoInformation()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Mar 14 02:17:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt

                        operator fun String.plus(some: List<Int>): String
                        infix fun Int.plus(some: List<Int>): Int
                    }
                """
            ) {
                assertHasErrors(
                    "Method com.example.Source.plus(java.lang.String,java.util.List): Breaking Kotlin modifier change.",
                    "Method com.example.Source.plus(int,java.util.List): Breaking Kotlin modifier change.",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
Back to top