eu.lindenbaum.maven.erlang
Interface TestResult


public interface TestResult

Interface representing the result returned by the TestScript.

Author:
Tobias Schlager , Olle Törnström

Method Summary
 int cancelled()
          Returns the number of cancelled test cases.
 int failed()
          Returns the number of failed test cases.
 void logOutput(org.apache.maven.plugin.logging.Log log)
          Log the test output (e.g.
 int passed()
          Returns the number of passed test cases.
 int skipped()
          Returns the number of skipped test cases.
 

Method Detail

passed

int passed()
Returns the number of passed test cases.

Returns:
a number greater or equal to zero.

failed

int failed()
Returns the number of failed test cases.

Returns:
a number greater or equal to zero.

skipped

int skipped()
Returns the number of skipped test cases.

Returns:
a number greater or equal to zero.

cancelled

int cancelled()
Returns the number of cancelled test cases.

Returns:
a number greater or equal to zero.

logOutput

void logOutput(org.apache.maven.plugin.logging.Log log)
Log the test output (e.g. infos/warnings/errors) using the provided logger.

Parameters:
log - used to print the output


Copyright © 2012 Lindenbaum GmbH. All Rights Reserved.