org.netbeans.junit
Interface NbTest
- All Superinterfaces:
- junit.framework.Test
- All Known Implementing Classes:
- NbTestCase, NbTestSuite, NbTestDecorator
- public interface NbTest
- extends junit.framework.Test
NetBeans extension to JUnit Test interface
Method Summary |
boolean |
canRun()
Checks if a test isn't filtered out by the active filter. |
void |
setFilter(Filter filter)
Sets active filter. |
Methods inherited from interface junit.framework.Test |
countTestCases, run |
canRun
public boolean canRun()
- Checks if a test isn't filtered out by the active filter.
- Returns:
- true if the test can run
setFilter
public void setFilter(Filter filter)
- Sets active filter.
- Parameters:
filter
- Filter to be set as active for current test, null will reset filtering.