Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 113 for assertDoesNotExist (0.25 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/AntProjectIntegrationTest.groovy

    task ant(dependsOn: target1)
    """
            TestFile target1File = testFile('build/target1.txt')
            TestFile target2File = testFile('build/target2.txt')
            target1File.assertDoesNotExist()
            target2File.assertDoesNotExist()
    
            inTestDirectory().withTasks('ant').run().assertTasksExecutedInOrder(':initialize', ':target2', ':target1', ':ant')
    
            target1File.assertExists()
            target2File.assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoCachingIntegrationTest.groovy

            executedAndNotSkipped ":test", ":jacocoTestReport", ":jacocoTestCoverageVerification"
            reportFile.assertIsFile()
    
            when:
            succeeds "clean"
            then:
            reportFile.assertDoesNotExist()
    
            when:
            withBuildCache().run "jacocoTestReport", "jacocoTestCoverageVerification"
            then:
            skipped ":test", ":jacocoTestReport", ":jacocoTestCoverageVerification"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/java/SamplesJavaTestingIntegrationTest.groovy

            dslDir.file("build/my-test-results/test").directory
            dslDir.file("build/test-results/test").assertDoesNotExist()
    
            and: "the reports are in the custom directory"
            dslDir.file("my-reports").directory
            getStandardTestReportDir(dslDir, "", "").assertDoesNotExist()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample("testing/testReport")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

            then:
            dir.assertDoesNotExist()
            didWork
        }
    
        def "deletes file"() {
            given:
            TestFile dir = tmpDir.getTestDirectory()
            TestFile file = dir.file("someFile")
            file.createFile()
    
            when:
            boolean didWork = deleter.deleteRecursively(file)
    
            then:
            file.assertDoesNotExist()
            didWork
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:40:48 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesArchivesIntegrationTest.groovy

            succeeds("unpackLibsDirectory")
    
            then:
            def outputDir = dslDir.file("build/resources")
            outputDir.file("libs/first.txt").assertDoesNotExist()
            outputDir.file("libs/other.txt").assertDoesNotExist()
            outputDir.file("docs.txt").assertDoesNotExist()
            outputDir.file("first.txt").isFile()
            outputDir.file("other.txt").isFile()
    
            where:
            dsl << ['groovy', 'kotlin']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleSwiftProjectIntegrationTest.groovy

                library.linkage = [Linkage.STATIC]
            """
    
            lib.writeToProject(testDirectory)
            succeeds("xcode")
    
            when:
            debugBinary.assertDoesNotExist()
            def resultDebug = xcodebuild
                .withProject(rootXcodeProject)
                .withScheme('App')
                .succeeds()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 31.3K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/testFixtures/groovy/org/gradle/buildinit/plugins/fixtures/ScriptDslFixture.groovy

        }
    
        void assertGradleFilesNotGenerated(TestFile parentFolder = rootDir) {
            getBuildFile(parentFolder).assertDoesNotExist()
            getSettingsFile(parentFolder).assertDoesNotExist()
            getVersionCatalogFile().assertDoesNotExist()
            assertWrapperFilesNotGenerated(parentFolder)
        }
    
        void assertWrapperFilesNotGenerated(TestFile parentFolder = rootDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 00:45:16 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLifecyclePluginIntegrationTest.groovy

            then:
            configurationCache.assertStateStored()
    
            and:
            buildDir.assertDoesNotExist()
    
            when:
            buildDir.mkdir()
            configurationCacheRun 'clean'
    
            then:
            configurationCache.assertStateLoaded()
    
            and:
            buildDir.assertDoesNotExist()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. 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)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleCppProjectIntegrationTest.groovy

            buildFile << """
                apply plugin: 'cpp-application'
            """
    
            app.writeToProject(testDirectory)
            succeeds("xcode")
    
            when:
            debugBinary.assertDoesNotExist()
            def resultDebug = xcodebuild
                .withProject(rootXcodeProject)
                .withScheme('App')
                .succeeds()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 27.7K bytes
    - Viewed (0)
Back to top