Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 300 for taskname (0.42 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractAndroidSantaTrackerSmokeTest.groovy

                    }
            }
    
            boolean allOutcomesMatched = true
            outcomesWithMatchingTasks.each { taskName, expectedOutcome ->
                def taskOutcome = result.task(taskName)?.outcome
                if (taskOutcome != expectedOutcome) {
                    println "> Task '$taskName' was $taskOutcome but should have been $expectedOutcome"
                    allOutcomesMatched = false
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. platforms/software/plugins-version-catalog/src/integTest/groovy/org/gradle/catalog/VersionCatalogPluginApplicationIntegrationTest.groovy

        def setup() {
            def pluginBuilder = new PluginBuilder(testDirectory.file("plugin"))
    
            def message = "from plugin"
            def taskName = "pluginTask"
    
            pluginBuilder.addPluginWithPrintlnTask(taskName, message, "org.example.plugin")
            pluginBuilder.publishAs("org.example.plugin:plugin:1.0.0", mavenRepo, executer)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

            buildFile << """
                tasks.addRule("create some tasks") { taskName ->
                    if (taskName == "bar") {
                        tasks.register("bar")
                    } else if (taskName == "baz") {
                        tasks.create("baz")
                    } else if (taskName == "notByRule") {
                        tasks.register("notByRule") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

            }
    
            features {
                publishBuildStatusToGithub(model)
            }
    
            val performanceResultsDir = "perf-results"
            val performanceProjectName = "performance"
    
            val taskName = if (performanceTestSpec.type == PerformanceTestType.flakinessDetection)
                "performanceTestFlakinessReport"
            else
                "performanceTestReport"
    
            artifactRules = """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:42 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

        val testType = TestType.CROSSVERSION
        val defaultExecuter = "embedded"
        val prefix = testType.prefix
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {
                this.setSystemPropertiesOfTestJVM("latest")
                this.systemProperties["org.gradle.integtest.crossVersion"] = "true"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy

                }
    
            def tasks = ['Task :compileJava', 'Task :compileMain2Java']
            taskOperations.keySet() == tasks.toSet()
            tasks.eachWithIndex { taskName, index ->
                def operation = taskOperations[taskName] as BuildOperationRecord
                assert operation["progress"].find { BuildOperationRecord.Progress progress ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ConfigurationBuildDependenciesIntegrationTest.groovy

            run taskName
    
            then:
            executed ":lib", ":child:jar", ":child:lib", ":$taskName"
    
            where:
            taskName               | _
            "direct"               | _
            "fileCollection"       | _
            "ownDependencies"      | _
            "allDependencies"      | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

                }
                """
            )
    
            val taskName = ":writeInputToFile"
    
            build(taskName, "-PinputString=string1").assertTasksExecutedAndNotSkipped(taskName)
    
            build(taskName, "-PinputString=string1").assertTasksSkipped(taskName)
    
            build(taskName, "-PinputString=string2").assertTasksExecutedAndNotSkipped(taskName)
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheStandardStreamsIntegrationTest.groovy

                    super.connect(snk)
                    write(message.bytes)
                    close()
                }
            })
        }
    
        String makeTask(Map<String, String> args, String taskName) {
            return "${taskName}Task"(args)
        }
    
        @SuppressWarnings('unused')
        // called by string
        def execTask(Map<String, String> args) {
            """
                tasks.register("run", Exec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. testing/integ-test/src/integTest/groovy/org/gradle/integtests/CacheProjectIntegrationTest.groovy

            return resolverArtifactCache.file("commons-io/commons-io/")
        }
    
        private def testBuild(String taskName, String expected, String... args) {
            executer.inDirectory(projectDir).withTasks(taskName).withArguments(args).run()
            assertEquals(expected, projectDir.file(TEST_FILE).text)
            updateCaches()
            classFile.assertIsFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top