Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 771 for createfing (0.24 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolverTest.groovy

        }
    
        def "resolves macro include once for each definition of the macro"() {
            given:
            def includeFile1 = sourceDirectory.createFile("test1.h")
            def includeFile2 = sourceDirectory.createFile("test2.h")
            def includeFile3 = sourceDirectory.createFile("test3.h")
    
            macros << macro("TEST", '"test1.h"')
            macros << macro("IGNORE", '"broken"')
            macros << macro("NESTED", '"test2.h"')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy

            where:
            tasks << [["help"], [], [":help"]]
        }
    
        def "shows help message when run in a directory under the root directory of another build"() {
            given:
            settingsFile.createFile()
            def sub = file("sub").createDir()
    
            when:
            executer.inDirectory(sub)
            run "help"
    
            then:
            output.contains """
    > Task :help
    
    Welcome to Gradle ${version}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 14K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

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

            inputFiles.each { it.createFile() }
            def newfile1 = inputDir.file("input12.txt")
            def newfile2 = inputDir.file("input13.txt")
    
            when:
            succeeds("theTask")
            newfile1.createFile()
            inputFiles[2].text = 'Modified file'
            inputFiles[7].delete()
            newfile2.createFile()
    
            then:
            buildTriggeredAndSucceeded()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

                    outputFile = project.file("\${buildDir}/output.txt")
                }
            """
            file('foo').mkdir()
            file('foo/a').createFile()
            file('foo/b').createFile()
            file('bar').mkdir()
            file('bar/a').createFile()
    
            when:
            execute("taskWithInputs")
    
            then:
            executedAndNotSkipped(":taskWithInputs")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

            def watchableHierarchy = file("watchable").createDir()
            def fileOutsideOfWatchableHierarchy = file("outside").file("someFile.txt").createFile()
            def fileInDirectoryIgnoredForWatching = file("cache/some-cache/someFile.txt").createFile()
            ignoredForWatching.add(fileInDirectoryIgnoredForWatching.absolutePath)
    
            when:
            registerWatchableHierarchies([watchableHierarchy])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/local/LocalFileStandInExternalResourceTest.groovy

        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        def "can apply ContentAndMetadataAction to file contents"() {
            def file = tmpDir.createFile("content")
            file.text = "1234"
    
            expect:
            def resource = new LocalFileStandInExternalResource(file, TestFiles.fileSystem())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 14K bytes
    - Viewed (0)
  8. pkg/apis/apps/zz_generated.deepcopy.go

    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
    func (in *ControllerRevision) DeepCopy() *ControllerRevision {
    	if in == nil {
    		return nil
    	}
    	out := new(ControllerRevision)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:09 UTC 2022
    - 24.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/resource/v1alpha2/zz_generated.deepcopy.go

    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContext.
    func (in *PodSchedulingContext) DeepCopy() *PodSchedulingContext {
    	if in == nil {
    		return nil
    	}
    	out := new(PodSchedulingContext)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/extensions/v1beta1/zz_generated.deepcopy.go

    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet.
    func (in *DaemonSet) DeepCopy() *DaemonSet {
    	if in == nil {
    		return nil
    	}
    	out := new(DaemonSet)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *DaemonSet) DeepCopyObject() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 33.2K bytes
    - Viewed (0)
Back to top