Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for TestOutputStore (0.36 sec)

  1. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java

    import java.io.UnsupportedEncodingException;
    import java.nio.charset.Charset;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    public class TestOutputStore {
    
        private final File resultsDir;
        private final Charset messageStorageCharset;
    
        public TestOutputStore(File resultsDir) {
            this.resultsDir = resultsDir;
            this.messageStorageCharset = Charset.forName("UTF-8");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/BinaryResultBackedTestResultsProvider.java

            super(new TestOutputStore(resultsDir));
            this.resultSerializer = new TestResultSerializer(resultsDir);
        }
    
        @Override
        public boolean hasOutput(final long classId, final TestOutputEvent.Destination destination) {
            final boolean[] hasOutput = new boolean[1];
            withReader(new Action<TestOutputStore.Reader>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/InMemoryTestResultsProvider.java

        public InMemoryTestResultsProvider(Iterable<TestClassResult> results, TestOutputStore outputStore) {
            super(outputStore);
            this.results = results;
        }
    
        @Override
        public boolean hasOutput(final long classId, final TestOutputEvent.Destination destination) {
            final boolean[] hasOutput = new boolean[1];
            withReader(new Action<TestOutputStore.Reader>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStoreBackedResultsProvider.java

        private final TestOutputStore outputStore;
        private final ConcurrentMap<Thread, TestOutputStore.Reader> readers;
    
        public TestOutputStoreBackedResultsProvider(TestOutputStore outputStore) {
            this.outputStore = outputStore;
            this.readers = new ConcurrentHashMap<Thread, TestOutputStore.Reader>();
        }
    
        protected void withReader(Action<TestOutputStore.Reader> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java

            });
            binaryResultsDir.mkdirs();
    
            Map<String, TestClassResult> results = new HashMap<String, TestClassResult>();
            TestOutputStore testOutputStore = new TestOutputStore(binaryResultsDir);
    
            TestOutputStore.Writer outputWriter = testOutputStore.writer();
            TestReportDataCollector testReportDataCollector = new TestReportDataCollector(results, outputWriter);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStoreSpec.groovy

            thrown(IllegalStateException)
        }
    
        String collectAllOutput(TestOutputStore.Reader reader, long classId, TestOutputEvent.Destination destination) {
            def writer = new StringWriter()
            reader.writeAllOutput(classId, destination, writer)
            return writer.toString()
        }
    
        String collectOutput(TestOutputStore.Reader reader, long classId, long testId, TestOutputEvent.Destination destination) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollector.java

        public static final String EXECUTION_FAILURE = "failed to execute tests";
        private final Map<String, TestClassResult> results;
        private final TestOutputStore.Writer outputWriter;
        private final Map<TestDescriptor, TestMethodResult> currentTestMethods = new HashMap<TestDescriptor, TestMethodResult>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollectorSpec.groovy

    import static org.gradle.api.tasks.testing.TestResult.ResultType.SUCCESS
    
    class TestReportDataCollectorSpec extends Specification {
        def Map<String, TestClassResult> results = [:]
        def TestOutputStore.Writer writer = Mock()
        def collector = new TestReportDataCollector(results, writer)
    
        def "keeps track of test results"() {
            def root = new DefaultTestSuiteDescriptor("1", "Suite")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.api.internal.tasks.testing.junit.result.TestOutputStore$Region> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (TestOutputStore.java:0)
    Class <org.gradle.api.internal.tasks.testing.junit.result.TestOutputStore$TestCaseRegion> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (TestOutputStore.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top