net.shibboleth.metadata
Class ItemIdTest
java.lang.Object
net.shibboleth.metadata.ItemIdTest
public class ItemIdTest
- extends Object
Unit tests for the ItemId class.
|
Method Summary |
void |
test()
|
void |
testCompareTo()
Test the implementation of the Comparable interface. |
void |
testHashCode()
Test that the hash codes for different ItemIds are different. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemIdTest
public ItemIdTest()
test
public void test()
testCompareTo
public void testCompareTo()
- Test the implementation of the
Comparable interface.
testHashCode
public void testHashCode()
- Test that the hash codes for different
ItemIds are different. Impossible to test for sure, because of
course the strings chosen have a very very low chance have the same hashCode.
Copyright © 1999-2012. All Rights Reserved.