Class CollectionUtilsTest

java.lang.Object
test.de.iip_ecosphere.platform.support.CollectionUtilsTest

public class CollectionUtilsTest extends Object
Tests CollectionUtils.
Author:
Holger Eichelberger, SSE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Tests CollectionUtils.addAll(List, Object...).
    void
    Tests CollectionUtils.addAll(Set, Object...).
    void
    Tests CollectionUtils.reverse(Object[]).
    void
    Tests CollectionUtils.toList(java.util.Iterator) and CollectionUtils.toList(Iterable).
    void
    Tests CollectionUtils.toList(Object...).
    void
    Tests CollectionUtils.toSet(java.util.Iterator) and CollectionUtils.toSet(Iterable).
    void
    Tests CollectionUtils.toString(java.util.Collection, String, String, String) and CollectionUtils.toStringSpaceSeparated(java.util.Collection).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CollectionUtilsTest

      public CollectionUtilsTest()
  • Method Details

    • testToList

      public void testToList()
      Tests CollectionUtils.toList(java.util.Iterator) and CollectionUtils.toList(Iterable).
    • testToSet

      public void testToSet()
      Tests CollectionUtils.toSet(java.util.Iterator) and CollectionUtils.toSet(Iterable).
    • testToListVarArg

      public void testToListVarArg()
      Tests CollectionUtils.toList(Object...).
    • testAddListAllVarArg

      public void testAddListAllVarArg()
      Tests CollectionUtils.addAll(List, Object...).
    • testAddSetAllVarArg

      public void testAddSetAllVarArg()
      Tests CollectionUtils.addAll(Set, Object...).
    • testToString

      public void testToString()
      Tests CollectionUtils.toString(java.util.Collection, String, String, String) and CollectionUtils.toStringSpaceSeparated(java.util.Collection).
    • testReverse

      public void testReverse()
      Tests CollectionUtils.reverse(Object[]).