com.atlassian.clover.api.optimization
Interface Optimizable
- All Known Implementing Classes:
- StringOptimizable
public interface Optimizable
A Optimizable
is an abstraction for things that can be executed for the purpose of testing
and can be potentially optimized away by Clover.
Examples include Ant org.apache.tools.ant.types.Resources that map to test files
or instances of org.apache.tools.ant.taskdefs.optional.junit.JUnitTest within Ant.
Optimizable
s have a name (getName()
) which may or may not relate to a path. If
relating to a path, the path separator '/' must be used instead of the platform path separator.
Method Summary |
java.lang.String |
getName()
|
getName
java.lang.String getName()
- Returns:
- non-null name