com.silverpeas.util
Class CollectionUtilTest

java.lang.Object
  extended by com.silverpeas.util.CollectionUtilTest

public class CollectionUtilTest
extends Object

Author:
Yohann Chastagnier

Nested Class Summary
 class CollectionUtilTest.TestElement
          Object to collect.
 
Constructor Summary
CollectionUtilTest()
           
 
Method Summary
 void intersectionOfTwoListsShouldContainOnlyUniqueValues()
           
 void testExtractFrom()
          Extracting a property.
 void testExtractFromComplete()
          Extracting a property.
 void testExtractFromWithClass()
          Property extraction
 void testExtractFromWithCompare()
          Extracting a property from elements that each has an other property with a given value.
 void testSplit()
           
 void unionOfTwoListsShouldContainOnlyUniqueValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionUtilTest

public CollectionUtilTest()
Method Detail

testExtractFromWithClass

public void testExtractFromWithClass()
                              throws Exception
Property extraction

Throws:
Exception

testExtractFrom

public void testExtractFrom()
                     throws Exception
Extracting a property.

Throws:
Exception

testExtractFromComplete

public void testExtractFromComplete()
                             throws Exception
Extracting a property.

Throws:
Exception

testExtractFromWithCompare

public void testExtractFromWithCompare()
                                throws Exception
Extracting a property from elements that each has an other property with a given value.

Throws:
Exception

testSplit

public void testSplit()

unionOfTwoListsShouldContainOnlyUniqueValues

public void unionOfTwoListsShouldContainOnlyUniqueValues()

intersectionOfTwoListsShouldContainOnlyUniqueValues

public void intersectionOfTwoListsShouldContainOnlyUniqueValues()


Copyright © 2016 Silverpeas. All Rights Reserved.