Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for _fail (0.29 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            where:
            apiElement | jApiTypeName
            'method'   | 'jApiMethod'
            'field'    | 'jApiField'
        }
    
        def "new incubating API does not fail the check but is reported"() {
            given:
            def rule = withContext(new NewIncubatingAPIRule([:]))
    
            when:
            jApiMethod.annotations >> [incubatingAnnotation]
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

            });
    
            TaskProvider<Sync> userguideFlattenSources = tasks.register("stageUserguideSource", Sync.class, task -> {
                task.setDuplicatesStrategy(DuplicatesStrategy.FAIL);
    
                // TODO: This doesn't allow adoc files to be generated?
                task.from(extension.getUserManual().getRoot(), sub -> {
                    sub.include("**/*.adoc");
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/extensions.kt

        )
    
    fun Dependencies.dependsOn(buildTypeId: RelativeId) {
        dependency(buildTypeId) {
            snapshot {
                onDependencyFailure = FailureAction.FAIL_TO_START
                onDependencyCancel = FailureAction.FAIL_TO_START
            }
        }
    }
    
    fun Dependencies.compileAllDependency(compileAllId: String) {
        // Compile All has to succeed before anything else is started
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                            newClasspath.from(v2.configurations.named("runtimeClasspath"), v2Jar)
    
                            onlyModified.set(false)
                            failOnModification.set(false) // we rely on the rich report to fail
    
                            txtOutputFile.set(file("build/japi-report.txt"))
    
                            richReport {
    
                                title.set("Gradle Binary Compatibility Check")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                include(":successful-report")
                """.trimIndent()
            )
    
            fun File.writeFlakyTest(fail: Boolean) {
                mkdirsAndWriteText(
                    """
                class FlakyTest {
                    @org.junit.jupiter.api.Test
                    public void test() {
                        ${if (fail) "throw new IllegalStateException();" else ""}
                    }
                }
                    """.trimIndent()
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 14 12:35:52 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

    `git push --force origin test-branch`
    
    ### Fixing sanity check failures after public API changes
    
    If your PR includes any changes to the Gradle Public API, it will cause the binary compatibility check to fail.
    The binary compatibility check runs as a part of the broader sanity check.
    The latter runs on every PR and is a prerequisite for merging.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat May 04 07:43:02 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                )
            }
        }
    
        @Test
        fun `should fail if some method was upgraded but it was not actually changed`() {
            checkBinaryCompatibleFailsWithoutReport(
                v1 = {
                    withFile(
                        "java/com/example/Task.java",
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 20.2K bytes
    - Viewed (0)
Back to top