org.etlunit.TestResultsImpl Maven / Gradle / Ivy
package org.etlunit;
import java.util.ArrayList;
import java.util.List;
public class TestResultsImpl implements TestResults
{
private final List results = new ArrayList();
private final TestResultMetrics testResultMetrics = new TestResultMetricsImpl();
private final int numTestsSelected;
public TestResultsImpl(int numTestsSelected)
{
this.numTestsSelected = numTestsSelected;
}
@Override
public TestResultMetrics getMetrics()
{
return testResultMetrics;
}
@Override
public List getResultsByClass()
{
return results;
}
@Override
public void reset()
{
results.clear();
testResultMetrics.reset();
}
@Override
public int getNumTestsSelected()
{
return numTestsSelected;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy