org.equanda.generate
Class NamesTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.equanda.generate.NamesTest
All Implemented Interfaces:
junit.framework.Test

public class NamesTest
extends junit.framework.TestCase

test for invalid names for tables, fields and link-names

Author:
NetRom team

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

NamesTest

public NamesTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testInvalidTableName_0Length

public void testInvalidTableName_0Length()
                                  throws Exception
Throws:
Exception

testInvalidTableName_Invalid1stChar

public void testInvalidTableName_Invalid1stChar()
                                         throws Exception
Throws:
Exception

testInvalidTableName_InvalidChar

public void testInvalidTableName_InvalidChar()
                                      throws Exception
Throws:
Exception

testInvalidTableName_ReservedName

public void testInvalidTableName_ReservedName()
                                       throws Exception
Throws:
Exception

testInvalidFieldName_OLength

public void testInvalidFieldName_OLength()
                                  throws Exception
Throws:
Exception

testInvalidFieldName_Invalid1stChar

public void testInvalidFieldName_Invalid1stChar()
                                         throws Exception
Throws:
Exception

testInvalidFieldName_InvalidChar

public void testInvalidFieldName_InvalidChar()
                                      throws Exception
Throws:
Exception

testInvalidLinkName_Invalid1stChar

public void testInvalidLinkName_Invalid1stChar()
                                        throws Exception
Throws:
Exception

testInvalidLinkName_InvalidChar

public void testInvalidLinkName_InvalidChar()
                                     throws Exception
Throws:
Exception


Copyright © 2007-2009. All Rights Reserved.