Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
10.3.1.4
-
None
Description
testProtocol.java executes DRDA commands from a file written in a special-purpose language. The statements are very much like assertions, so it should be fairly easy to convert the test to JUnit.
Suggested approach: Change the interpreter (TestProto.java) so that is uses Assert.fail() instead of System.err.println() and System.exit(), and BaseTestCase.println() instead of System.out.println(). It should also use TestConfiguration to get the host name and port number.
Attachments
Attachments
Issue Links
- depends upon
-
DERBY-2460 Create a framework for writing unit tests that will access package-private fields and methods of Derby classes
- Open
- is part of
-
DERBY-4090 Provide the ability to run tests concurrently on the same machine
- Open
- is related to
-
DERBY-763 Move testing code (TestProto.java) out of drda Source directory
- Open