|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.collections.BulkTest
org.apache.commons.collections.TestObject
org.apache.commons.collections.TestMap
org.apache.commons.collections.TestStaticBucketMap
Unit tests StaticBucketMap.
| Nested Class Summary |
| Nested classes inherited from class org.apache.commons.collections.TestMap |
TestMap.TestMapEntrySet, TestMap.TestMapKeySet, TestMap.TestMapValues |
| Field Summary |
| Fields inherited from class org.apache.commons.collections.TestMap |
confirmed, entrySet, keySet, map, values |
| Fields inherited from class org.apache.commons.collections.TestObject |
COLLECTIONS_MAJOR_VERSION |
| Fields inherited from class org.apache.commons.collections.BulkTest |
verboseName |
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
TestStaticBucketMap(java.lang.String name) |
|
| Method Summary | |
java.lang.String[] |
ignoredSimpleTests()Returns an array of simple test names to ignore. |
static void |
main(java.lang.String[][] args) |
java.util.Map |
makeEmptyMap()Return a new, empty Map to be used for testing. |
static junit.framework.Test |
suite() |
| Methods inherited from class org.apache.commons.collections.BulkTest |
clone, makeSuite, toString |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TestStaticBucketMap(java.lang.String name)
| Method Detail |
public static junit.framework.Test suite()
public static void main(java.lang.String[][] args)
public java.util.Map makeEmptyMap()
TestMapMap to be used for testing.
makeEmptyMap in class TestMappublic java.lang.String[] ignoredSimpleTests()
BulkTestIf a simple test that's defined by this BulkTest or by one of its bulk test methods has a name that's in the returned array, then that simple test will not be executed.
A simple test's name is formed by taking the class name of the root BulkTest, eliminating the package name, then appending the names of any bulk test methods that were invoked to get to the simple test, and then appending the simple test method name. The method names are delimited by periods:
TestHashMap.bulkTestEntrySet.testClearis the name of one of the simple tests defined in the sample classes described above. If the sample
TestHashMap class included this method:
public String[] ignoredSimpleTests() {
return new String[] { "TestHashMap.bulkTestEntrySet.testClear" };
}
then the entry set's clear method wouldn't be tested, but the key set's clear method would.
ignoredSimpleTests in class BulkTest
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||