|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.clif.analyze.lib.list.PrefixTestFilter
public class PrefixTestFilter
Instances of this class filter tests according to a given name prefix.
Constructor Summary | |
---|---|
PrefixTestFilter()
Creates a new prefix name filter for test descriptors with a null prefix, which means all test names will match this new filter. |
|
PrefixTestFilter(java.lang.String prefix)
Creates a new prefix name filter for test descriptors with the given prefix string. |
Method Summary | |
---|---|
boolean |
accept(TestDescriptor desc)
Accepts all test names matching this filter's prefix attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrefixTestFilter()
public PrefixTestFilter(java.lang.String prefix)
prefix
- the prefix that test name must match.
If null, all test names will match this new filter.Method Detail |
---|
public boolean accept(TestDescriptor desc)
accept
in interface TestFilter
desc
- the test descriptor to accept or reject.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |