|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.jalios.jcms.test.JcmsTestCase com.jalios.jcms.fileprocessor.test.FileParserTestCase
public abstract class FileParserTestCase
Super class of FileProcessor's FileParsers test case.
Field Summary |
---|
Fields inherited from class com.jalios.jcms.test.JcmsTestCase |
---|
A_VERY_LONG_TEXT, admin, channel, defaultGroup, defaultWorkspace, friendlyURLFilter, langs |
Fields inherited from interface com.jalios.util.JaliosConstants |
---|
CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR |
Constructor Summary | |
---|---|
FileParserTestCase()
|
Method Summary | |
---|---|
protected FileDocument |
importFile(File file)
Create a new FileDocument by copying the specified file into JCMS and returning the newly created FileDocument. |
protected void |
waitForLuceneIndexation(FileDocument fd)
Wait appropriate amount of time before the specified FileDocument is indexed in JCMS. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileParserTestCase()
Method Detail |
---|
protected void waitForLuceneIndexation(FileDocument fd)
protected FileDocument importFile(File file) throws IOException
file
- the file to import this file will be copied an left intact
IOException
- on error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |