| org.geotools.util.CanonicalSetTest
CanonicalSetTest | final public class CanonicalSetTest extends TestCase (Code) | | Test the
CanonicalSet . A standard
HashSet object
is used for comparaison purpose.
version: $Id: CanonicalSetTest.java 27848 2007-11-12 13:10:32Z desruisseaux $ author: Martin Desruisseaux |
CanonicalSetTest | public CanonicalSetTest(String name)(Code) | | Constructs a test case with the given name.
|
main | public static void main(String[] args)(Code) | | Run the suit from the command line.
|
suite | public static Test suite()(Code) | | Returns the test suite.
|
testStrongReferences | public void testStrongReferences()(Code) | | Test the
CanonicalSet using strong references.
The tested
CanonicalSet should behave like a
standard
Set object.
|
testWeakReferences | public void testWeakReferences() throws InterruptedException(Code) | | Test the
CanonicalSet using weak references.
In this test, we have to keep in mind than some elements
in weakSet may disaspear at any time!
|
|
|