org.netbeans.modules.nbjunit/1 1.29

org.netbeans.junit
Interface NbTest

All Superinterfaces:
junit.framework.Test
All Known Subinterfaces:
NbPerformanceTest
All Known Implementing Classes:
NbPerformanceTestCase, NbTestCase, NbTestDecorator, NbTestSuite

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.
 String getExpectedFail()
          Returns expected fail message.
 void setFilter(Filter filter)
          Sets active filter.
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Method Detail

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.

getExpectedFail

public String getExpectedFail()
Returns expected fail message.

Returns:
expected fail message if it's expected this test fail, null otherwise.

org.netbeans.modules.nbjunit/1 1.29

Built on May 12 2006.  |  Portions Copyright 1997-2006 Sun Microsystems, Inc. All rights reserved.