Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for WithPath (0.13 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/httpgetaction.go

    	return &HTTPGetActionApplyConfiguration{}
    }
    
    // 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 *HTTPGetActionApplyConfiguration) WithPath(value string) *HTTPGetActionApplyConfiguration {
    	b.Path = &value
    	return b
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftElement.java

            return new Transform() {
                @Override
                public void applyChangesToProject(TestFile projectDir) {
                    TestFile file = projectDir.file(beforeFile.withPath("src/" + sourceSetName));
                    file.assertExists();
    
                    file.write(afterFile.getContent());
                }
    
                @Override
                public List<SourceFile> getBeforeFiles() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/AbstractSwiftXCTestIntegrationTest.groovy

            passingTestFixture.writeToProject(testDirectory)
        }
    
        @Override
        protected void changeTestImplementation() {
            file(passingTestFixture.testSuites.first().sourceFile.withPath("src/test")) << """
                func test() -> Int32 { return 1; }
            """
        }
    
        @Override
        protected void assertTestCasesRan() {
            passingTestFixture.assertTestCasesRan(testExecutionResult)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/nativeplatform/tasks/AbstractUnexportMainSymbolIntegrationTest.groovy

            file("build/relocated").assertHasDescendants(objectFile("main").name, objectFile("other").name)
            mainObject.lastModified() == oldTimestamp
    
            when:
            assert file(otherFile.sourceFile.withPath("src/main")).delete()
            succeeds("unexport")
            then:
            assertMainSymbolIsNotExported(objectFile("build/relocated/main"))
            file("build/relocated").assertHasDescendants(objectFile("main").name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

      }
    
      @Test
      fun testHttpsRequest() {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          mockServerClient
            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
            .respond(response().withBody("Peter the person!"))
    
          val results =
            (1..20).map {
              executor.submit {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 11:15:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/ide/visualstudio/fixtures/ProjectFile.groovy

        }
    
        private static List<String> sourceFiles(List<SourceFile> files, String path) {
            return files*.withPath(path).sort()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

        }
      }
    
      private fun testRequest(function: (MockServerClient) -> Unit) {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          val request =
            request().withPath("/person")
              .withQueryStringParameter("name", "peter")
    
          mockServerClient
            .`when`(
              request,
            )
            .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
    - 5.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelReference.java

            if (scope.equals(this.scope)) {
                return this;
            }
            return Cast.uncheckedCast(new ModelReference<T>(path, type, scope, state, description));
        }
    
        public ModelReference<T> withPath(ModelPath path) {
            return Cast.uncheckedCast(new ModelReference<T>(path, type, scope, state, description));
        }
    
        public ModelReference<T> atState(ModelNode.State state) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top