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

org.etlunit.TestResultsImpl Maven / Gradle / Ivy

There is a newer version: 1.6.9
Show newest version
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