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/SinceAndIncubatingRulesKotlinTest.kt

               $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."),
    
                    added("Field", "cathedral"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
    
            fun assertHasErrors(vararg errors: List<String>) {
                assertHasErrors(*errors.toList().flatten().toTypedArray())
            }
    
            fun assertHasErrors(vararg errorWithDetail: Pair<String, List<String>>) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                                public abstract Property<String> getSourceCompatibility();
                            }
                        """
                    )
                }
            ) {
                assertHasErrors(
                    "Method com.example.Task.getSourceCompatibility(): Is not binary compatible." to listOf("Method return type has changed", "Method is now abstract"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top