|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.sptci.rwt.QueryExecutorTest
public class QueryExecutorTest
Unit test for the QueryExecutor class.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Constructor Summary | |
|---|---|
QueryExecutorTest()
|
|
| Method Summary | |
|---|---|
private Rows |
delete()
Delete the test record added to table. |
private Rows |
insert()
Insert the test record to table. |
static Test |
suite()
|
void |
testDelete()
Test executing a delete statement. |
void |
testInsert()
Test executing an insert statement. |
void |
testMaxRows()
Test restricting rows of result set |
void |
testPaging()
Test paging of result set |
void |
testSelect()
Test executing a select statement. |
void |
testTotalRows()
Test fetching the total rows in a result set. |
void |
testUpdate()
Test executing an update statement. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QueryExecutorTest()
| Method Detail |
|---|
public static Test suite()
public void testInsert()
throws Exception
insert statement.
Exception
public void testSelect()
throws Exception
select statement.
Exception
public void testUpdate()
throws Exception
update statement.
Exception
public void testPaging()
throws Exception
Exception
public void testMaxRows()
throws Exception
Exception
public void testTotalRows()
throws Exception
Exception
public void testDelete()
throws Exception
delete statement.
Exception
private Rows insert()
throws Exception
Exception
private Rows delete()
throws Exception
Exception
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||