Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 469 for createfing (0.47 sec)

  1. pkg/volume/util/atomic_writer_test.go

    	if err != nil {
    		t.Fatalf("unexpected error creating tmp dir: %v", err)
    	}
    	defer os.RemoveAll(targetDir)
    
    	_, err = NewAtomicWriter(targetDir, "-test-")
    	if err != nil {
    		t.Fatalf("unexpected error creating writer for existing target dir: %v", err)
    	}
    
    	nonExistentDir, err := utiltesting.MkTmpdir("atomic-write")
    	if err != nil {
    		t.Fatalf("unexpected error creating tmp dir: %v", err)
    	}
    	err = os.Remove(nonExistentDir)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/DefaultModuleRegistryTest.groovy

        }
    
        def "ignores jars which have the same prefix as an external module"() {
            given:
            distDir.createFile("dep-launcher-1.2.jar")
            distDir.createFile("dep-launcher-1.2-beta-3.jar")
            def registry = new DefaultModuleRegistry(classLoaderFor([]), ClassPath.EMPTY, new GradleInstallation(distDir))
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r52/CppModelCrossVersionSpec.groovy

                }
            """
            def headerDir = file('src/main/headers')
            def src1 = file('src/main/cpp/app.cpp').createFile()
            def src2 = file('src/main/cpp/app-impl.cpp').createFile()
    
            when:
            def project = withConnection { connection -> connection.getModel(CppProject.class) }
    
            then:
            project.projectIdentifier.projectPath == ':'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildRegistryTest.groovy

            given:
            def rootDir = tmpDir.createDir("root")
            rootDir.file("buildSrc/build.gradle").createFile()
    
            def rootBuild = rootBuild(rootDir)
            registry.attachRootBuild(rootBuild)
    
            def parentDir = rootDir.file("parent").createDir()
            parentDir.file("buildSrc/build.gradle").createFile()
    
            def parentDefinition = build(parentDir, "parent")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 14:36:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. pkg/volume/testing/volume_host.go

    	host.exec = &testingexec.FakeExec{DisableScripts: true}
    	host.pluginMgr = &VolumePluginMgr{}
    	if err := host.pluginMgr.InitPlugins(plugins, nil /* prober */, host); err != nil {
    		t.Fatalf("Failed to init plugins while creating fake volume host: %v", err)
    	}
    	host.subpather = &subpath.FakeSubpath{}
    	host.informerFactory = informers.NewSharedInformerFactory(kubeClient, time.Minute)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. security/pkg/nodeagent/cache/secretcache_test.go

    	pkiutil "istio.io/istio/security/pkg/pki/util"
    )
    
    func TestWorkloadAgentGenerateSecret(t *testing.T) {
    	fakeCACli, err := mock.NewMockCAClient(time.Hour, true)
    	var got, want []byte
    	if err != nil {
    		t.Fatalf("Error creating Mock CA client: %v", err)
    	}
    	sc := createCache(t, fakeCACli, func(resourceName string) {}, security.Options{WorkloadRSAKeySize: 2048})
    	gotSecret, err := sc.GenerateSecret(security.WorkloadKeyCertResourceName)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy

        final missingOutputDir = temporaryFolder.file("missing-output-dir")
        final inputFile = temporaryFolder.createFile("input-file")
        final inputDir = temporaryFolder.createDir("input-dir")
        final inputDirFile = inputDir.file("input-file2").createFile()
        final missingInputFile = temporaryFolder.file("missing-input-file")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRoleUsageIntegrationTest.groovy

    executer.expectDocumentedDeprecationWarning("Gradle will mutate the usage of configuration customCompileOnly to match the expected usage. This may cause unexpected behavior. Creating configurations with reserved names has been deprecated. This will fail with an error in Gradle 9.0. Create source set custom prior to creating or accessing the configurations associated with it. For more information, please refer to https://docs.gradle.org/current/userguide/building_java_projects.html#sec:implicit_s...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 01:42:49 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/service_injection.adoc

    [[objectfactory]]
    == 1. `ObjectFactory`
    
    link:{javadocPath}/org/gradle/api/model/ObjectFactory.html[`ObjectFactory`] is a service for creating custom Gradle types, allowing you to define nested objects and DSLs in your build logic.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

                }
            """
    
            when:
            configurationCacheRun "ok"
    
            then:
            result.output.count("creating bean") == 2
    
            when:
            configurationCacheRun "ok"
    
            then:
            outputDoesNotContain("creating bean")
            outputContains("bean.value = child")
            outputContains("bean.parent.value = parent")
            outputContains("same reference = true")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top