Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 3,561 for succeeds (0.22 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

                        }
                    }
                }
            """
            blockingHttpServer.expectConcurrent("workItem0", "workItem1", "workItem2")
    
            expect:
            args("--max-workers=3")
            succeeds("parallelWorkTask")
    
            where:
            isolationMode           | waitForResults
            'noIsolation'           | true
            'noIsolation'           | false
            'processIsolation'      | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ReproducibleArchivesIntegrationTest.groovy

                    dirPermissions {}
                }
                """
    
            when:
            succeeds taskName
    
            def archive = file("build/test.${fileExtension}")
            then:
            def firstFileHash = archive.md5Hash
    
            when:
            file('dir1/file11.txt').makeOlder()
            archive.delete()
            succeeds taskName
    
            then:
            archive.md5Hash == firstFileHash
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomBinaryTasksIntegrationTest.groovy

                }
            }
            apply plugin:MyOtherBinariesPlugin
    """
            when:
            succeeds "sampleLibBinaryOne"
    
            then:
            result.assertTasksExecuted(":sampleLibBinaryOne")
    
            when:
            succeeds "sampleLibOtherBinary"
    
            then:
            result.assertTasksExecuted(":sampleLibOtherBinaryOtherTask", ":sampleLibOtherBinary")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaSourceIncrementalCompilationIntegrationTest.groovy

                module foo {
                    requires java.logging;
                }
            """
            outputs.snapshot { succeeds language.compileTaskName }
    
            when:
            source("package constant; public class Const { public static final String CONST = \"raw-types\"; }")
            succeeds language.compileTaskName
    
            then:
            outputs.recompiledClasses('Const', 'Foo', 'module-info')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:44:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy

                        }
                    }
                }
            """
    
            when:
            succeeds TEST_AND_JACOCO_COVERAGE_VERIFICATION_TASK_PATHS
    
            then:
            executedAndNotSkipped(TEST_AND_JACOCO_COVERAGE_VERIFICATION_TASK_PATHS)
    
            when:
            succeeds TEST_AND_JACOCO_COVERAGE_VERIFICATION_TASK_PATHS
    
            then:
            executed(JACOCO_COVERAGE_VERIFICATION_TASK_PATH)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestTaskIntegrationTest.groovy

        def "compiles and executes a Java 9 test suite"() {
            given:
            buildFile << java9Build()
    
            file('src/test/java/MyTest.java') << standaloneTestClass
    
            when:
            succeeds 'test'
    
            then:
            noExceptionThrown()
    
            and:
            classFormat(classFile('java', 'test', 'MyTest.class')) == 53
    
        }
    
        @Requires(UnitTestPreconditions.Jdk9OrLater)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIssuesIntegTest.groovy

            }
            publications {
                pub(MavenPublication) {
                    artifact file("${artifactPath}")
                }
            }
        }
        """
    
            when:
            succeeds 'publish'
    
            then:
            def shaOneFile = module.moduleDir.file("publish-2.bin.sha1")
            shaOneFile.exists()
            shaOneFile.text == "00e14c6ef59816760e2c9b5a57157e8ac9de4012"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 19:31:52 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy

                }
            """
    
            when:
            succeeds("compileAll")
    
            then:
            executedAndNotSkipped "${compileTaskPath('main')}", "${compileTaskPath('main2')}"
    
            and:
            assertOneCompilerDaemonIsRunning()
    
            when:
            executer.withWorkerDaemonsExpirationDisabled()
            succeeds("clean", "compileAll")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftStaticLibraryLinkageIntegrationTest.groovy

            """
            library.writeToProject(testDirectory)
    
            when:
            succeeds('assembleDebug')
    
            then:
            result.assertTasksExecuted(':compileDebugSwift', ':createDebug', ':assembleDebug')
            staticLibrary('build/lib/main/debug/Foo').assertExists()
    
            when:
            succeeds('assembleRelease')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

            2.times {
                // TODO - should fail
                succeeds 'b', 'a'
            }
        }
    
        void 'finalizer tasks are executed as expected in parallel builds'() {
            setupMultipleProjects()
            executer.beforeExecute {
                withArguments('--parallel')
            }
    
            expect:
            2.times {
                succeeds 'a'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
Back to top