|
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.TestCollection
org.apache.commons.collections.TestBoundedFifoBuffer
org.apache.commons.collections.TestBoundedFifoBuffer2
Runs tests against a full BoundedFifoBuffer, since many of the algorithms differ depending on whether the fifo is full or not.
| Field Summary |
| Fields inherited from class org.apache.commons.collections.TestCollection |
collection, confirmed |
| 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 | |
TestBoundedFifoBuffer2(java.lang.String n) |
|
| Method Summary | |
boolean |
isAddSupported()Overridden to skip the add tests. |
java.util.Collection |
makeFullCollection()Returns a BoundedFifoBuffer that's filled to capacity. |
static junit.framework.Test |
suite() |
void |
testBufferOverflow()Tests to make sure the add operations raise BufferOverflowException. |
void |
testUnsupportedAdd()Overridden because the add operations raise BufferOverflowException instead of UnsupportedOperationException. |
| Methods inherited from class org.apache.commons.collections.TestBoundedFifoBuffer |
getFullElements, makeCollection, makeConfirmedCollection, makeConfirmedFullCollection, testBoundedFifoBufferRemove, testCollectionIteratorFailFast, testConstructorException1, testConstructorException2, verify |
| Methods inherited from class org.apache.commons.collections.BulkTest |
clone, ignoredSimpleTests, makeSuite, toString |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown |
| 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 TestBoundedFifoBuffer2(java.lang.String n)
| Method Detail |
public static junit.framework.Test suite()
public java.util.Collection makeFullCollection()
makeFullCollection in class TestCollectionpublic boolean isAddSupported()
isAddSupported in class TestCollectionpublic void testUnsupportedAdd()
testUnsupportedAdd in class TestCollectionpublic void testBufferOverflow()
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||