Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
J
N
P
R
S
T
A
add(Test)
- Method in class jmunit.framework.cldc11.
TestSuite
The purpose of this method is store Tests.
addError(Class, String, Throwable)
- Method in class jmunit.framework.cldc11.
ConsoleListener
Prints the details of an error.
addError(String, Throwable)
- Method in class jmunit.framework.cldc11.
ExceptionList
Adds an error to be displayed on the list.
addError(Class, String, Throwable)
- Method in class jmunit.framework.cldc11.
GuiListener
Appends the error to the list of failed test cases.
addError(Class, String, Throwable)
- Method in interface jmunit.framework.cldc11.
TestListener
An error occurred.
addError(Class, String, Throwable)
- Method in class jmunit.framework.cldc11.
TestResult
An error or failure occurred.
addFailure(Class, String, AssertionFailedException)
- Method in class jmunit.framework.cldc11.
ConsoleListener
Prints the details of a failure.
addFailure(String, Throwable)
- Method in class jmunit.framework.cldc11.
ExceptionList
Adds a failure to be displayed on the list.
addFailure(Class, String, AssertionFailedException)
- Method in class jmunit.framework.cldc11.
GuiListener
Appends the failure to the list of failed test cases.
addFailure(Class, String, AssertionFailedException)
- Method in interface jmunit.framework.cldc11.
TestListener
An failure occurred.
addListener(TestListener)
- Method in class jmunit.framework.cldc11.
TestResult
Registers a TestListener
assertEquals(String, Object, Object)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected object and the actual object are equal.
assertEquals(String, boolean, boolean)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected boolean and the actual boolean are equal.
assertEquals(String, char, char)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected char and the actual char are equal.
assertEquals(String, int, int)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected int and the actual int are equal.
assertEquals(String, byte, byte)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected byte and the actual byte are equal.
assertEquals(String, long, long)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected long and the actual long are equal.
assertEquals(String, short, short)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected short and the actual short are equal.
assertEquals(String, float, float)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected float and the actual float are equal.
assertEquals(String, double, double)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected double and the actual double are equal.
assertEquals(Object, Object)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected object and the actual object are equal.
assertEquals(boolean, boolean)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected boolean and the actual boolean are equal.
assertEquals(char, char)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected char and the actual char are equal.
assertEquals(int, int)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected int and the actual int are equal.
assertEquals(byte, byte)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected byte and the actual byte are equal.
assertEquals(long, long)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected long and the actual long are equal.
assertEquals(short, short)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected short and the actual short are equal.
assertEquals(float, float)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected float and the actual float are equal.
assertEquals(double, double)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected double and the actual double are equal.
assertFalse(String, boolean)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the boolean expression is false.
assertFalse(boolean)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the boolean expression is false.
Assertion
- Class in
jmunit.framework.cldc11
The root class for the test classes tree.
Assertion()
- Constructor for class jmunit.framework.cldc11.
Assertion
AssertionFailedException
- Exception in
jmunit.framework.cldc11
A sub-class of RuntimeException used by the framework to manage a fail in a assertion.
AssertionFailedException()
- Constructor for exception jmunit.framework.cldc11.
AssertionFailedException
The default constructor.
AssertionFailedException(String)
- Constructor for exception jmunit.framework.cldc11.
AssertionFailedException
A constructor that takes a message that describes the exception in more detail.
assertNotEquals(String, Object, Object)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected object and the actual object aren't equal.
assertNotEquals(String, boolean, boolean)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected boolean and the actual boolean aren't equal.
assertNotEquals(String, char, char)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected char and the actual char aren't equal.
assertNotEquals(String, int, int)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected int and the actual int aren't equal.
assertNotEquals(String, byte, byte)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected byte and the actual byte aren't equal.
assertNotEquals(String, long, long)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected long and the actual long aren't equal.
assertNotEquals(String, float, float)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected float and the actual float aren't equal.
assertNotEquals(String, double, double)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected double and the actual double aren't equal.
assertNotEquals(String, short, short)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected short and the actual short aren't equal.
assertNotEquals(Object, Object)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected object and the actual object aren't equal.
assertNotEquals(boolean, boolean)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected boolean and the actual boolean aren't equal.
assertNotEquals(char, char)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected char and the actual char aren't equal.
assertNotEquals(int, int)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected int and the actual int aren't equal.
assertNotEquals(byte, byte)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected byte and the actual byte aren't equal.
assertNotEquals(long, long)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected long and the actual long aren't equal.
assertNotEquals(short, short)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected short and the actual short aren't equal.
assertNotEquals(float, float)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected float and the actual float aren't equal.
assertNotEquals(double, double)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected double and the actual double aren't equal.
assertNotNull(String, Object)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the object isn't null.
assertNotNull(Object)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the object isn't null.
assertNotSame(String, Object, Object)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected object and the actual object aren't the same.
assertNotSame(Object, Object)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected object and the actual object aren't the same.
assertNull(String, Object)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the object is null.
assertNull(Object)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the object is null.
assertSame(String, Object, Object)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected object and the actual object are the same.
assertSame(Object, Object)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the expected object and the actual object are the same.
assertTrue(String, boolean)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the boolean expression is true.
assertTrue(boolean)
- Static method in class jmunit.framework.cldc11.
Assertion
Assert if the boolean expression is true.
C
clear()
- Method in class jmunit.framework.cldc11.
ConsoleListener
The ConsoleListener ignores any notifications that the results have been cleared.
clear()
- Method in class jmunit.framework.cldc11.
GuiListener
Clears the status of any previous test runs.
clear()
- Method in interface jmunit.framework.cldc11.
TestListener
The test results have been cleared.
clear()
- Method in class jmunit.framework.cldc11.
TestResult
Clears the results of all the tests.
clearAll()
- Method in class jmunit.framework.cldc11.
ExceptionList
Removes all messages displayed by the list.
commandAction(Command, Displayable)
- Method in class jmunit.framework.cldc11.
GuiListener
Responds to a user command.
ConsoleListener
- Class in
jmunit.framework.cldc11
The ConsoleListener class listens to test results and writes any failures and errors to the console.
ConsoleListener()
- Constructor for class jmunit.framework.cldc11.
ConsoleListener
countTestCases()
- Method in class jmunit.framework.cldc11.
Test
Counts the number of test cases that will be run by this test.
countTestCases()
- Method in class jmunit.framework.cldc11.
TestCase
Returns the number of tests in TestCase.
countTestCases()
- Method in class jmunit.framework.cldc11.
TestRunner
Counts the number of tests.
countTestCases()
- Method in class jmunit.framework.cldc11.
TestSuite
Counts the number of test cases that will be run by this test.
D
destroyApp(boolean)
- Method in class jmunit.framework.cldc11.
Test
It's an empty method.
displayResults(MIDlet)
- Method in class jmunit.framework.cldc11.
ExceptionList
Displays the list of errors and failures.
doStart()
- Method in class jmunit.framework.cldc11.
Test
The doStart method is a template method that is called when an app is started.
doStart()
- Method in class jmunit.framework.cldc11.
TestRunner
We override the doStart method to run the tests immediately.
E
endTest(Class, String)
- Method in class jmunit.framework.cldc11.
ConsoleListener
The ConsoleListener ignores any notifications that a test has ended.
endTest(Class, String)
- Method in class jmunit.framework.cldc11.
GuiListener
Refreshes the display to indicate that a test has finished running.
endTest(Class, String)
- Method in interface jmunit.framework.cldc11.
TestListener
A test ended.
endTest(Class, String)
- Method in class jmunit.framework.cldc11.
TestResult
A test ended.
ExceptionList
- Class in
jmunit.framework.cldc11
The ExceptionList class displays errors and failures reported to a GuiListener.
ExceptionList(GuiListener)
- Constructor for class jmunit.framework.cldc11.
ExceptionList
Constructor.
F
fail(String)
- Static method in class jmunit.framework.cldc11.
Assertion
This method is used to notify the framework that a assertion failed.
fail(String, short, short)
- Static method in class jmunit.framework.cldc11.
Assertion
This method is used to notify the framework that a assertion failed.
fail(String, float, float)
- Static method in class jmunit.framework.cldc11.
Assertion
This method is used to notify the framework that a assertion failed.
fail(String, double, double)
- Static method in class jmunit.framework.cldc11.
Assertion
This method is used to notify the framework that a assertion failed.
fail(String, long, long)
- Static method in class jmunit.framework.cldc11.
Assertion
This method is used to notify the framework that a assertion failed.
fail(String, byte, byte)
- Static method in class jmunit.framework.cldc11.
Assertion
This method is used to notify the framework that a assertion failed.
fail(String, int, int)
- Static method in class jmunit.framework.cldc11.
Assertion
This method is used to notify the framework that a assertion failed.
fail(String, char, char)
- Static method in class jmunit.framework.cldc11.
Assertion
This method is used to notify the framework that a assertion failed.
fail(String, boolean, boolean)
- Static method in class jmunit.framework.cldc11.
Assertion
This method is used to notify the framework that a assertion failed.
fail(String, Object, Object)
- Static method in class jmunit.framework.cldc11.
Assertion
This method is used to notify the framework that a assertion failed.
fail()
- Static method in class jmunit.framework.cldc11.
Assertion
This method is used to notify the framework that a assertion failed.
G
getName()
- Method in class jmunit.framework.cldc11.
Test
This method gets the names of the test.
getNestedTest()
- Method in class jmunit.framework.cldc11.
TestRunner
A TestRunner needs to run some wrapped Test.
getNumberCompletedTests()
- Method in class jmunit.framework.cldc11.
GuiListener
Returns the number of tests that have been run.
getNumberErrors()
- Method in class jmunit.framework.cldc11.
GuiListener
Returns the number of errors reported.
getNumberFailures()
- Method in class jmunit.framework.cldc11.
GuiListener
Returns the number of failures reported.
getNumberSuccessful()
- Method in class jmunit.framework.cldc11.
GuiListener
Returns the number successful tests run.
getNumberTests()
- Method in class jmunit.framework.cldc11.
GuiListener
Returns the total number of tests in the test suite.
getRunningTime()
- Method in class jmunit.framework.cldc11.
GuiListener
Returns how long the tests have taken to run.
getVersion()
- Static method in class jmunit.framework.cldc11.
JMUnit
A method that returns the current verison of the framework.
GuiListener
- Class in
jmunit.framework.cldc11
The GuiListener class displays the results of running a test as a green/red bar together with the number of tests, failures and errors and the running time.
GuiListener(Test)
- Constructor for class jmunit.framework.cldc11.
GuiListener
J
JMUnit
- Class in
jmunit.framework.cldc11
A framework's utility class.
JMUnit()
- Constructor for class jmunit.framework.cldc11.
JMUnit
jmunit.framework.cldc11
- package jmunit.framework.cldc11
N
name
- Variable in class jmunit.framework.cldc11.
Test
The name of the test.
P
paint(Graphics)
- Method in class jmunit.framework.cldc11.
Screen
The paint method of Screen is the responsible for painting the interface.
pauseApp()
- Method in class jmunit.framework.cldc11.
Test
It's an empty method.
R
removeAll()
- Method in class jmunit.framework.cldc11.
TestSuite
Removes all tests from the TestSuite.
removeListeners()
- Method in class jmunit.framework.cldc11.
TestResult
Unregisters all TestListeners
results
- Variable in class jmunit.framework.cldc11.
Test
The TestResult object that will handle test result updates.
run(TestResult)
- Method in class jmunit.framework.cldc11.
Test
Runs a test and collects its result in a TestResult instance.
run(TestResult)
- Method in class jmunit.framework.cldc11.
TestCase
Runs a test and collects its result in a TestResult instance.
run(TestResult)
- Method in class jmunit.framework.cldc11.
TestRunner
Runs and reports the tests.
run(TestResult)
- Method in class jmunit.framework.cldc11.
TestSuite
Runs a test and collects its result in a TestResult instance.
S
Screen
- Class in
jmunit.framework.cldc11
The purpose of this class is generate all the framework's interface.
Screen(String, GuiListener)
- Constructor for class jmunit.framework.cldc11.
Screen
The default constructor.
setUp()
- Method in class jmunit.framework.cldc11.
TestCase
A empty method used by the framework to initialize the tests.
startApp()
- Method in class jmunit.framework.cldc11.
Test
The startApp puts the screen in the simulator interface.
startTest(Class, String)
- Method in class jmunit.framework.cldc11.
ConsoleListener
The ConsoleListener ignores any notifications that a test has started.
startTest(Class, String)
- Method in class jmunit.framework.cldc11.
GuiListener
The GuiListener ignores the fact that a test has started running.
startTest(Class, String)
- Method in interface jmunit.framework.cldc11.
TestListener
A test started.
startTest(Class, String)
- Method in class jmunit.framework.cldc11.
TestResult
A test started.
T
tearDown()
- Method in class jmunit.framework.cldc11.
TestCase
A empty mehod used by the framework to release resources used by the tests.
Test
- Class in
jmunit.framework.cldc11
The Test is a abstract class that has the main implementation to create a executing test class or a utility class to execute others.
Test(String)
- Constructor for class jmunit.framework.cldc11.
Test
The constructor.
test()
- Method in class jmunit.framework.cldc11.
Test
This convenience method runs all the tests and creates a TestResult if necessary.
test(int)
- Method in class jmunit.framework.cldc11.
TestCase
This method stores all the test methods invocation.
TestCase
- Class in
jmunit.framework.cldc11
The principal class in the framework.
TestCase(int, String)
- Constructor for class jmunit.framework.cldc11.
TestCase
The default constructor.
TestListener
- Interface in
jmunit.framework.cldc11
The TestListener interface defines methods that a class that wants to know the results of a test must implement.
TestResult
- Class in
jmunit.framework.cldc11
The TestResult class collects test results and relays them to TestListeners.
TestResult()
- Constructor for class jmunit.framework.cldc11.
TestResult
The constructor.
TestRunner
- Class in
jmunit.framework.cldc11
The TestRunner class runs a test immediately on launching of a MIDlet.
TestRunner(int)
- Constructor for class jmunit.framework.cldc11.
TestRunner
Constructor.
TestRunner(String, int)
- Constructor for class jmunit.framework.cldc11.
TestRunner
Constructor.
TestSuite
- Class in
jmunit.framework.cldc11
The TestSuite class is responsible for execute many TestCases.
TestSuite()
- Constructor for class jmunit.framework.cldc11.
TestSuite
The default constructor.
TestSuite(String)
- Constructor for class jmunit.framework.cldc11.
TestSuite
It must be called by the subclass constructor with a name parameter.
A
C
D
E
F
G
J
N
P
R
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes