- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for processTestClass (0.16 sec)
-
platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/TestWorkerTest.groovy
start { worker.startProcessing() worker.processTestClass(test) thread.block() instant.stopped worker.stop() } } 1 * processor.startProcessing(_) 1 * processor.processTestClass(test) 1 * processor.stop() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestWorker.java
* methods willed be called sequentially in the following order: * * - {@link RemoteTestClassProcessor#startProcessing()} * - 0 or more calls to {@link RemoteTestClassProcessor#processTestClass(TestClassRunInfo)} * - {@link RemoteTestClassProcessor#stop()} * * Commands are received on communication threads and then processed sequentially on the main thread. Although concurrent calls to
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 10K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/RemoteTestClassProcessor.java
*/ public interface RemoteTestClassProcessor { /** * Does not block. */ void startProcessing(); /** * Does not block. */ void processTestClass(TestClassRunInfo testClass); /** * Does not block. */ void stop();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 1K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/SuiteTestClassProcessor.java
resultProcessor.failure(suiteDescriptor.getId(), TestFailure.fromTestFrameworkFailure(rawFailure)); } } @Override public void processTestClass(TestClassRunInfo testClass) { try { processor.processTestClass(testClass); } catch (Throwable t) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessor.java
} @Override public void startProcessing(TestResultProcessor resultProcessor) { this.resultProcessor = resultProcessor; } @Override public void processTestClass(TestClassRunInfo testClass) { lock.lock(); try { if (stoppedNow) { return; } if (remoteProcessor == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 12:13:32 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/SuiteTestClassProcessorTest.groovy
RuntimeException failure = new RuntimeException() processor.startProcessing(resultProcessor) when: processor.processTestClass(testClass) then: 1 * targetProcessor.processTestClass(testClass) >> { throw failure } 1 * resultProcessor.failure('id', !null) >> { args -> def e = args[1] assert e instanceof DefaultTestFailure
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/TestClassProcessor.java
/** * Accepts the given test class for processing. May execute synchronously, asynchronously, or defer execution for * later. * * @param testClass The test class. */ void processTestClass(TestClassRunInfo testClass); /** * Completes any pending or asynchronous processing. Blocks until all processing is complete. The processor should
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 2K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/AbstractJUnitTestClassProcessor.java
protected abstract Action<String> createTestExecutor(Actor resultProcessorActor); @Override public void processTestClass(TestClassRunInfo testClass) { LOGGER.debug("Executing test class {}", testClass.getTestClassName()); executor.execute(testClass.getTestClassName()); } @Override public void stop() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessorTest.groovy
process(clazz*.name) } void process(Iterable<String> classNames) { classProcessor.startProcessing(processor) for (String c : classNames) { classProcessor.processTestClass(new DefaultTestClassRunInfo(c)) } classProcessor.stop() } void "executes the test class"() { when: process(ATestNGClass)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 18 12:30:10 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 21:25:59 UTC 2024 - 10.8K bytes - Viewed (0)