documentation
.HELP!
Junit API Documentation
JUnit API
Junit API
previous page
next page
previous page
start
next page
Menu
Homepage
Table of contents
About Jd2chm...
Overview
Hierarchy For All Packages
junit.extensions
Hierarchy For Package junit.extensions
ActiveTestSuite
ActiveTestSuite ()
ActiveTestSuite (java.lang.Class theClass)
ActiveTestSuite (java.lang.Class theClass, java.lang.String name)
ActiveTestSuite (java.lang.String name)
run (TestResult result)
runFinished (Test test)
runTest (Test test, TestResult result)
ExceptionTestCase
ExceptionTestCase (java.lang.String name, java.lang.Class exception)
runTest ()
RepeatedTest
RepeatedTest (Test test, int repeat)
countTestCases ()
run (TestResult result)
toString ()
TestDecorator
fTest
TestDecorator (Test test)
basicRun (TestResult result)
countTestCases ()
getTest ()
run (TestResult result)
toString ()
TestSetup
TestSetup (Test test)
run (TestResult result)
setUp ()
tearDown ()
junit.framework
Hierarchy For Package junit.framework
Protectable (Interface)
protect ()
Test (Interface)
countTestCases ()
run (TestResult result)
TestListener (Interface)
addError (Test test, java.lang.Throwable t)
addFailure (Test test, AssertionFailedError t)
endTest (Test test)
startTest (Test test)
Assert
Assert ()
assertEquals (boolean expected, boolean actual)
assertEquals (byte expected, byte actual)
assertEquals (char expected, char actual)
assertEquals (double expected, double actual, double delta)
assertEquals (float expected, float actual, float delta)
assertEquals (int expected, int actual)
assertEquals (long expected, long actual)
assertEquals (java.lang.Object expected, java.lang.Object actual)
assertEquals (short expected, short actual)
assertEquals (java.lang.String message, boolean expected, boolean actual)
assertEquals (java.lang.String message, byte expected, byte actual)
assertEquals (java.lang.String message, char expected, char actual)
assertEquals (java.lang.String message, double expected, double actual, double delta)
assertEquals (java.lang.String message, float expected, float actual, float delta)
assertEquals (java.lang.String message, int expected, int actual)
assertEquals (java.lang.String message, long expected, long actual)
assertEquals (java.lang.String message, java.lang.Object expected, java.lang.Object actual)
assertEquals (java.lang.String message, short expected, short actual)
assertEquals (java.lang.String expected, java.lang.String actual)
assertEquals (java.lang.String message, java.lang.String expected, java.lang.String actual)
assertFalse (boolean condition)
assertFalse (java.lang.String message, boolean condition)
assertNotNull (java.lang.Object object)
assertNotNull (java.lang.String message, java.lang.Object object)
assertNotSame (java.lang.Object expected, java.lang.Object actual)
assertNotSame (java.lang.String message, java.lang.Object expected, java.lang.Object actual)
assertNull (java.lang.Object object)
assertNull (java.lang.String message, java.lang.Object object)
assertSame (java.lang.Object expected, java.lang.Object actual)
assertSame (java.lang.String message, java.lang.Object expected, java.lang.Object actual)
assertTrue (boolean condition)
assertTrue (java.lang.String message, boolean condition)
fail ()
fail (java.lang.String message)
TestCase
TestCase ()
TestCase (java.lang.String name)
countTestCases ()
createResult ()
getName ()
run ()
run (TestResult result)
runBare ()
runTest ()
setName (java.lang.String name)
setUp ()
tearDown ()
toString ()
TestFailure
fFailedTest
fThrownException
TestFailure (Test failedTest, java.lang.Throwable thrownException)
exceptionMessage ()
failedTest ()
isFailure ()
thrownException ()
toString ()
trace ()
TestResult
fErrors
fFailures
fListeners
fRunTests
TestResult ()
addError (Test test, java.lang.Throwable t)
addFailure (Test test, AssertionFailedError t)
addListener (TestListener listener)
endTest (Test test)
errorCount ()
errors ()
failureCount ()
failures ()
removeListener (TestListener listener)
run (TestCase test)
runCount ()
runProtected (Test test, Protectable p)
shouldStop ()
startTest (Test test)
stop ()
wasSuccessful ()
TestSuite
TestSuite ()
TestSuite (java.lang.Class theClass)
TestSuite (java.lang.Class theClass, java.lang.String name)
TestSuite (java.lang.String name)
addTest (Test test)
addTestSuite (java.lang.Class testClass)
countTestCases ()
createTest (java.lang.Class theClass, java.lang.String name)
getName ()
getTestConstructor (java.lang.Class theClass)
run (TestResult result)
runTest (Test test, TestResult result)
setName (java.lang.String name)
testAt (int index)
testCount ()
tests ()
toString ()
AssertionFailedError
AssertionFailedError ()
AssertionFailedError (java.lang.String message)
ComparisonFailure
ComparisonFailure (java.lang.String message, java.lang.String expected, java.lang.String actual)
getMessage ()
Get in touch
Submit feedback about this site to:
[email protected]