|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.equanda.generate.NamesTest
public class NamesTest
test for invalid names for tables, fields and link-names
| Constructor Summary | |
|---|---|
NamesTest()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
void |
testInvalidFieldName_Invalid1stChar()
|
void |
testInvalidFieldName_InvalidChar()
|
void |
testInvalidFieldName_OLength()
|
void |
testInvalidLinkName_Invalid1stChar()
|
void |
testInvalidLinkName_InvalidChar()
|
void |
testInvalidTableName_0Length()
|
void |
testInvalidTableName_Invalid1stChar()
|
void |
testInvalidTableName_InvalidChar()
|
void |
testInvalidTableName_ReservedName()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NamesTest()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
public void testInvalidTableName_0Length()
throws Exception
Exception
public void testInvalidTableName_Invalid1stChar()
throws Exception
Exception
public void testInvalidTableName_InvalidChar()
throws Exception
Exception
public void testInvalidTableName_ReservedName()
throws Exception
Exception
public void testInvalidFieldName_OLength()
throws Exception
Exception
public void testInvalidFieldName_Invalid1stChar()
throws Exception
Exception
public void testInvalidFieldName_InvalidChar()
throws Exception
Exception
public void testInvalidLinkName_Invalid1stChar()
throws Exception
Exception
public void testInvalidLinkName_InvalidChar()
throws Exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||