org.apache.torque.util

## Class UniqueListTest

- java.lang.Object
- - org.apache.torque.BaseTestCase
  - - org.apache.torque.util.UniqueListTest

-     public class UniqueListTest
      extends BaseTestCase

  Test for UniqueList
  Version:
    $Id: UniqueListTest.java 1850726 2019-01-08 10:56:07Z gk $
  Author:
    Martin Poeschl

- - ### Field Summary

    - ### Fields inherited from class org.apache.torque.BaseTestCase

      `CONFIG_FILE, database, databaseMap, databaseMysql, databaseOracle, databasePostgresql, integerColumnMap, stringColumnMap, stringColumnMap2, stringColumnMap3, tableMap`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UniqueListTest()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `testNull()` null values are not allowed
    `void` | `testUnique()` duplicates values are not allowed

    - ### Methods inherited from class org.apache.torque.BaseTestCase

      `setUp`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### UniqueListTest

          public UniqueListTest()

  - ### Method Detail

    - #### testNull

          @Test
          public void testNull()

      null values are not allowed

    - #### testUnique

          @Test
          public void testUnique()

      duplicates values are not allowed

Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.