Skip to content

Commit

Permalink
remove obsolete test testGetAll2AfterGetAndRemove
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot committed Jan 8, 2019
1 parent faa6e44 commit 0a178d7
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions tests/objectbox-java-test/src/test/java/io/objectbox/BoxTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,29 +161,6 @@ public void testGetAllAfterGetAndRemove() {
assertEquals(0, all.size());
}

// same as above, but using getAll2
@Test
public void testGetAll2AfterGetAndRemove() {
assertEquals(0, box.count());
assertEquals(0, box.getAll2().size());

System.out.println("PUT");
List<TestEntity> entities = putTestEntities(10);

System.out.println("GET");
TestEntity entity = box.get(entities.get(1).getId());
assertNotNull(entity);

System.out.println("REMOVE_ALL");
box.removeAll();

System.out.println("COUNT");
assertEquals(0, box.count());
System.out.println("GET_ALL2");
List<TestEntity> all = box.getAll2();
assertEquals(0, all.size());
}

@Test
public void testPanicModeRemoveAllObjects() {
assertEquals(0, box.panicModeRemoveAll());
Expand Down

0 comments on commit 0a178d7

Please sign in to comment.