Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isFailure (0.23 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/AbstractFailure.java

        private final RuntimeException failure;
    
        public AbstractFailure(RuntimeException failure) {
            this.failure = failure;
        }
    
        @Override
        public boolean isFailure() {
            return true;
        }
    
        @Override
        public RuntimeException getFailure() {
            return failure;
        }
    
        @Override
        public void writeTo(int requestId, HttpExchange exchange) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ResponseProducer.java

     */
    
    package org.gradle.test.fixtures.server.http;
    
    import com.sun.net.httpserver.HttpExchange;
    
    import java.io.IOException;
    
    interface ResponseProducer {
        default boolean isFailure() {
            return false;
        }
    
        /**
         * Called to handle a request. Is *not* called under lock.
         */
        void writeTo(int requestId, HttpExchange exchange) throws IOException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy

                configurationCacheBuildOperations.assertStateStored(false)
            }
    
            def message = "Configuration cache entry ${details.storeAction}"
            boolean isFailure = spec.result instanceof ExecutionFailure
            if (isFailure) {
                spec.outputContains(message)
            } else {
                spec.postBuildOutputContains(message)
            }
    
            assertHasProblems(problemDetails)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ChainingHttpHandler.java

                    ResponseProducer responseProducer = selectProducer(id, httpExchange);
                    System.out.printf("[%d] sending response for %s%n", id, outcome.getDisplayName());
                    if (!responseProducer.isFailure()) {
                        responseProducer.writeTo(id, httpExchange);
                    } else {
                        Throwable failure = responseProducer.getFailure();
                        requestFailed(outcome, failure);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    fFailedTest; protected Throwable fThrownException; public void TestFailure(Test, Throwable); public Test failedTest(); public Throwable thrownException(); public String toString(); public String trace(); public String exceptionMessage(); public boolean isFailure(); } junit/framework/JUnit4TestAdapterCac$1.class package junit.framework; synchronized class JUnit4TestAdapterCac$1 extends org.junit.runner.notification.RunListener { void JUnit4TestAdapterCac$1(JUnit4TestAdapterCac, TestResult); public void t...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 373.7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/buildtree/DefaultBuildTreeLifecycleController.java

                    ExecutionResult<Void> result = workController.scheduleAndRunRequestedTasks(null);
                    if (!result.getFailures().isEmpty()) {
                        return result.asFailure();
                    }
                }
                T model = modelCreator.fromBuildModel(action);
                return ExecutionResult.succeeded(model);
            });
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 07:46:55 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top