Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 771 for SKIPPED (0.17 sec)

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

            runWork()
    
            then: 'it is skipped because UP-TO-DATE'
            result.assertTaskSkipped ':runWork'
            outputContains ':runWork UP-TO-DATE'
    
            and:
            outputDoesNotContain expectedOutput
    
            when: 'the outputs are deleted'
            file('build').deleteDir()
    
            and: 'task runs for the 3rd time'
            runWork()
    
            then: 'it is skipped because FROM-CACHE'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/RequiresInstalledToolChainExtension.groovy

            final available = isToolChainAvailable(annotation)
            spec.skipped |= !available
        }
    
        @Override
        void visitFeatureAnnotation(RequiresInstalledToolChain annotation, FeatureInfo feature) {
            final available = isToolChainAvailable(annotation)
            feature.skipped |= !available
        }
    
        private static boolean isToolChainAvailable(RequiresInstalledToolChain annotation) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy

            then:
            listCacheFiles().any { it.name == cacheOperations.getCacheKeyForTask(taskPath) }
    
            when:
            withBuildCache().run("clean", "cacheable")
    
            then:
            skipped ":cacheable"
        }
    
        def "task is cacheable after previous failure"() {
            buildFile << """
                task foo {
                    def outFile = project.file("out.txt")
                    outputs.file(outFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskFailOnNoTestIntegrationTest.groovy

            expect:
            succeeds("test")
        }
    
        def "test is skipped if no test source detected"() {
            buildFile << "apply plugin: 'java'"
    
            file("src/test/java/not_a_test.txt")
    
            when:
            succeeds("test")
    
            then:
            skipped(":test")
        }
    
        def createBuildFileWithJUnitJupiter() {
            buildFile << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractTaskRelocationIntegrationTest.groovy

            then:
            executedAndNotSkipped taskName
    
            when:
            succeeds taskName
            then:
            skipped taskName
    
            when:
            moveFilesAround()
            succeeds taskName
            then:
            skipped(taskName)
    
            when:
            removeResults()
            succeeds taskName
            def movedResults = extractResults()
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/results/DefaultTestResultTest.groovy

            state.completed(new TestCompleteEvent(200L, ResultType.SKIPPED))
    
            when:
            def result = new DefaultTestResult(state)
    
            then:
            result.getStartTime() == 100L
            result.getEndTime() == 200L
            result.resultType == ResultType.SKIPPED
            result.exceptions == state.failures.collect { it.rawFailure }
            result.testCount == state.testCount
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy

            testClass("Thing")
    
            then:
            succeeds "testReport"
    
            // verify incremental behavior on 2nd invocation
            succeeds "testReport"
            skipped ":testReport"
        }
    
        def "test report task is skipped when there are no results"() {
            given:
            buildFile << """
                ${junitSetup}
                tasks.register('testReport', TestReport) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy

            def taskOutput = getTaskOutput(result)
            matchesTaskOutput(taskOutput, testLogEventRegex(TestLogEvent.FAILED.consoleMarker))
        }
    
        def "can group skipped test log event with task if configured"() {
            given:
            buildFile << testLoggingEvents(TestLogEvent.SKIPPED.testLoggingIdentifier)
    
            file(JAVA_TEST_FILE_PATH) << """
                import org.junit.Test;
                import org.junit.Ignore;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 14:21:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskInputFilePropertyBuilder.java

         */
        TaskInputFilePropertyBuilder skipWhenEmpty();
    
        /**
         * Sets whether executing the task should be skipped if the property contains no files.
         * If there are multiple properties with {code skipWhenEmpty = true}, then they all need to be empty for the task to be skipped.
         */
        TaskInputFilePropertyBuilder skipWhenEmpty(boolean skipWhenEmpty);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 13 17:35:59 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/UnsupportedWithConfigurationCacheExtension.groovy

            if (GradleContextualExecuter.isConfigCache()) {
                if (isAllIterations(annotation.iterationMatchers()) && isEnabledBottomSpec(annotation.bottomSpecs(), { spec.bottomSpec.name == it })) {
                    spec.skipped = true
                } else {
                    spec.features.each { feature ->
                        feature.getFeatureMethod().addInterceptor(new IterationMatchingMethodInterceptor(annotation.iterationMatchers()))
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 08:57:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top