@Override public void setUp() throws Exception { super.setUp(); String tempDirPath = setUpDiskSpace(); au = createAu(); // set up headers for creating mock CU's of the appropriate type pdfHeader.put(CachedUrl.PROPERTY_CONTENT_TYPE, "application/pdf"); textHeader.put(CachedUrl.PROPERTY_CONTENT_TYPE, "text/html"); epubHeader.put(CachedUrl.PROPERTY_CONTENT_TYPE, "application/epub"); // the content in the urls doesn't really matter for the test random_content_stream = new ByteArrayInputStream(ContentString.getBytes(Constants.ENCODING_UTF_8)); }
public void tearDown() throws Exception { sau.deleteContentTree(); // theDaemon.stopDaemon(); super.tearDown(); }
@Override public void tearDown() throws Exception { super.tearDown(); }
public void setUp() throws Exception { super.setUp(); String tempDirPath = setUpDiskSpace(); au = createAu(); sau = PluginTestUtil.createAndStartSimAu(simAuConfig(tempDirPath)); }