junit.quilt.framework
Interface QuiltCollector
- All Known Implementing Classes:
- QuiltCollectorImpl
- public interface QuiltCollector
Method Summary |
java.util.Set |
getAll(java.lang.String coverage)
getAll
This method returns the set of all
possible coverage parts. |
java.util.Set |
getCapabilities()
getCapabilities
This returns the set of coverage that this
collector knows about. |
java.util.Set |
getCovered(java.lang.String coverage)
getCovered
This returns a Set of custom objects
regarding what has been covered since
the test has been started. |
java.util.Map |
getSummary()
getSummary
This returns a map of STRING X DOUBLE
where String is one of the constants
defined in this interface (or a custom
constant, for custom coverage metric),
and double is the percentage covered. |
java.util.Set |
getUncovered(java.lang.String coverage)
getUncovered
This returns a Set of custom objects
regarding what has not been covered since
the test has been started. |
void |
reset()
reset
This method is called when the coverage should
be reset. |
PATH_COVERAGE
public static final java.lang.String PATH_COVERAGE
STATEMENT_COVERAGE
public static final java.lang.String STATEMENT_COVERAGE
BRANCH_COVERAGE
public static final java.lang.String BRANCH_COVERAGE
RELATIONAL_COVERAGE
public static final java.lang.String RELATIONAL_COVERAGE
LOOP_COVERAGE
public static final java.lang.String LOOP_COVERAGE
getSummary
public java.util.Map getSummary()
- getSummary
This returns a map of STRING X DOUBLE
where String is one of the constants
defined in this interface (or a custom
constant, for custom coverage metric),
and double is the percentage covered.
getCovered
public java.util.Set getCovered(java.lang.String coverage)
- getCovered
This returns a Set of custom objects
regarding what has been covered since
the test has been started.
NULL is returned if the collector has
no knowledge of the coverage requested.
- Parameters:
coverage
- is one of the Strings
defined in this interface, or a custom
string if the coverage measured is
not defined here.
getUncovered
public java.util.Set getUncovered(java.lang.String coverage)
- getUncovered
This returns a Set of custom objects
regarding what has not been covered since
the test has been started.
NULL is returned if the collector has
no knowledge of the coverage requested.
- Parameters:
coverage
- is one of the Strings
defined in this interface, or a custom
string if the coverage measured is
not defined here.
getAll
public java.util.Set getAll(java.lang.String coverage)
- getAll
This method returns the set of all
possible coverage parts.
It will return NULL if the particular
coverage is unknown to this collector.
- Parameters:
coverage
- is defined in this interface
or it can be something else if it is not
coded here.
getCapabilities
public java.util.Set getCapabilities()
- getCapabilities
This returns the set of coverage that this
collector knows about.
reset
public void reset()
- reset
This method is called when the coverage should
be reset.
Copyright © 2001-2002 David Dixon-Peugh. All Rights Reserved.