|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.sqlunit.handlers.DiffHandler
public class DiffHandler
The DiffHandler compares result sets from two different SQL statements or stored procedure calls. The caller does not need to know or specify the exact results returned from each SQL or stored procedure call. This can be used when comparing the output of two queries which are too large or unknown at test specification time.
Constructor Summary | |
---|---|
DiffHandler()
|
Method Summary | |
---|---|
java.lang.Object |
process(org.jdom.Element elDiff)
Collects the stored procedures and SQL statements specified and runs them in a batch, matching with the specified results with the same id attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiffHandler()
Method Detail |
---|
public final java.lang.Object process(org.jdom.Element elDiff) throws java.lang.Exception
process
in interface IHandler
elDiff
- the JDOM Element representing the batchtest tag.
java.lang.Exception
- if there was a problem running the process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |