db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manjula Kutty (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2299) convert cursor.java to junit
Date Tue, 13 Feb 2007 01:06:06 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472491
] 

Manjula Kutty commented on DERBY-2299:
--------------------------------------

you can test the different SQL states with usingEmbedded/usingDerbyNet/usingDerbyNetClient
methods from the BaseJdBCTestCase.

example:

if (usingEmbedded())
	assertStatementError("24000", delete);
else
	assertStatementError("XCL07", delete);

where delete is the prepared statement


> convert cursor.java to junit
> ----------------------------
>
>                 Key: DERBY-2299
>                 URL: https://issues.apache.org/jira/browse/DERBY-2299
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: Kathey Marsden
>         Assigned To: Kathey Marsden
>            Priority: Minor
>             Fix For: 10.3.0.0
>
>         Attachments: DERBY_2299.stat, DERBY_2299.txt, DERBY_2299_2.txt
>
>
> Convert cursor.java to junit

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message