[
https://issues.apache.org/jira/browse/DERBY-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean T. Anderson updated DERBY-2461:
------------------------------------
Attachment: derby-2461-pre.diff
I need to focus attention elsewhere for a while, so can't work on converting
this test right now and will unassign myself.
I attached a patch with how far I got so far just in case somebody else is
interested in picking it up. You're welcome to use it as a starting point (or
toss it and start over). If nobody has picked it up by the time I can focus
time on it again, I'll pick it back up.
The patch sets up the JUnit framework and converts just the first two tests in
lang/procedure.java: testNegative and testDelayedClassChecking, and it splits
testNegative, which I thought was kind of long, into two methods:
testCreateRoutineErrors
testMethodSignatureDerby258
testCreateRoutineErrors still uses the old statementExceptionExpected() method
from procedure.java, but with arguments swapped around to match
assertStatementError. It should be able to use the BaseJDBCTestCase
assertStatementError method (testMethodSignatureDerby258 uses it just fine, as
does the XMLTypeAndOpsTest suite). The cause is probably staring me right in
the face and I'm not seeing it.
> Convert lang/procedure.java to junit
> ------------------------------------
>
> Key: DERBY-2461
> URL: https://issues.apache.org/jira/browse/DERBY-2461
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Reporter: Jean T. Anderson
> Assigned To: Jean T. Anderson
> Priority: Minor
> Attachments: derby-2461-pre.diff
>
>
> Convert the lang/procedure.java test from the old harness to junit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.