Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,561 for succeeds (0.14 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalCompileIntegrationTest.groovy

             """
            outputs.snapshot { succeeds("compileDebugSwift") }
    
            when:
            main.replace("a: 5, b: 7", "a: 21, b: 21")
            and:
            succeeds("assemble")
    
            then:
            outputs.recompiledFile(main)
    
            when:
            outputs.snapshot()
            main.replace("a: 21, b: 21", "a: 5, b: 7")
            succeeds("compileDebugSwift")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformInputArtifactIntegrationTest.groovy

                    }
                }
            """
    
            when:
            succeeds(":a:resolve")
    
            then:
            result.assertTasksNotSkipped(":b:producer", ":c:producer", ":a:resolve")
            transformed("b.jar", "c.jar")
            outputContains("result = [b.jar.green, c.jar.green]")
    
            when:
            succeeds(":a:resolve")
    
            then: // no change, should be up to date
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 27 19:15:32 UTC 2023
    - 51.9K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLifecycleTest.groovy

                        println "Existing worker daemons: \${idle} idle out of \${all} total"
                    }
                }
            """
    
            when:
            succeeds "runInWorker1"
    
            and:
            succeeds "runInWorker2"
    
            then:
            assertDifferentDaemonsWereUsed("runInWorker1", "runInWorker2")
        }
    
        def "worker daemons can be restarted when daemon is stopped"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeMultipleSwiftProjectIntegrationTest.groovy

            app.logLibrary.writeToProject(file("log"))
            app.application.writeToProject(file("app"))
            succeeds("xcode")
    
            when:
            xcodebuild
                .withWorkspace(rootXcodeWorkspace)
                .withScheme('App')
                .succeeds()
    
            then:
            exe("app/build/exe/main/debug/App").assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

            when:
            async {
                start {
                    succeeds("a")
                }
                start {
                    succeeds("b")
                }
                server.waitForRequests(2)
                succeeds("c")
                start {
                    succeeds("d")
                }
                start {
                    succeeds("e")
                }
                handle.waitForAllPendingCalls()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildIntegrationTest.groovy

            """
    
            then:
            succeeds installApp
    
            and:
            assert install.exec().out == "one"
    
            when:
            succeeds installApp
            appObjects.snapshot()
            libObjects.snapshot()
    
            then:
            allSkipped()
    
            when:
            headerFile.replace('one', 'two')
            succeeds installApp
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy

            when:
            succeeds project.customTask
            then:
            executedAndNotSkipped(project.customTask)
    
            when:
            succeeds project.customTask
            then:
            skipped(project.customTask)
    
            when:
            ignoredResource.changeContents()
            succeeds project.customTask
            then:
            skipped(project.customTask)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/nativeplatform/tasks/AbstractUnexportMainSymbolIntegrationTest.groovy

            expect:
            succeeds("clean", "unexport")
        }
    
        @Issue("https://github.com/gradle/gradle-native/issues/297")
        @ToBeFixedForConfigurationCache
        def "unexport is incremental"() {
            makeSingleProject()
            componentUnderTest.writeToProject(testDirectory)
    
            when:
            succeeds("unexport")
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractIncrementalTestIntegrationTest.groovy

            file('src/test/java/Broken.java').assertIsFile().delete()
    
            then:
            succeeds('test')
        }
    
        def executesTestsWhenSourceChanges() {
            given:
            file('src/main/java/MainClass.java') << """
                class MainClass { }
            """.stripIndent()
            succeeds('test')
    
            when:
            // Change a production class
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

                  doLast {}
                }
            """
    
            then:
            succeeds("a")
            executed(":a")
    
            when:
            aFile << "original"
    
            then:
            buildTriggeredAndSucceeded()
            executed(":a")
    
            and:
            succeeds("b")
            executed(":b")
    
            when:
            waitBeforeModification(aFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
Back to top