char
8788899091929394959697
// collections testing framework // ------------------------------------------------------------------------ protected Object makeObject() { CharList list = new ArrayCharList(); for(int i=0;i<10;i++) { list.add((char)i); } return new CharCollectionCollection(list); }
117118119120121122123124125
public void testWrapNull() { assertNull(CharCollectionCollection.wrap(null)); } public void testWrapSerializable() { Collection collection = CharCollectionCollection.wrap(new ArrayCharList()); assertNotNull(collection); assertTrue(collection instanceof Serializable); }