Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 109 for assertDoesNotExist (0.2 sec)

  1. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

    model {
        components {
            main(NativeLibrarySpec)
        }
    }
    """
            and:
            succeeds "visualStudio"
    
            when:
            debugBinaryLib.assertDoesNotExist()
            debugBinaryDll.assertDoesNotExist()
            def resultDebug = msbuild
                .withSolution(solutionFile("app.sln"))
                .withConfiguration('win32Debug')
                .succeeds()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LeastRecentlyUsedCacheCleanupTest.groovy

            cleanupAction.clean(cleanableStore, progressMonitor)
    
            then:
            cacheEntries[0].assertExists()
            cacheEntries[1].assertExists()
            cacheEntries[2].assertExists()
            cacheEntries[3].assertDoesNotExist()
            1 * fileAccessTimeJournal.deleteLastAccessTime(cacheEntries[3])
        }
    
        def "finds no files to delete when files are new"() {
            given:
            long now = System.currentTimeMillis()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepTest.groovy

                return delegateResult
            }
    
            then:
            immutableWorkspace.assertDoesNotExist()
            temporaryWorkspace.file("output.txt").assertIsFile()
            temporaryWorkspace.file("origin.bin").assertDoesNotExist()
            0 * _
    
            when:
            def resolvedResult = result.getOutputAs(Object)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 14:32:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingIntegrationTest.groovy

            when:
            buildFile << """compileJava.options.annotationProcessorPath = files()"""
            fails("compileJava")
    
            then:
            file("build/generated-sources/TestAppHelper.java").assertDoesNotExist()
        }
    
        def "generated sources directories track task dependency"() {
            given:
            buildFile << """
                dependencies {
                    compileOnly project(":annotation")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

                    destinationDirectory = buildDir
                    archiveFileName = 'test.tar'
                }
                """
            when:
            run "tar"
    
            then:
            file('build/test.tar').assertDoesNotExist()
        }
    
        def canCopyFromATar() {
            given:
            createTar('test.tar') {
                subdir1 {
                    file 'file1.txt'
                }
                subdir2 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppStaticLibraryLinkageIntegrationTest.groovy

            expect:
            succeeds "compileDebug"
            result.assertTasksExecuted(":compileDebugCpp", ":compileDebug")
            objectFiles(lib.sources)*.assertExists()
            staticLibrary("build/lib/main/debug/hello").assertDoesNotExist()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ReuseArchiveIntegrationTest.groovy

                }
            """
            when:
            succeeds("extract")
            then:
            file("build/extract/hello.txt").text == "hello"
            cachedFile.assertExists()
            otherFile.assertDoesNotExist()
    
            when:
            // write into the directory used by the extracted zip file
            cachedFile.text = "some incorrect pre-existing pre-expanded content"
            otherFile.touch()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativePlatformSamplesIntegrationTest.groovy

            releaseX86.exec().out == "Hello world!\n"
    
            debugX64.arch.name == "x86-64"
            releaseX64.arch.name == "x86-64"
    
            // Itanium not built
            debugIA64.assertDoesNotExist()
            releaseIA64.assertDoesNotExist()
        }
    
        @ToBeFixedForConfigurationCache
        def "tool chains"() {
            given:
            sample toolChains
    
            when:
            run "installMainExecutable"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiBuildExecutionCrossVersionSpec.groovy

                connection.newBuild()
                    .forTasks(clean)
                    .run()
            }
    
            then:
            file('build/libs/test.jar').assertDoesNotExist()
        }
    
        def "receives progress while the build is executing"() {
            file('build.gradle') << '''
    System.out.println 'this is stdout'
    System.err.println 'this is stderr'
    '''
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoKotlinJvmPluginAggregationTest.groovy

            when:
            succeeds(":testCodeCoverageReport")
    
            then:
            file("transitive/build/jacoco/test.exec").assertDoesNotExist()
            file("transitive/build/libs/transitive-1.0.jar").assertExists()
            file("direct/build/jacoco/test.exec").assertExists()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top