Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 111 for assertDoesNotExist (0.3 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryCacheTest.groovy

        def initialisesCacheWhenCacheDirDoesNotExist() {
            given:
            def emptyDir = temporaryFolder.getTestDirectory().file("dir")
    
            expect:
            emptyDir.assertDoesNotExist()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryDependenciesIntegrationTest.groovy

            installation("build/install/main").exec().out == app.englishOutput
    
            and:
            notExecuted ":greetingsSharedLibrary"
            sharedLibrary("build/binaries/greetingsSharedLibrary/greetings").assertDoesNotExist()
        }
    
        @ToBeFixedForConfigurationCache
        def "can have component graph with both static and shared variants of same library"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy

            succeeds("runInWorker")
    
            and:
            assertWorkerExecuted("runInWorker")
    
            and:
            file("bar/foo").text == "foo"
            file("baz/foo").text == "foo"
            file("foo").assertDoesNotExist()
    
            where:
            isolationMode << ISOLATION_MODES
        }
    
        def "workers with injected FileSystemOperations service always resolve files from the project directory using #isolationMode isolation"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLayoutIntegrationTest.groovy

                    'org/gradle/b/ClassB.class'
            )
        }
    
        @Test
        void canUseANonStandardBuildDir() {
            executer.withTasks('build').run()
    
            file('build').assertDoesNotExist()
    
            def results = new DefaultTestExecutionResult(file(), 'target')
            results.assertTestClassesExecuted('PersonTest')
            results.testClass('PersonTest').assertTestsExecuted('ok')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/BinaryNativePlatformIntegrationTest.groovy

                binaryInfo(objectFileFor(file("src/main/cpp/main.cpp"), "build/objs/main/arm/mainCpp")).arch.name == "arm"
            } else {
                executable("build/exe/main/arm/main").assertDoesNotExist()
            }
        }
    
        @RequiresInstalledToolChain(SUPPORTS_32)
        @ToBeFixedForConfigurationCache
        def "can configure binary for multiple target operating systems"() {
            String currentOs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy

            succeeds "compileDebug"
            result.assertTasksExecuted(":compileDebugSwift", ":compileDebug")
            objectFiles(lib)*.assertExists()
            sharedLibrary("build/lib/main/debug/${lib.moduleName}").assertDoesNotExist()
        }
    
        def "build logic can change source layout convention"() {
            given:
            def lib = new SwiftLib()
            settingsFile << "rootProject.name = '${lib.projectName}'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVcsIntegrationTest.groovy

            depCheckout.file('.git').assertExists()
    
            def depDeeperCheckout = checkoutDir('deeperDep', depCommit.id.name, "git-repo:${repo.url.toASCIIString()}", depCheckout)
            depDeeperCheckout.assertDoesNotExist()
    
            def deeperCheckout = checkoutDir('deeperDep', deeperCommit.id.name, "git-repo:${deeperRepo.url.toASCIIString()}")
            deeperCheckout.file('.git').assertExists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy

    Directory '$sub' does not contain a Gradle build.
    """
    
            and:
            sub.file(".gradle").assertIsDir()
            executer.gradleUserHomeDir.file(BuildScopeCacheDir.UNDEFINED_BUILD).assertDoesNotExist()
        }
    
        def "shows help message when run in users home directory"() {
            given:
            useTestDirectoryThatIsNotEmbeddedInAnotherBuild()
    
            // the default, if running from user home dir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 14K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractSourcesAndJavadocJarsIntegrationTest.groovy

            ideFileContainsEntry("groovy-${groovyVersion}.jar", ["groovy-${groovyVersion}-sources.jar"], [])
        }
    
        void assertSourcesDirectoryDoesNotExistInDistribution() {
            gradleDistributionSrcDir().assertDoesNotExist()
        }
    
        private TestFile gradleDistributionSrcDir() {
            return new TestFile(distribution.gradleHomeDir, "src")
        }
    
        def givenGroovyExistsInGradleRepo() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocIntegrationTest.groovy

                }
            """
            when:
            succeeds("javadoc")
            then:
            file("build/docs/javadoc/pkg/Foo.html").assertExists()
            file("build/docs/javadoc/pkg/internal/IFoo.html").assertDoesNotExist()
        }
    
        private TestFile writeSourceFile() {
            file("src/main/java/Foo.java") << "public class Foo {}"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top