| org.netbeans.junit.NbTestDecorator
All known Subclasses: org.netbeans.junit.NbTestSetup,
NbTestDecorator | public class NbTestDecorator extends TestDecorator implements NbTest(Code) | | NetBeans extension to JUnit's TestDecorator class. Tests created
with the help of this class can use method assertFile and can be
filtered.
|
Method Summary | |
public static void | assertFile(String message, String test, String pass, String diff, Diff externalDiff) | public static void | assertFile(String test, String pass, String diff, Diff externalDiff) | public static void | assertFile(String message, String test, String pass, String diff) | public static void | assertFile(String test, String pass, String diff) | public static void | assertFile(String test, String pass) | public static void | assertFile(String message, File test, File pass, File diff, Diff externalDiff) | public static void | assertFile(File test, File pass, File diff, Diff externalDiff) | public static void | assertFile(String message, File test, File pass, File diff) | public static void | assertFile(File test, File pass, File diff) | public static void | assertFile(File test, File pass) | public boolean | canRun() Checks if a test isn't filtered out by the active filter. | public String | getExpectedFail() Returns expected fail message. | public void | setFilter(Filter filter) Sets active filter. |
NbTestDecorator | public NbTestDecorator(Test test)(Code) | | |
assertFile | public static void assertFile(String message, String test, String pass, String diff, Diff externalDiff)(Code) | | for description, see this method in NbTestCase class
|
assertFile | public static void assertFile(String test, String pass, String diff, Diff externalDiff)(Code) | | for description, see this method in NbTestCase class
|
assertFile | public static void assertFile(String message, String test, String pass, String diff)(Code) | | for description, see this method in NbTestCase class
|
assertFile | public static void assertFile(String test, String pass, String diff)(Code) | | for description, see this method in NbTestCase class
|
assertFile | public static void assertFile(String test, String pass)(Code) | | for description, see this method in NbTestCase class
|
assertFile | public static void assertFile(String message, File test, File pass, File diff, Diff externalDiff)(Code) | | for description, see this method in NbTestCase class
|
assertFile | public static void assertFile(File test, File pass, File diff, Diff externalDiff)(Code) | | for description, see this method in NbTestCase class
|
assertFile | public static void assertFile(String message, File test, File pass, File diff)(Code) | | for description, see this method in NbTestCase class
|
assertFile | public static void assertFile(File test, File pass, File diff)(Code) | | for description, see this method in NbTestCase class
|
assertFile | public static void assertFile(File test, File pass)(Code) | | for description, see this method in NbTestCase class
|
canRun | public boolean canRun()(Code) | | Checks if a test isn't filtered out by the active filter.
|
getExpectedFail | public String getExpectedFail()(Code) | | Returns expected fail message.
expected fail message if it's expected this test fail, null otherwise. |
setFilter | public void setFilter(Filter filter)(Code) | | Sets active filter.
Parameters: filter - Filter to be set as active for current test, null will reset filtering. |
|
|