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