- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for isFailure (0.32 sec)
-
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) -
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) -
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) -
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)