A C D E F G I J L M N O P R S T

A

addError(Test, Throwable) - Method in class org.netbeans.junit.NbTestRunner
Called by junit framework, when an error occurred.
addFailure(Test, AssertionFailedError) - Method in class org.netbeans.junit.NbTestRunner
Called by junit framework, when a failure occurred.
addTest(Test) - Method in class org.netbeans.junit.NbTestSuite
Adds a test to the suite.
addTestSuite(Class) - Method in class org.netbeans.junit.NbTestSuite
adds a test suite to this test suite
assertFile(File, File) - Static method in class org.netbeans.junit.NbTestDecorator
for description, see this method in NbTestCase class
assertFile(File, File) - Static method in class org.netbeans.junit.NbTestCase
Asserts that two files are the same, it just compares two files and doesn't produce any additional output.
assertFile(File, File, File) - Static method in class org.netbeans.junit.NbTestDecorator
for description, see this method in NbTestCase class
assertFile(File, File, File) - Static method in class org.netbeans.junit.NbTestCase
Asserts that two files are the same, it compares two files and stores possible differencies in the output file.
assertFile(File, File, File, Diff) - Static method in class org.netbeans.junit.NbTestDecorator
for description, see this method in NbTestCase class
assertFile(File, File, File, Diff) - Static method in class org.netbeans.junit.NbTestCase
Asserts that two files are the same, it uses specific Diff implementation to compare two files and stores possible differencies in the output file.
assertFile(String, File, File, File) - Static method in class org.netbeans.junit.NbTestDecorator
for description, see this method in NbTestCase class
assertFile(String, File, File, File) - Static method in class org.netbeans.junit.NbTestCase
Asserts that two files are the same, it compares two files and stores possible differencies in the output file, the message is displayed when assertion fails.
assertFile(String, File, File, File, Diff) - Static method in class org.netbeans.junit.NbTestDecorator
for description, see this method in NbTestCase class
assertFile(String, File, File, File, Diff) - Static method in class org.netbeans.junit.NbTestCase
Asserts that two files are the same (their content is identical), when files differ AssertionFileFailedError exception is thrown.
assertFile(String, String) - Static method in class org.netbeans.junit.NbTestDecorator
for description, see this method in NbTestCase class
assertFile(String, String) - Static method in class org.netbeans.junit.NbTestCase
Asserts that two files are the same, it just compares two files and doesn't produce any additional output.
assertFile(String, String, String) - Static method in class org.netbeans.junit.NbTestDecorator
for description, see this method in NbTestCase class
assertFile(String, String, String) - Static method in class org.netbeans.junit.NbTestCase
Asserts that two files are the same, it compares two files and stores possible differencies in the output file.
assertFile(String, String, String, Diff) - Static method in class org.netbeans.junit.NbTestDecorator
for description, see this method in NbTestCase class
assertFile(String, String, String, Diff) - Static method in class org.netbeans.junit.NbTestCase
Asserts that two files are the same, it uses specific Diff implementation to compare two files and stores possible differencies in the output file.
assertFile(String, String, String, String) - Static method in class org.netbeans.junit.NbTestDecorator
for description, see this method in NbTestCase class
assertFile(String, String, String, String) - Static method in class org.netbeans.junit.NbTestCase
Asserts that two files are the same, it compares two files and stores possible differencies in the output file, the message is displayed when assertion fails.
assertFile(String, String, String, String, Diff) - Static method in class org.netbeans.junit.NbTestDecorator
for description, see this method in NbTestCase class
assertFile(String, String, String, String, Diff) - Static method in class org.netbeans.junit.NbTestCase
Asserts that two files are the same (their content is identical), when files differ AssertionFileFailedError exception is thrown.
AssertionFailedErrorException - error org.netbeans.junit.AssertionFailedErrorException.
Error containing nested Exception.
AssertionFailedErrorException(String, Throwable) - Constructor for class org.netbeans.junit.AssertionFailedErrorException
Creates new AssertionFailedErrorException
AssertionFailedErrorException(Throwable) - Constructor for class org.netbeans.junit.AssertionFailedErrorException
Creates new AssertionFailedErrorException
AssertionFileFailedError - error org.netbeans.junit.AssertionFileFailedError.
Error thrown from assertFile file functions.
AssertionFileFailedError(String) - Constructor for class org.netbeans.junit.AssertionFileFailedError
Creates new AssertionFileFailedError
AssertionFileFailedError(String, String) - Constructor for class org.netbeans.junit.AssertionFileFailedError
Creates new AssertionFileFailedError

