Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assertHasErrors (0.06 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.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 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/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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jun 27 13:51:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
Back to top