Skip to content

Commit

Permalink
Add windows hack removal test
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarguindzberg committed Dec 28, 2018
1 parent 23e74ce commit 362684f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/src/test/java/org/bitcoinj/store/SPVBlockStoreTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package org.bitcoinj.store;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

import java.io.File;

Expand Down Expand Up @@ -115,4 +116,12 @@ public void twoStores_sequentially_shrink() throws Exception {
store.close();
store = new SPVBlockStore(UNITTEST, blockStoreFile, 10, true);
}

@Test
public void oneStoreDelete() throws Exception {
SPVBlockStore store = new SPVBlockStore(UNITTEST, blockStoreFile);
store.close();
assertTrue (blockStoreFile.delete());
}

}

0 comments on commit 362684f

Please sign in to comment.