Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,059 for createfing (0.35 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/tracing_test.go

    		name           string
    		contents       string
    		createFile     bool
    		expectedResult *tracingapi.TracingConfiguration
    		expectedError  *string
    	}{
    		{
    			name:           "empty",
    			createFile:     true,
    			contents:       ``,
    			expectedResult: &tracingapi.TracingConfiguration{},
    			expectedError:  nil,
    		},
    		{
    			name:           "absent",
    			createFile:     false,
    			contents:       ``,
    			expectedResult: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/SourceTaskIntegrationTest.groovy

    class SourceTaskIntegrationTest extends AbstractIntegrationSpec {
        def "can specify source files using a Groovy closure"() {
            given:
            file("src/one.txt").createFile()
            file("src/a/two.txt").createFile()
    
            buildFile << """
                class TestTask extends SourceTask {
                    @TaskAction
                    def list() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 28 09:46:40 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsCompositeBuildTest.groovy

            def initDir = gradleUserHomeDir.createDir('init.d')
            initDir.createFile('broken.gradle') << """
                throw new Exception('BOOM!')
            """
    
            file('foo').createDir().createFile('settings.gradle')
            file('bar').createDir().createFile('settings.gradle')
            settingsFile << """
                includeBuild('foo')
                includeBuild('bar')
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            File resultFile;
    
            path = "hoge.html";
            file = fileTransformer.createFile(path);
            resultFile = new File(fileTransformer.baseDir, path);
            assertEquals(resultFile, file);
            FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes());
    
            path = "foo1/hoge.html";
            file = fileTransformer.createFile(path);
            resultFile = new File(fileTransformer.baseDir, path);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy

            outputContains("configuring root")
            outputContains("creating model with parameter='fetch1' for root project 'root'")
            outputContains("creating model with parameter='fetch2' for root project 'root'")
            outputContains("configuring project ':a'")
            outputContains("creating model with parameter='fetch1' for project ':a'")
            outputContains("creating model with parameter='fetch2' for project ':a'")
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. subprojects/core-api/src/test/groovy/org/gradle/initialization/DistributionInitScriptFinderTest.groovy

        def "locates each script from init.d directory"() {
            def scripts = []
    
            given:
            def script1 = distDir.createFile("init.d/script1.gradle")
            def script2 = distDir.createFile("init.d/script2.gradle")
            distDir.createFile("init.d/readme.txt")
            distDir.createFile("init.d/lib/test.jar")
    
            when:
            finder.findScripts(scripts)
    
            then:
            scripts.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 06 01:29:26 UTC 2020
    - 2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/GradlePluginIntegrationTest.groovy

            setup:
            def externalInitFile = temporaryFolder.createFile("initscripts/path1/anInit.gradle")
            externalInitFile << """
                buildFinished {
                    println "Gradle Plugin received build finished!"
                }
            """
            def anotherExternalInitFile = temporaryFolder.createFile("initscripts/path2/anotherInit.gradle")
            anotherExternalInitFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 18 22:31:11 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/resource/local/UniquePathKeyFileStoreTest.groovy

            setup:
            def file = temporaryFolder.createFile("fsbase/a/a");
    
            when:
            def fileInStore = uniquePathKeyFileStore.add("a/a", action)
    
            then:
            fileInStore.file == file
            0 * action.execute(_)
        }
    
        def "move returns existing file if it already exists"() {
            setup:
            def source = temporaryFolder.createFile("some-file")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Aug 28 21:50:20 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  9. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdaterTest.groovy

            def watchableHierarchy = file("watchable").createDir()
            def watchableContent = watchableHierarchy.file("some/dir/file.txt").createFile()
            def unsupportedFileSystemMountPoint = watchableHierarchy.file("unsupported")
            def unwatchableContent = unsupportedFileSystemMountPoint.file("some/file.txt").createFile()
    
            when:
            registerWatchableHierarchies([watchableHierarchy])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/output/zz_generated.deepcopy.go

    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableUpgrade.
    func (in *AvailableUpgrade) DeepCopy() *AvailableUpgrade {
    	if in == nil {
    		return nil
    	}
    	out := new(AvailableUpgrade)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *AvailableUpgrade) DeepCopyObject() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:01:20 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top