Home | History | Annotate | Download | only in testers

Lines Matching refs:add

31  * A generic JUnit test which tests {@code add(int, Object)} operations on a
44 getList().add(0, samples.e0);
51 * absent = ZERO isn't required, since unmodList.add() must
56 getList().add(0, samples.e0);
57 fail("add(n, present) should throw");
65 getList().add(0, samples.e3);
72 getList().add(0, samples.e3);
73 fail("add(n, notPresent) should throw");
83 getList().add(getNumElements() / 2, samples.e3);
90 getList().add(getNumElements(), samples.e3);
97 getList().add(0, null);
105 getList().add(0, null);
106 fail("add(n, null) should throw");
111 "Should not contain null after unsupported add(n, null)");
117 getList().add(-1, samples.e3);
118 fail("add(-1, e) should throw");
128 getList().add(getNumElements() + 1, samples.e3);
129 fail("add(size + 1, e) should throw");