A C D E F G J M 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
addPerformanceMeasurement(PerformanceMeasurement) - Method in class jmunit.framework.cldc11.TestCase
Adds a PerformanceMeasurement that wants to measure the performance of one or more tests in this TestCase.
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

endMeasurement() - Method in class jmunit.framework.cldc11.MemoryMeasurement
Ends monitoring.
endMeasurement() - Method in interface jmunit.framework.cldc11.PerformanceMeasurement
Ends the monitoring of a test in a TestCase.
endMeasurement() - Method in class jmunit.framework.cldc11.TimedMeasurement
Ends monitoring.
endPerformanceMeasurements() - Method in class jmunit.framework.cldc11.TestCase
This method ends performance measurements.
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
 

M

MemoryMeasurement - Class in jmunit.framework.cldc11
The MemoryMeasurement class monitors how much memory is used by a test.
MemoryMeasurement(long) - Constructor for class jmunit.framework.cldc11.MemoryMeasurement
Constructor.
MemoryMeasurement(long, boolean) - Constructor for class jmunit.framework.cldc11.MemoryMeasurement
 

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.
PerformanceMeasurement - Interface in jmunit.framework.cldc11
The PerformanceMeasurement interface is implemented by classes that want to monitor the performance of a test class.

R

removeAll() - Method in class jmunit.framework.cldc11.TestSuite
Removes all tests from the TestSuite.
removeAllPerformanceMeasurements() - Method in class jmunit.framework.cldc11.TestCase
Removes all PerformanceMeasurement objects that were observing the performance of a test.
removeListeners() - Method in class jmunit.framework.cldc11.TestResult
Unregisters all TestListeners
removePerformanceMeasurement(PerformanceMeasurement) - Method in class jmunit.framework.cldc11.TestCase
Removes a PerformanceMeasurement that was observing the performance of a test.
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.
startMeasurement() - Method in class jmunit.framework.cldc11.MemoryMeasurement
Starts monitoring.
startMeasurement() - Method in interface jmunit.framework.cldc11.PerformanceMeasurement
Starts the performance monitoring for a test in a TestCase.
startMeasurement() - Method in class jmunit.framework.cldc11.TimedMeasurement
Starts monitoring.
startPerformanceMeasurements() - Method in class jmunit.framework.cldc11.TestCase
This method starts the performance measurements.
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.
TimedMeasurement - Class in jmunit.framework.cldc11
The TimedMeasurement class monitors the running time of a test.
TimedMeasurement(long) - Constructor for class jmunit.framework.cldc11.TimedMeasurement
Constructor.
TimedMeasurement(long, int) - Constructor for class jmunit.framework.cldc11.TimedMeasurement
Constructor that allows the clock resolution to be specified.

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