mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-12-22 14:48:23 -05:00
Add a test for removing a book
This commit is contained in:
parent
08a1aaa684
commit
d6d52cea04
@ -88,8 +88,17 @@ public class InstalledManagerTest extends TestCase implements Injector {
|
||||
assertFalse(foundMismatch.get());
|
||||
}
|
||||
|
||||
/*
|
||||
public void testRemoveBook() throws Exception {
|
||||
final AtomicBoolean isRemoved = new AtomicBoolean(false);
|
||||
getInstalledBooks()
|
||||
.first()
|
||||
.subscribe(new Action1<Book>() {
|
||||
@Override
|
||||
public void call(Book book) {
|
||||
iM.removeBook(book);
|
||||
isRemoved.set(!book.getDriver().isDeletable(book));
|
||||
}
|
||||
});
|
||||
assertTrue(isRemoved.get());
|
||||
}
|
||||
*/
|
||||
}
|
Loading…
Reference in New Issue
Block a user