mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-08-04 05:41:11 +00:00
Part of fix for [HER-1725] on engine page, 'create new job' form gives NPE
* Engine.java made protected getProfileCxmlResource() for clear testability * EngineTest.java added testGetProfileCxmlResource()
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package org.archive.crawler.framework;
|
||||
|
||||
import org.archive.util.TmpDirTestCase;
|
||||
|
||||
public class EngineTest extends TmpDirTestCase {
|
||||
|
||||
public void testGetProfileCxmlResource() {
|
||||
assertNotNull(new Engine(getTmpDir()).getProfileCxmlResource());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user