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

hudson.plugins.view.dashboard.test.TestResultSummary Maven / Gradle / Ivy

Go to download

Hudson view that shows various cuts of build information via configured portlets.

The newest version!
package hudson.plugins.view.dashboard.test;

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

public class TestResultSummary extends TestResult {
	private List testResults = new ArrayList();

	public TestResultSummary() {
		super(null, 0, 0, 0);
	}
	
	public TestResultSummary addTestResult(TestResult testResult) {
		testResults.add(testResult);
		
		tests += testResult.getTests();
		success += testResult.getSuccess();
		failed += testResult.getFailed();
		skipped += testResult.getSkipped();
		
		return this;
	}
	
	public List getTestResults() {
		return testResults;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy