I looked at my blogger comments, and you have the error message in there. The assertion string is incorrect, it should be "number-resultsets-equal" not "number-of-resultsets-equal". They are listed in the file Assertions.java.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks sujit for your reply.....
but i think there is a mistake in user guide, there it says number-of-resultsets-equal but i will try with "number-resultsets-equal" thanks again :)..
i hav checked the user guide they havnt mentioned any thing about asserting out parameter which is cursor, i hav also checked all the examples given in test folder but none is of the type i hav mentioned... :(
thanks a lot for ur time n valuable inputs :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i m getting this error on using the above assert?? can any one please help me wat m i missing here is the peace of code i m using:
<test name="running test 2" assert="number-of-resultsets-equal">
<call connection-id="1">
<stmt>{call pcs.pcs_get_pkg.get_prog_prod(?,?,?)}</stmt>
<param id="1" name="org_id" type="NUMERIC">10</param>
<param id="2" name="prod_id" type="NUMERIC">1030</param>
<param id="3" name="progprod_cur" type="CURSOR" inout="out">${progprod_cur}</param>
</call>
<result>
<outparam id="3" type="CURSOR">
<resultset id="1" rowcount="1" ></resultset>
</outparam>
</result>
</test>
Can you specify the error itself? Also if SQLUnit is crashing, a stacktrace may help someone on this list help you.
I looked at my blogger comments, and you have the error message in there. The assertion string is incorrect, it should be "number-resultsets-equal" not "number-of-resultsets-equal". They are listed in the file Assertions.java.
Thanks sujit for your reply.....
but i think there is a mistake in user guide, there it says number-of-resultsets-equal but i will try with "number-resultsets-equal" thanks again :)..
i hav checked the user guide they havnt mentioned any thing about asserting out parameter which is cursor, i hav also checked all the examples given in test folder but none is of the type i hav mentioned... :(
thanks a lot for ur time n valuable inputs :)