Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for WithPath (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/scheduler/apis/config/validation/validation_pluginargs.go

    		return nil
    	}
    	affinity := args.AddedAffinity
    	var errs []error
    	if ns := affinity.RequiredDuringSchedulingIgnoredDuringExecution; ns != nil {
    		_, err := nodeaffinity.NewNodeSelector(ns, field.WithPath(path.Child("addedAffinity", "requiredDuringSchedulingIgnoredDuringExecution")))
    		if err != nil {
    			errs = append(errs, err)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 09:29:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top