Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 Use

open
nobody
None
5
2012-11-13
2012-11-13
Pascal VILTARD
No

Hello,
Try to use the test from Marc on Oracle : http://marc-on-oracle.blogspot.fr/2009/07/sqlunit-plsql-unit-testing-using-junit.html
->>test name="#4 FUNCTION call returning CURSOR
But I have <step>
<parameter name="description" value="#4 FUNCTION call returning CURSOR"/>
<parameter name="taskName" value="sqlunit:test"/>
</step>
<error
exception="java.lang.ArrayIndexOutOfBoundsException" message="0"><![CDATA[java.lang.ArrayIndexOutOfBoundsException: 0
at net.sourceforge.sqlunit.SymbolTable.update(SymbolTable.java:226)
at net.sourceforge.sqlunit.handlers.TestHandler.process(TestHandler.java:233)
at net.sourceforge.sqlunit.SQLUnit.processDoc(SQLUnit.java:327)
at net.sourceforge.sqlunit.SQLUnit.testWrapper(SQLUnit.java:243)
at net.sourceforge.sqlunit.SQLUnit.runTest(SQLUnit.java:220)
at net.sourceforge.sqlunit.ant.SqlunitTask.execute(SqlunitTask.java:115)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)

Discussion

  • Pascal VILTARD
    Pascal VILTARD
    2012-11-13

    XML Test

     
    Attachments