|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase net.sf.jaxme.sqls.junit.CreateTest
Constructor Summary | |
CreateTest(java.lang.String pName)
Creates a new instance of CreateTest.java. |
Method Summary | |
protected Table |
getBasicTable()
Creates a basic table |
protected Table |
getComposedKeyTable()
Creates a table with a composed primary key. |
protected java.lang.String |
getCreateForeignKeyResult()
|
protected Table |
getForeignKeyTable(Table pTable)
|
protected Table |
getPrimaryKeyTable()
Creates a table with primary key |
protected SQLFactory |
newSQLFactory()
|
void |
setUp()
|
void |
testBasicCreate()
Basic test for creating a CREATE TABLE
statement. |
void |
testBasicDelete()
Basic test for creating an DELETE statement. |
void |
testBasicInsert()
Basic test for creating an INSERT statement. |
void |
testBasicSelect()
Basic test for creating a SELECT statement. |
void |
testBasicUpdate()
Basic test for creating an UPDATE statement. |
void |
testComposedPrimaryKey()
Test for composed primary keys. |
void |
testCreateForeignKey()
Test for a FOREIGN KEY definition. |
void |
testIndexNames()
Test for index names. |
void |
testJoin()
Test for a JOIN statement. |
void |
testSubSelect()
Test for subselects. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CreateTest(java.lang.String pName)
Creates a new instance of CreateTest.java.
Method Detail |
protected SQLFactory newSQLFactory()
public void setUp()
protected Table getBasicTable()
Creates a basic table
protected Table getPrimaryKeyTable()
Creates a table with primary key
protected Table getForeignKeyTable(Table pTable)
public void testBasicCreate()
Basic test for creating a CREATE TABLE
statement.
public void testBasicInsert()
Basic test for creating an INSERT
statement.
public void testBasicSelect()
Basic test for creating a SELECT
statement.
public void testBasicUpdate()
Basic test for creating an UPDATE
statement.
public void testBasicDelete()
Basic test for creating an DELETE
statement.
protected java.lang.String getCreateForeignKeyResult()
public void testCreateForeignKey()
Test for a FOREIGN KEY definition.
public void testJoin()
Test for a JOIN statement.
protected Table getComposedKeyTable()
Creates a table with a composed primary key.
public void testComposedPrimaryKey()
Test for composed primary keys.
public void testIndexNames()
Test for index names.
public void testSubSelect()
Test for subselects.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |