public interface TestResultLoader
| Modifier and Type | Method and Description |
|---|---|
TestRun |
loadTestResult(String dirName)
Loads a local test result from the sub-folder of the "ibello/results" directory.
|
List<TestRun> |
loadTestResults(Pattern dirNamePattern)
Loads local test results from the sub-folder of the "ibello/results" directory.
|
TestRun loadTestResult(String dirName) throws TestResultLoaderException
TestResultLoader loader = ...;
TestRun result = loader.loadTestResult("20000101_123456");
dirName - the name of the sub-folder in the "ibello/results" directory which contains the "results.xml" fileTestResultLoaderException - if the file cannot be loadedList<TestRun> loadTestResults(Pattern dirNamePattern) throws TestResultLoaderException
TestResultLoader loader = ...;
List<TestRun> results = loader.loadTestResults(Pattern.compile("20000101_.*"));
dirNamePattern - pattern for the sub-folder names in the "ibello/results" directoryTestResultLoaderException - if one of the files cannot be loadedCreated by Kornél Simon, 2022