- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for assertHasNoWarning (0.08 sec)
-
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt
"Field finalField: From non-nullable to nullable breaking change.", "Method com.example.Source.foo(): From non-null returning to null returning breaking change." ) assertHasNoWarning() assertHasNoInformation() } } @Test fun `from non-null array element returning to null returning is breaking`() { checkNotBinaryCompatibleJava(Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu May 15 17:05:08 UTC 2025 - 18K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt
v2 = """ $publicKotlinMembers const val cathedral = "cathedral" """ ) { assertHasNoInformation() assertHasNoWarning() assertHasErrors( // Kotlin file-facade classes are ignored by the @since rule listOf("Class com.example.SourceKt: Is not annotated with @Incubating."),Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Jun 06 17:52:09 UTC 2025 - 17.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt
"Field finalField: From non-nullable to nullable breaking change.", "Method com.example.Source.foo(): From non-null returning to null returning breaking change." ) assertHasNoWarning() assertHasNoInformation() } } @Test fun `from null accepting to non-null accepting is breaking`() { checkNotBinaryCompatibleJava( v1 = """Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Feb 04 09:55:47 UTC 2025 - 5.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt
"Method com.example.Source.baz(): From non-null returning to null-unmarked returning breaking change.", ) assertHasNoWarning() assertHasNoInformation() } } @Test fun `from null-unmarked returning to non-null returning is not breaking`() { checkBinaryCompatibleJava( v1 = """
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Oct 27 09:26:32 UTC 2025 - 5.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt
).apply { assertHasErrors( *reportedMembers.map { added(it.first, it.second) }.toTypedArray() ) assertHasNoWarning() assertHasNoInformation() } } @Test fun `existing public members made internal appear as removed`() { checkNotBinaryCompatibleKotlin(Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Mar 14 02:17:00 UTC 2025 - 6.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt
"Method com.example.SourceKt.invoke(float,int): Breaking Kotlin modifier change.", "Method com.example.SourceKt.invoke(byte,int): Breaking Kotlin modifier change." ) assertHasNoWarning() assertHasNoInformation() } }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
fun assertEmptyReport() { assertHasNoError() assertHasNoWarning() assertHasNoInformation() } fun assertHasNoError() { assertTrue("Has no error (${richReport.errors})", richReport.errors.isEmpty()) } fun assertHasNoWarning() { assertTrue("Has no warning (${richReport.warnings})", richReport.warnings.isEmpty())Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 18K bytes - Viewed (0)