|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.objectweb.cjdbc.scenario.templates.NoTemplate
org.objectweb.cjdbc.scenario.standalone.sql.request.DeleteRequestTest
Nested Class Summary | |
(package private) class |
DeleteRequestTest.MyComparator
|
protected class |
DeleteRequestTest.ParsingResult
Stores the expected result of the call to DeleteRequest.parse(DatabaseSchema, int, boolean)
method. |
Field Summary | |
private AbstractDatabase |
database
Database on which the requests are performed. |
static java.lang.String |
EMPTY_VALUE
Null value to used in the requests file if needed. |
(package private) static boolean |
inited
|
private java.util.ArrayList |
results
List of ParsingResult objects. |
static java.lang.String |
RUBIS_DELETE_REQUESTS_FILE
File name containing the requests to test. |
private java.lang.String |
updatedPk
Updated pk |
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate |
logger, TEXT_DIR |
Constructor Summary | |
DeleteRequestTest()
|
Method Summary | |
void |
debugArrayList(java.lang.String header,
java.util.ArrayList al)
Print the given ArrayList prepended by a given header. |
private void |
parse(DeleteRequestTest.ParsingResult result,
boolean isCaseSensitive)
Perfoms the parsing test. |
protected void |
setUp()
|
java.util.ArrayList |
sortArrayList(java.util.ArrayList al)
Sort the given ArrayList |
void |
testParse()
org.objectweb.cjdbc.common.sql.DeleteRequest#parse(DatabaseSchema, int, boolean) |
Methods inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate |
getTextPath, getUserDir |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String RUBIS_DELETE_REQUESTS_FILE
public static final java.lang.String EMPTY_VALUE
private AbstractDatabase database
private java.util.ArrayList results
ParsingResult
objects.
private java.lang.String updatedPk
static boolean inited
Constructor Detail |
public DeleteRequestTest()
Method Detail |
protected void setUp()
junit.framework.TestCase#setUp()
public void testParse()
private void parse(DeleteRequestTest.ParsingResult result, boolean isCaseSensitive)
result
- expected resultisCaseSensitive
- true
if the parsing must be case
sensitive.public java.util.ArrayList sortArrayList(java.util.ArrayList al)
al
- the ArrayList to sort
public void debugArrayList(java.lang.String header, java.util.ArrayList al)
header
- header to displayal
- ArrayList to display
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |