[
https://issues.apache.org/jira/browse/DERBY-3832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622285#action_12622285
]
Kathey Marsden commented on DERBY-3832:
---------------------------------------
It looks good, except when I ran the test I saw this output:
testTimeSliceCallable_Neg2 DRDA_InvalidValue.U:Invalid value, -2, for
timeslice.
I think for this case:
try {
server.setTimeSlice(-2);
} catch (Exception e) {
System.out.println(e.getMessage());
}
Instead of outputting the message to the screen, you should check somthing like.
assertTrue(e.getMessage().indexOf("Invalid value") != -1);
> Convert derbynet/timeslice.java to Junit
> ----------------------------------------
>
> Key: DERBY-3832
> URL: https://issues.apache.org/jira/browse/DERBY-3832
> Project: Derby
> Issue Type: Task
> Components: Test
> Reporter: Suran Jayathilaka
> Assignee: Suran Jayathilaka
> Attachments: derby-3832-2.diff, derby-3832.diff
>
>
> Convert derbynet/timeslice to a Junit testcase.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.