Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 278 for reuse (0.06 sec)

  1. tests/integration/pilot/main_test.go

    )
    
    // TestMain defines the entrypoint for pilot tests using a standard Istio installation.
    // If a test requires a custom install it should go into its own package, otherwise it should go
    // here to reuse a single install across tests.
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Setup(istio.Setup(&i, nil)).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{})).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 08 22:15:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/SftpClientReuseIntegrationTest.groovy

        @Rule final SFTPServer sftpServer = new SFTPServer(temporaryFolder)
        @Rule final BlockingHttpServer coordinator = new BlockingHttpServer()
    
        def "does not attempt to reuse a client that has been disconnected"() {
            coordinator.start()
    
            buildFile << """
                ${sftpTask}
    
                task firstUse(type: SftpTask) {
                    credentials = creds
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/state/Managed.java

         * Note that the state may not be immutable, so should be made isolated to reuse in another context. The state can also be fingerprinted to generate a fingerprint of this object.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy

            def firstBuild = old(runningCompilerDaemons)
            def secondBuild = runningCompilerDaemons
            def diff = firstBuild - secondBuild
            // We should reuse one daemon from the first build
            diff.size() == 1
        }
    
        def "reuses compiler daemons across multiple builds when enabled"() {
            withSingleProjectSources()
            buildFile << """
                tasks.compileMain2Java {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/MavenM2CacheReuseIntegrationTest.groovy

            when:
            using m2
            run 'retrieve'
    
            then:
            file('build/foo-1.0.jar').assertIsCopyOf(m2Module.artifactFile)
        }
    
        def "does not reuse cached artifacts from maven local cache when they are different to those in the remote repository"() {
            given:
            def remoteModule = mavenHttpRepo.module('gradletest.maven.local.cache.test', "foo", "1.0").publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerDaemonIntegrationTest.groovy

        }
    
        @Requires(value = IntegTestPreconditions.NotEmbeddedExecutor, reason = "TestKit needs a real Gradle distribution here")
        @CustomDaemonDirectory
        def "user daemon process does not reuse existing daemon process intended for test execution even when using same gradle user home"() {
            given:
            def defaultDaemonDir = testKitDir.file("daemon")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/PublishArtifactLocalArtifactMetadataCodec.kt

     * a lot of unnecessary and unserializable state to be dragged in.
     *
     * A better change would be to split an immutable id type out of PublishArtifactLocalArtifactMetadata (or reuse one of the existing
     * implementations). However, the Eclipse tooling model builder assumes that the id and metadata objects are the same and also that
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelMapStrategy.java

        private static final ModelType<ModelMap<?>> MODEL_MAP_MODEL_TYPE = new ModelType<ModelMap<?>>() {
        };
    
        // TODO extract common stuff from this and ModelSet and reuse
    
        @Override
        public <T> void extract(ModelSchemaExtractionContext<T> extractionContext) {
            ModelType<T> type = extractionContext.getType();
            if (MODEL_MAP_MODEL_TYPE.isAssignableFrom(type)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/ConfigurationCacheOutputCleaner.java

     * system property is set to {@code true}.
     * <p>
     * Most of our samples that aren't aiming to test the configuration cache itself, do not care about
     * its output much. This normalizer allows to reuse the same "golden" output files when testing such
     * samples with the configuration cache enabled.
     */
    public class ConfigurationCacheOutputCleaner implements OutputNormalizer {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/handling-errors.md

    ```Python
    from starlette.exceptions import HTTPException as StarletteHTTPException
    ```
    
    ### Reuse **FastAPI**'s exception handlers
    
    If you want to use the exception along with the same default exception handlers from  **FastAPI**, You can import and reuse the default exception handlers from `fastapi.exception_handlers`:
    
    ```Python hl_lines="2-5  15  21"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top