1 23 package org.archive.crawler.frontier; 24 25 import org.apache.commons.httpclient.URIException; 26 import org.archive.util.TmpDirTestCase; 27 28 32 public class RecoveryJournalTest extends TmpDirTestCase { 33 private RecoveryJournal rj; 34 35 protected void setUp() throws Exception { 36 super.setUp(); 37 this.rj = new RecoveryJournal(this.getTmpDir().getAbsolutePath(), 38 this.getClass().getName()); 39 } 40 41 protected void tearDown() throws Exception { 42 super.tearDown(); 43 if (this.rj != null) { 44 this.rj.close(); 45 } 46 } 47 48 public static void main(String [] args) { 49 junit.textui.TestRunner.run(RecoveryJournalTest.class); 50 } 51 52 public void testAdded() throws URIException { 53 62 } 63 64 } 65 | Popular Tags |