站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

NbTest (NB JUnit) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.nbjunit/1 1.41

org.netbeans.junit
Interface NbTest

All Superinterfaces:
junit.framework.Test
All Known Subinterfaces:
NbPerformanceTest
All Known Implementing Classes:
MultiTestCase, MultiTestSuite, NbPerformanceTestCase, NbTestCase, NbTestDecorator, NbTestSetup, NbTestSuite, ParametricTestCase, ParametricTestSuite

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

boolean canRun()
Checks if a test isn't filtered out by the active filter.

Returns:
true if the test can run

setFilter

void setFilter(Filter filter)
Sets active filter.

Parameters:
filter - Filter to be set as active for current test, null will reset filtering.

getExpectedFail

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.41

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