mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-10-07 21:01:24 +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:
1 parent
56d6e2ee26
commit
bf2eaef6e2
2 files changed
+24
-4
No files matched your search
@@ -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