org.equanda.generate
Class UniqueNameTest

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

public class UniqueNameTest
extends junit.framework.TestCase

test case for unique name enforcement

Author:
Joachim Van der Auwera, NetRom team

Constructor Summary
UniqueNameTest()
           
 
Method Summary
protected  void setUp()
           
 void testActionNotUnique()
           
 void testBuildNotUnique()
           
 void testFieldNameNotUnique()
           
 void testGroupJoin()
           
 void testGroupJoinFailed1()
           
 void testGroupJoinFailed2()
           
 void testSelectNotUnique()
           
 void testTableNameNotUnique()
           
 void testTableTypeNotUnique()
           
 
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

UniqueNameTest

public UniqueNameTest()
Method Detail

setUp

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

testFieldNameNotUnique

public void testFieldNameNotUnique()
                            throws Exception
Throws:
Exception

testTableNameNotUnique

public void testTableNameNotUnique()
                            throws Exception
Throws:
Exception

testTableTypeNotUnique

public void testTableTypeNotUnique()
                            throws Exception
Throws:
Exception

testActionNotUnique

public void testActionNotUnique()
                         throws Exception
Throws:
Exception

testSelectNotUnique

public void testSelectNotUnique()
                         throws Exception
Throws:
Exception

testBuildNotUnique

public void testBuildNotUnique()
                        throws Exception
Throws:
Exception

testGroupJoin

public void testGroupJoin()
                   throws Exception
Throws:
Exception

testGroupJoinFailed1

public void testGroupJoinFailed1()
                          throws Exception
Throws:
Exception

testGroupJoinFailed2

public void testGroupJoinFailed2()
                          throws Exception
Throws:
Exception


Copyright © 2007-2009. All Rights Reserved.