All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.split.testrunner.junit.TestResult Maven / Gradle / Ivy

There is a newer version: 22.4.3
Show newest version
package io.split.testrunner.junit;

import org.junit.runner.Result;

import java.io.ByteArrayOutputStream;

/**
 * Composition that also contains the output stream, besides the result.
 */
public class TestResult {
    private final Result result;
    private final ByteArrayOutputStream out;

    public TestResult(Result result, ByteArrayOutputStream out) {
        this.result = result;
        this.out = out;
    }

    public Result getResult() {
        return result;
    }

    public ByteArrayOutputStream getOut() {
        return out;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy