| Case # |
Description |
Steps |
Expected Outcome |
Actual Outcome |
| |
Preparation. Note - this prepatory
step needs to have been done before any other test cases are carried out |
- Run ETA
- Open a class "java.lang.String"
- Instantiate the class
|
|
|
| 1 |
Invoke a Method: No parameters |
- click on the method length()
|
An object of type java.lang.
integer should be returned to the returned object pool with a value of 0
and no name. |
|
| 2 |
Invoke a Method: Parameters |
- Create a new String test
data item "msg" with value "Hello"
- Click on the parameter
list of method compareTo() and choose msg
- Click on method compareTo()
|
An object of type
java.lang.integer name String.compareTo() with value -5 should be returned
to the returned object pool. |
|