001: /* Copyright (C) 2004 - 2007 db4objects Inc. http://www.db4o.com
002:
003: This file is part of the db4o open source object database.
004:
005: db4o is free software; you can redistribute it and/or modify it under
006: the terms of version 2 of the GNU General Public License as published
007: by the Free Software Foundation and as clarified by db4objects' GPL
008: interpretation policy, available at
009: http://www.db4o.com/about/company/legalpolicies/gplinterpretation/
010: Alternatively you can write to db4objects, Inc., 1900 S Norfolk Street,
011: Suite 350, San Mateo, CA 94403, USA.
012:
013: db4o is distributed in the hope that it will be useful, but WITHOUT ANY
014: WARRANTY; without even the implied warranty of MERCHANTABILITY or
015: FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
016: for more details.
017:
018: You should have received a copy of the GNU General Public License along
019: with this program; if not, write to the Free Software Foundation, Inc.,
020: 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
021: package com.db4o.db4ounit.jre5.collections;
022:
023: /**
024: * @exclude
025: */
026: public class ArrayList4TATestCase extends ArrayList4TATestCaseBase {
027:
028: public static void main(String[] args) {
029: new ArrayList4TATestCase().runSolo();
030: }
031:
032: public void testAdd() throws Exception {
033: ArrayList4Asserter.assertAdd(retrieveAndAssertNullArrayList4());
034: }
035:
036: public void testAdd_LObject() throws Exception {
037: ArrayList4Asserter
038: .assertAdd_LObject(retrieveAndAssertNullArrayList4());
039: }
040:
041: public void testAddAll_LCollection() throws Exception {
042: ArrayList4Asserter
043: .assertAddAll_LCollection(retrieveAndAssertNullArrayList4());
044: }
045:
046: public void testClear() throws Exception {
047: ArrayList4Asserter
048: .assertClear(retrieveAndAssertNullArrayList4());
049: }
050:
051: public void testContains() throws Exception {
052: ArrayList4Asserter
053: .assertContains(retrieveAndAssertNullArrayList4());
054: }
055:
056: public void testContainsAll() throws Exception {
057: ArrayList4Asserter
058: .assertContainsAll(retrieveAndAssertNullArrayList4());
059: }
060:
061: public void testIndexOf() throws Exception {
062: ArrayList4Asserter
063: .assertIndexOf(retrieveAndAssertNullArrayList4());
064: }
065:
066: public void testIsEmpty() throws Exception {
067: ArrayList4Asserter
068: .assertIsEmpty(retrieveAndAssertNullArrayList4());
069: }
070:
071: public void testIterator() throws Exception {
072: ArrayList4Asserter
073: .assertIterator(retrieveAndAssertNullArrayList4());
074: }
075:
076: public void testLastIndexOf() throws Exception {
077: ArrayList4Asserter
078: .assertLastIndexOf(retrieveAndAssertNullArrayList4());
079: }
080:
081: public void testRemove_LObject() throws Exception {
082: ArrayList4Asserter
083: .assertRemove_LObject(retrieveAndAssertNullArrayList4());
084: }
085:
086: public void testRemoveAll() throws Exception {
087: ArrayList4Asserter
088: .assertRemoveAll(retrieveAndAssertNullArrayList4());
089: }
090:
091: public void testSet() throws Exception {
092: ArrayList4Asserter.assertSet(retrieveAndAssertNullArrayList4());
093: }
094:
095: public void testSize() throws Exception {
096: ArrayList4Asserter
097: .assertSize(retrieveAndAssertNullArrayList4());
098: }
099:
100: public void testToArray() throws Exception {
101: ArrayList4Asserter
102: .assertToArray(retrieveAndAssertNullArrayList4());
103: }
104:
105: public void testToArray_LObject() throws Exception {
106: ArrayList4Asserter
107: .assertToArray_LObject(retrieveAndAssertNullArrayList4());
108: }
109:
110: public void testToString() throws Exception {
111: ArrayList4Asserter
112: .assertToString(retrieveAndAssertNullArrayList4());
113: }
114:
115: public void testTrimToSize_EnsureCapacity() throws Exception {
116: ArrayList4Asserter
117: .assertTrimToSize_EnsureCapacity(retrieveAndAssertNullArrayList4());
118: }
119:
120: public void testTrimToSize_Remove() throws Exception {
121: ArrayList4Asserter
122: .assertTrimToSize_Remove(retrieveAndAssertNullArrayList4());
123: }
124:
125: public void testTrimToSize_Iterator() throws Exception {
126: ArrayList4Asserter
127: .assertTrimToSize_Iterator(retrieveAndAssertNullArrayList4());
128: }
129:
130: public void testEnsureCapacity_Iterator() throws Exception {
131: ArrayList4Asserter
132: .assertEnsureCapacity_Iterator(retrieveAndAssertNullArrayList4());
133: }
134:
135: public void testClear_Iterator() throws Exception {
136: ArrayList4Asserter
137: .assertClear_Iterator(retrieveAndAssertNullArrayList4());
138: }
139:
140: public void testClone() throws Exception {
141: ArrayList4Asserter
142: .assertClone(retrieveAndAssertNullArrayList4());
143: }
144:
145: public void testEquals() throws Exception {
146: ArrayList4Asserter
147: .assertEquals(retrieveAndAssertNullArrayList4());
148: }
149:
150: public void testIteratorNext_NoSuchElementException()
151: throws Exception {
152: ArrayList4Asserter
153: .assertIteratorNext_NoSuchElementException(retrieveAndAssertNullArrayList4());
154: }
155:
156: public void testIteratorNext_ConcurrentModificationException()
157: throws Exception {
158: ArrayList4Asserter
159: .assertIteratorNext_ConcurrentModificationException(retrieveAndAssertNullArrayList4());
160: }
161:
162: public void testIteratorNext() throws Exception {
163: ArrayList4Asserter
164: .assertIteratorNext(retrieveAndAssertNullArrayList4());
165: }
166:
167: public void testIteratorRemove() throws Exception {
168: ArrayList4Asserter
169: .assertIteratorRemove(retrieveAndAssertNullArrayList4());
170: }
171:
172: public void testRemove_IllegalStateException() throws Exception {
173: ArrayList4Asserter
174: .assertRemove_IllegalStateException(retrieveAndAssertNullArrayList4());
175: }
176:
177: public void testIteratorRemove_ConcurrentModificationException()
178: throws Exception {
179: ArrayList4Asserter
180: .assertIteratorRemove_ConcurrentModificationException(retrieveAndAssertNullArrayList4());
181: }
182:
183: public void testSubList() throws Exception {
184: ArrayList4Asserter
185: .assertSubList(retrieveAndAssertNullArrayList4());
186: }
187:
188: public void testSubList_ConcurrentModification() throws Exception {
189: ArrayList4Asserter
190: .assertSubList_ConcurrentModification(retrieveAndAssertNullArrayList4());
191: }
192:
193: public void testSubList_Clear() throws Exception {
194: ArrayList4Asserter
195: .assertSubList_Clear(retrieveAndAssertNullArrayList4());
196: }
197:
198: public void testSubList_Clear2() throws Exception {
199: ArrayList4Asserter
200: .assertSubList_Clear2(retrieveAndAssertNullArrayList4());
201: }
202:
203: }
|