org.apache.ojb.broker.metadata
Class RepositoryElementsTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.ojb.broker.metadata.RepositoryElementsTest
All Implemented Interfaces:
junit.framework.Test

public class RepositoryElementsTest
extends junit.framework.TestCase

Version:
Apr 16, 2003 6:14:56 PM
Author:
Virender Dogra

Constructor Summary
RepositoryElementsTest(java.lang.String name)
          Constructor for RespositoryElementsTest.
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
static junit.framework.Test suite()
           
protected  void tearDown()
           
 void testForDuplicateElements()
          Method testForDuplicateElements.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

RepositoryElementsTest

public RepositoryElementsTest(java.lang.String name)
Constructor for RespositoryElementsTest.

Parameters:
name -
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static junit.framework.Test suite()

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testForDuplicateElements

public void testForDuplicateElements()
                              throws java.lang.Exception
Method testForDuplicateElements. This test is to check that there are no constants with the same values. This method collates the required data and then calls another resuable method to do the final checking

Throws:
java.lang.Exception


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14