C

canRun() - Method in class org.netbeans.junit.NbTestSuite
Checks if a test isn't filtered out by the active filter.
canRun() - Method in class org.netbeans.junit.NbTestDecorator
Checks if a test isn't filtered out by the active filter.
canRun() - Method in class org.netbeans.junit.NbTestCase
Checks if a test isn't filtered out by the active filter.
canRun() - Method in interface org.netbeans.junit.NbTest
Checks if a test isn't filtered out by the active filter.
clearWorkDir() - Method in class org.netbeans.junit.NbTestCase
Deletes all files including subdirectories in test's working directory.
compareReferenceFiles() - Method in class org.netbeans.junit.NbTestCase
Compares default golden file and default reference log.
compareReferenceFiles(String, String, String) - Method in class org.netbeans.junit.NbTestCase
Compares golden file and reference log.
convertNBFSURL(URL) - Static method in class org.netbeans.junit.NbTestCase
Converts NetBeans filesystem URL to absolute path.

D

DEFAULT_DIFF_IMPL - Static variable in class org.netbeans.junit.Manager
 
diffFile - Variable in class org.netbeans.junit.AssertionFileFailedError
 
doRun(Test, boolean) - Method in class org.netbeans.junit.NbTestRunner
 

E

endTest(Test) - Method in class org.netbeans.junit.NbTestRunner
Called by junit framework, when a test ended.

F

Filter - class org.netbeans.junit.Filter.
A helper class, which holds informatino about filtered tests
Filter() - Constructor for class org.netbeans.junit.Filter
Creates new Filter
fPreferences - Static variable in class org.netbeans.junit.Manager
 

G

getDiffFile() - Method in class org.netbeans.junit.AssertionFileFailedError
 
getExcludes() - Method in class org.netbeans.junit.Filter
 
getGoldenFile() - Method in class org.netbeans.junit.NbTestCase
Get the default testmethod specific golden file from data/goldenfiles/${classname}/${testmethodname}.pass
getGoldenFile(String) - Method in class org.netbeans.junit.NbTestCase
Get the testmethod specific golden file from data/goldenfiles/${classname} resource directory.
getIncludes() - Method in class org.netbeans.junit.Filter
 
getLoader() - Method in class org.netbeans.junit.NbTestRunner
 
getLog() - Method in class org.netbeans.junit.NbTestCase
Return default log named as ${testmethod}.log.
getLog(String) - Method in class org.netbeans.junit.NbTestCase
Returns named log stream.
getRef() - Method in class org.netbeans.junit.NbTestCase
Get PrintStream to log inteded for reference files comparision.
getSystemDiff() - Static method in class org.netbeans.junit.Manager
 
getWorkDir() - Method in class org.netbeans.junit.NbTestCase
Returns unique working directory for a test (each test method have uniq1ue dir).
getWorkDirPath() - Method in class org.netbeans.junit.NbTestCase
Returns path to test method working directory as a String.
getWorkDirPath() - Static method in class org.netbeans.junit.Manager
 

I

instantiateDiffImpl(String) - Static method in class org.netbeans.junit.Manager
 
isIncluded(String) - Method in class org.netbeans.junit.Filter
 

J

JUNIT_PROPERTIES_FILENAME - Static variable in class org.netbeans.junit.Manager
 
JUNIT_PROPERTIES_LOCATION_PROPERTY - Static variable in class org.netbeans.junit.Manager
 

L

log(String) - Method in class org.netbeans.junit.NbTestCase
Simple and easy to use method for printing a message to a default log
log(String, String) - Method in class org.netbeans.junit.NbTestCase
Easy to use method for logging a message to a named log

M

main(String[]) - Static method in class org.netbeans.junit.NbTestRunner
 
Manager - class org.netbeans.junit.Manager.
 
