org.jboss.osgi.husky
Interface Response

All Superinterfaces:
Serializable
All Known Implementing Classes:
org.jboss.osgi.husky.internal.BasicResponse, JUnitResponse

public interface Response
extends Serializable

An abstraction of a test response.

Since:
16-May-2009
Author:
Thomas.Diesler@jboss.com

Method Summary
 void addFailure(Failure failure)
          Add a failure to the response
 List<Failure> getFailures()
          Get the list of test failures
 

Method Detail

getFailures

List<Failure> getFailures()
Get the list of test failures

Returns:
an empty list if the test was successful

addFailure

void addFailure(Failure failure)
Add a failure to the response



Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.