|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.content.metadata.AbstractMetadataExtracterTest
public abstract class AbstractMetadataExtracterTest
MetadataExtracter,
AbstractMetadataExtracter| Field Summary | |
|---|---|
protected static org.springframework.context.ApplicationContext |
ctx
|
protected DictionaryService |
dictionaryService
|
protected MimetypeMap |
mimetypeMap
|
protected static java.lang.String |
QUICK_CREATOR
|
protected static java.lang.String |
QUICK_DESCRIPTION
|
protected static java.lang.String |
QUICK_TITLE
|
| Constructor Summary | |
|---|---|
AbstractMetadataExtracterTest()
|
|
| Method Summary | |
|---|---|
protected java.util.Map |
extractFromMimetype(java.lang.String mimetype)
|
protected abstract MetadataExtracter |
getExtracter()
|
void |
setUp()
Ensures that the temp locations are cleaned out before the tests start |
protected void |
testCommonMetadata(java.lang.String mimetype,
java.util.Map properties)
|
protected void |
testExtractFromMimetype(java.lang.String mimetype)
|
void |
testSetUp()
Check that all objects are present |
void |
testZeroLengthFile()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static org.springframework.context.ApplicationContext ctx
protected static final java.lang.String QUICK_TITLE
protected static final java.lang.String QUICK_DESCRIPTION
protected static final java.lang.String QUICK_CREATOR
protected MimetypeMap mimetypeMap
protected DictionaryService dictionaryService
| Constructor Detail |
|---|
public AbstractMetadataExtracterTest()
| Method Detail |
|---|
protected abstract MetadataExtracter getExtracter()
public void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
public void testSetUp()
throws java.lang.Exception
java.lang.Exception
protected void testExtractFromMimetype(java.lang.String mimetype)
throws java.lang.Exception
java.lang.Exception
protected java.util.Map extractFromMimetype(java.lang.String mimetype)
throws java.lang.Exception
java.lang.Exception
protected void testCommonMetadata(java.lang.String mimetype,
java.util.Map properties)
public void testZeroLengthFile()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||