match(String, String) - Static method in class org.netbeans.junit.Filter
Matches a string against a pattern.

N

NBJUNIT_WORKDIR - Static variable in class org.netbeans.junit.Manager
name of the system property defining root workdir direcory - it must be set before running tests using workdir - in the case of running tests from XTest framework, this property is set by the framework itself
NbTest - interface org.netbeans.junit.NbTest.
NetBeans extension to JUnit Test interface
NbTestCase - class org.netbeans.junit.NbTestCase.
NetBeans extension to JUnit's TestCase.
NbTestCase(String) - Constructor for class org.netbeans.junit.NbTestCase
Constructs a test case with the given name.
NbTestDecorator - class org.netbeans.junit.NbTestDecorator.
NetBeans extension to JUnit's TestDecorator class.
NbTestDecorator(Test) - Constructor for class org.netbeans.junit.NbTestDecorator
 
NbTestRunner - class org.netbeans.junit.NbTestRunner.
 
NbTestRunner() - Constructor for class org.netbeans.junit.NbTestRunner
Creates new TestRunner
NbTestSetup - class org.netbeans.junit.NbTestSetup.
A Decorator to set up and tear down additional fixture state.
NbTestSetup(Test) - Constructor for class org.netbeans.junit.NbTestSetup
 
NbTestSuite - class org.netbeans.junit.NbTestSuite.
NetBeans extension to JUnit's TestSuite class.
NbTestSuite() - Constructor for class org.netbeans.junit.NbTestSuite
Constructs an empty TestSuite.
NbTestSuite(Class) - Constructor for class org.netbeans.junit.NbTestSuite
Constructs a TestSuite from the given class.
NbTestSuite(String) - Constructor for class org.netbeans.junit.NbTestSuite
Constructs an empty TestSuite.
nestedException - Variable in class org.netbeans.junit.AssertionFailedErrorException
contains Exception that caused AssertionFailedError

O

org.netbeans.junit - package org.netbeans.junit
 

P

printStackTrace() - Method in class org.netbeans.junit.AssertionFailedErrorException
prints stack trace of assertion error and nested exception into System.err
printStackTrace(PrintStream) - Method in class org.netbeans.junit.AssertionFailedErrorException
prints stack trace of assertion error and nested exception
printStackTrace(PrintWriter) - Method in class org.netbeans.junit.AssertionFailedErrorException
prints stack trace of assertion error and nested exception
PROP_DIFF_IMPL - Static variable in class org.netbeans.junit.Manager
 

R

readProperties() - Static method in class org.netbeans.junit.Manager
 
ref(String) - Method in class org.netbeans.junit.NbTestCase
Easy to use logging method for printing a message to a reference log.
run(TestResult) - Method in class org.netbeans.junit.NbTestSetup
 
run(TestResult) - Method in class org.netbeans.junit.NbTestCase
Runs the test case and collects the results in TestResult.
runFailed(String) - Method in class org.netbeans.junit.NbTestRunner
 

S

setExcludes(String[]) - Method in class org.netbeans.junit.Filter
 
setFilter(Filter) - Method in class org.netbeans.junit.NbTestSuite
Sets active filter.
setFilter(Filter) - Method in class org.netbeans.junit.NbTestDecorator
Sets active filter.
setFilter(Filter) - Method in class org.netbeans.junit.NbTestCase
Sets active filter.
setFilter(Filter) - Method in interface org.netbeans.junit.NbTest
Sets active filter.
setIncludes(String[]) - Method in class org.netbeans.junit.Filter
 
setUp() - Method in class org.netbeans.junit.NbTestSetup
Sets up the fixture.
start(String[]) - Method in class org.netbeans.junit.NbTestRunner
Starts a test run.
startTest(Test) - Method in class org.netbeans.junit.NbTestRunner
Called by junit framework, when a test started.
systemDiff - Static variable in class org.netbeans.junit.Manager
 

T

tearDown() - Method in class org.netbeans.junit.NbTestSetup
Tears down the fixture.
testName - Variable in class org.netbeans.junit.NbTestRunner
 
toString() - Method in class org.netbeans.junit.Filter
 

A C D E F G I J L M N O P R S T