|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.objectweb.cjdbc.sql.InsertRequestTest
InsertRequest
,
Serialized FormNested Class Summary | |
protected class |
InsertRequestTest.ParsingResult
Stores the expected result of the call to InsertRequest.parse(DatabaseSchema, int, boolean)
method. |
Field Summary | |
private AbstractDatabase |
database
Database on which the requests are performed. |
private static java.lang.String |
EMPTY_VALUE
Null value to used in the requests file if needed. |
private java.util.ArrayList |
results
List of ParsingResult objects. |
private static java.lang.String |
RUBIS_INSERT_REQUESTS_FILE
File name containing the requests to test. |
Constructor Summary | |
InsertRequestTest()
|
Method Summary | |
static void |
main(java.lang.String[] args)
|
private void |
parse(InsertRequestTest.ParsingResult result,
boolean isCaseSensitive)
Perfoms the parsing test. |
protected void |
setUp()
|
static Test |
suite()
|
void |
testParse()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String RUBIS_INSERT_REQUESTS_FILE
private static final java.lang.String EMPTY_VALUE
private AbstractDatabase database
private java.util.ArrayList results
ParsingResult
objects.
Constructor Detail |
public InsertRequestTest()
Method Detail |
public static Test suite()
public static void main(java.lang.String[] args)
protected void setUp()
junit.framework.TestCase#setUp()
public void testParse()
InsertRequest.parse(DatabaseSchema, int, boolean)
private void parse(InsertRequestTest.ParsingResult result, boolean isCaseSensitive)
result
- expected resultisCaseSensitive
- true
if the parsing must be case
sensitive.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |