Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for assertDoesNotExist (0.34 sec)

  1. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy

            when:
            result = runWithMostRecentFinalRelease(JAR_TASK_NAME)
    
            then:
            javaProject.assertBuildTasksExecuted(result)
            javaProject.mainClassFile.assertDoesNotExist()
            javaProject.redundantClassFile.assertDoesNotExist()
            javaProject.assertJarHasDescendants(javaProject.mainClassFile.name, javaProject.redundantClassFile.name)
            javaProject.mainClassFileAlternate.assertIsFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

            // FIXME Loading from cache destroys the overlap directory, but the task should not be loaded from cache
            fileTaskOutput.assertDoesNotExist()
            localStateDirTaskOutput.assertExists()
            // Task was loaded from cache, so local state was removed
            localStateDirTaskState.assertDoesNotExist()
            // fileTask can be from the cache, but the dirTask cannot due to a cache miss
            result.assertTaskSkipped(localStateDirTask)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/cache/internal/GradleUserHomeCleanupServiceTest.groovy

            def currentDist = createDistributionChecksumDir(currentVersion).parentFile
    
            when:
            cleanupService.cleanup()
    
            then:
            oldCacheDir.assertDoesNotExist()
            oldDist.assertDoesNotExist()
            currentCacheDir.assertExists()
            currentDist.assertExists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:46:34 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

            // start as new process so journal is not restored from in-memory cache
            executer.withTasks('help').start().waitForFinish()
    
            then:
            resource.assertDoesNotExist()
            files[0].assertDoesNotExist()
            files[1].assertDoesNotExist()
    
            and: // deletes empty parent directories
            findFiles(cacheDir, 'resources-*/*').isEmpty()
            findFiles(cacheDir, 'files-*/*').isEmpty()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsContinuousIntegrationTest.groovy

            succeeds("foo")
            file('build/foo/foo').text == 'bar'
            getGcFile(currentCacheDir).assertDoesNotExist()
    
            when:
            file('foo').text = 'baz'
    
            then:
            buildTriggeredAndSucceeded()
            file('build/foo/foo').text == 'baz'
            getGcFile(currentCacheDir).assertDoesNotExist()
    
            when:
            sendEOT()
    
            then:
            waitForNotRunning()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileCompatibilityIntegrationTest.groovy

            withInstallations(jdk).fails(":compileJava")
    
            then:
            failure.assertHasErrorOutput("Parent.java:3: error: sealed classes are not supported in -source 11")
            javaClassFile("Parent.class").assertDoesNotExist()
        }
    
        def "source compatibility matching the compiler version allows accessing Java language features"() {
            def jdk = AvailableJavaHomes.getJdk(JavaVersion.VERSION_17)
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy

            assert throwable.message.contains("Test of distribution url ${url} failed. Please check the values set with --gradle-distribution-url and --gradle-version.")
            file("gradle/wrapper/gradle-wrapper.properties").assertDoesNotExist()
        }
    
        def "wrapper task succeeds if http distribution url from command-line is valid"() {
            given:
            def path = "/distributions/8.0-rc-5"
            def file = file(path) << "some content"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

            file("build/output/missing").assertDoesNotExist()
    
            when:
            cleanBuildDir()
            withBuildCache().run "customTask"
            then:
            skipped ":customTask"
            file("build/output.txt").text == "data"
            file("build/output").assertIsDir()
            file("build/output/missing").assertDoesNotExist()
    
            where:
            type << ["file", "dir"]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/JavaProjectIntegrationTest.groovy

            then:
            testFile("build/resources/main/prod.resource").assertExists()
            testFile("build/classes/java/main/prod.resource").assertDoesNotExist()
    
            testFile("build/resources/test/test.resource").assertExists()
            testFile("build/classes/java/test/test.resource").assertDoesNotExist()
    
            testFile("build/classes/java/main/Main.class").assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

            result.assertTaskNotExecuted(':application:testAggregateTestReport')
    
            file("application/build/reports/tests/unit-test/aggregated-results").assertDoesNotExist()
        }
    
        def 'test verification failure creates aggregated report with --continue flag'() {
            given:file("application/build.gradle") << """
                apply plugin: 'org.gradle.test-report-aggregation'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top