Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 113 for assertDoesNotExist (0.6 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/ScalaAnnotationProcessingIntegrationTest.groovy

            succeeds 'compileScala'
    
            then:
            skipped(':compileJava')
            executedAndNotSkipped(':compileScala')
            new TestFile(testDirectory, 'generated.txt').assertDoesNotExist()
        }
    
        def "processes annotation for Java class if annotation processor is available on processor path"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. 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)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy

            return artifacts
        }
    
        List<VariantMetadataSpec> getVariants() {
            return variants
        }
    
        void assertNotPublished() {
            pomFile.assertDoesNotExist()
            moduleMetadata.file.assertDoesNotExist()
        }
    
        void assertPublished() {
            assert pomFile.assertExists()
            assert parsedPom.groupId == groupId
            assert parsedPom.artifactId == artifactId
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top