Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for WithPath (0.19 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalElement.java

                String sourceSetName = beforeElement.getSourceSetName();
                TestFile file = projectDir.file(sourceFile.withPath("src/" + sourceSetName));
    
                file.assertExists();
    
                file.renameTo(projectDir.file(destinationFile.withPath("src/" + sourceSetName)));
            }
    
            @Override
            public List<SourceFile> getBeforeFiles() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/servicereference.go

    	b.Name = &value
    	return b
    }
    
    // WithPath sets the Path field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Path field is set to the value of the last call.
    func (b *ServiceReferenceApplyConfiguration) WithPath(value string) *ServiceReferenceApplyConfiguration {
    	b.Path = &value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelReferenceTest.groovy

            original.atState(original.state).is(original)
        }
    
        def "can replace path"() {
            expect:
            def reference = ModelReference.of(ModelPath.path("some.path"), ModelType.of(String), ModelNode.State.Mutated).withPath(ModelPath.path("other.path"))
            reference.scope == null
            reference.path == ModelPath.path("other.path")
            reference.type == ModelType.of(String)
            !reference.untyped
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/servicereference.go

    	b.Name = &value
    	return b
    }
    
    // WithPath sets the Path field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Path field is set to the value of the last call.
    func (b *ServiceReferenceApplyConfiguration) WithPath(value string) *ServiceReferenceApplyConfiguration {
    	b.Path = &value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/integtests/fixtures/jvm/JvmSourceFile.java

            return file;
        }
    
        public void writeToFile(TestFile file) {
            if (file.exists()) {
                file.write("");
            }
            file.write(content);
        }
    
        public String withPath(String basePath) {
            return Joiner.on('/').join(basePath, path, name);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/client-go/applyconfigurations/core/v1/clustertrustbundleprojection.go

    	b.Optional = &value
    	return b
    }
    
    // WithPath sets the Path field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Path field is set to the value of the last call.
    func (b *ClusterTrustBundleProjectionApplyConfiguration) WithPath(value string) *ClusterTrustBundleProjectionApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

          .build()
    
      @Test
      fun testRequest() {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          mockServerClient
            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
            .respond(response().withBody("Peter the person!"))
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/SourceFile.java

            return file;
        }
    
        public void writeToFile(TestFile file) {
            if (file.exists()) {
                file.write("");
            }
            file.write(content);
        }
    
        public String withPath(String basePath) {
            return Joiner.on('/').join(basePath, path, name);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

          .withExposedPorts(1080)
    
      @Test
      fun testLocal() {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          mockServerClient
            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
            .respond(response().withBody("Peter the person!"))
    
          val client =
            OkHttpClient.Builder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioFileCustomizationIntegrationTest.groovy

            and:
            final projectFile = projectFile("very/deeply/nested/mainExe.vcxproj")
            assert projectFile.headerFiles == app.headerFiles*.withPath("../../../src/main").sort()
            assert projectFile.sourceFiles == ['../../../build.gradle'] + app.sourceFiles*.withPath("../../../src/main").sort()
            projectFile.projectConfigurations.values().each {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top