Skip to content

Commit 0a178d7

Browse files
committed
remove obsolete test testGetAll2AfterGetAndRemove
1 parent faa6e44 commit 0a178d7

File tree

1 file changed

+0
-23
lines changed
  • tests/objectbox-java-test/src/test/java/io/objectbox

1 file changed

+0
-23
lines changed

tests/objectbox-java-test/src/test/java/io/objectbox/BoxTest.java

-23
Original file line numberDiff line numberDiff line change
@@ -161,29 +161,6 @@ public void testGetAllAfterGetAndRemove() {
161161
assertEquals(0, all.size());
162162
}
163163

164-
// same as above, but using getAll2
165-
@Test
166-
public void testGetAll2AfterGetAndRemove() {
167-
assertEquals(0, box.count());
168-
assertEquals(0, box.getAll2().size());
169-
170-
System.out.println("PUT");
171-
List<TestEntity> entities = putTestEntities(10);
172-
173-
System.out.println("GET");
174-
TestEntity entity = box.get(entities.get(1).getId());
175-
assertNotNull(entity);
176-
177-
System.out.println("REMOVE_ALL");
178-
box.removeAll();
179-
180-
System.out.println("COUNT");
181-
assertEquals(0, box.count());
182-
System.out.println("GET_ALL2");
183-
List<TestEntity> all = box.getAll2();
184-
assertEquals(0, all.size());
185-
}
186-
187164
@Test
188165
public void testPanicModeRemoveAllObjects() {
189166
assertEquals(0, box.panicModeRemoveAll());

0 commit comments

Comments
 (0)