Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for assertHasErrors (0.08 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/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)
  4. 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