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

org.etlunit.TestClassResultImpl Maven / Gradle / Ivy

There is a newer version: 1.6.9
Show newest version
package org.etlunit;

import org.etlunit.parser.ETLTestClass;

import java.util.ArrayList;
import java.util.List;

public class TestClassResultImpl implements TestClassResult
{
	private final String className;
	private final ETLTestClass etlTestClass;

	private final List testMethodResults = new ArrayList();

	private final TestResultMetrics testResults = new TestResultMetricsImpl();

	public TestClassResultImpl(ETLTestClass etlc)
	{
		this.className = etlc.getName();
		etlTestClass = etlc;
	}

	@Override
	public String testClassName()
	{
		return className;
	}

	@Override
	public ETLTestClass getTestClass()
	{
		return etlTestClass;
	}

	@Override
	public TestResultMetrics getMetrics()
	{
		return testResults;
	}

	@Override
	public List getMethodResults()
	{
		return testMethodResults;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy