Package org.corpus_tools.pepper.impl
Class PepperModuleImpl
- java.lang.Object
-
- org.corpus_tools.pepper.impl.PepperModuleImpl
-
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler,PepperModule
- Direct Known Subclasses:
PepperExporterImpl,PepperImporterImpl,PepperManipulatorImpl
public class PepperModuleImpl extends Object implements PepperModule, Thread.UncaughtExceptionHandler
TODO make docu- Author:
- Florian Zipser
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisMultithreadedprotected org.slf4j.Loggerloggerprotected ModuleControllermoduleControllerthe controller object, which acts as bridge between Pepper framework and Pepper module.protected org.eclipse.emf.common.util.URIresourcesTODO make docuprotected org.corpus_tools.salt.common.SaltProjectsaltProjectSalt project which is processed by module.protected org.corpus_tools.salt.common.SCorpusGraphsCorpusGraphTheSCorpusGraphobject which should be processed by this module.protected StringsymbolicNameTODO make docuprotected org.eclipse.emf.common.util.URItemprorariesDeprecated.-
Fields inherited from interface org.corpus_tools.pepper.modules.PepperModule
ENDING_ALL_FILES, ENDING_FOLDER, ENDING_LEAF_FOLDER, ENDING_TAB, ENDING_TXT, ENDING_XML
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPepperModuleImpl()Creates aPepperModuleobject, which is either aMODULE_TYPE.IMPORTER, aMODULE_TYPE.MANIPULATORor aMODULE_TYPE.EXPORTER.protectedPepperModuleImpl(String name)Creates aPepperModuleobject, which is either aMODULE_TYPE.IMPORTER, aMODULE_TYPE.MANIPULATORor aMODULE_TYPE.EXPORTER.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidactivate(org.osgi.service.component.ComponentContext componentContext)This method is called by OSGi framework and sets the component context, this class is running in.PepperMappercreatePepperMapper(org.corpus_tools.salt.graph.Identifier sElementId)OVERRIDE THIS METHOD FOR CUSTOMIZED MAPPING.voiddone(PepperMapperController controller)This method is called by aPepperMapperControllerobject to notify thePepperModuleobject, that the mapping is done.voiddone(org.corpus_tools.salt.graph.Identifier id, DOCUMENT_STATUS result)This method is called by aPepperMapperControllerobject to notify thePepperModuleobject, that the mapping for this object is done.voidend()org.osgi.service.component.ComponentContextgetComponentContext()Returns theComponentContextof the OSGi environment the bundle was started in.org.corpus_tools.salt.common.SCorpusGraphgetCorpusGraph()Returns theSCorpusGraphobject which is filled, manipulated or exported by the current module.StringgetDesc()Returns a short description of this module.protected Map<String,DocumentController>getDocumentId2DC()Returns the map relatingIdentifierbelonging toSDocumentobjects to theirDocumentControllercontainer.PepperModuleDescgetFingerprint()Returns aPepperModuleDescobject, which is a kind of a fingerprint of thisPepperModule.protected Map<String,PepperMapperController>getMapperControllers()Returns a threadsafe map of allPepperMapperControllerobjects which are connected with a startedPepperMappercorresponding to theirprotected ThreadGroupgetMapperThreadGroup()Returns aThreadGroupwherePepperMapperobjects and the corresponding threads are supposed to run in.ModuleControllergetModuleController()Returns the container and controller object for the current module.MODULE_TYPEgetModuleType()Returns the type of this module.StringgetName()Returns the name of this module.DoublegetProgress(){@inheritDoc PepperModule#getProgress()}DoublegetProgress(String globalId)This method is invoked by the Pepper framework, to get the current progress concerning theSDocumentobject corresponding to the givenIdentifierin percent.PepperModulePropertiesgetProperties()Returns aPepperModulePropertiesobject containing properties to customize the behavior of thisPepperModule.org.eclipse.emf.common.util.URIgetResources()Returns the path of the folder which might contain resources for a Pepper module.org.corpus_tools.salt.common.SaltProjectgetSaltProject()Returns theSaltProjectobject, which is filled, manipulated or exported by the current module.SelfTestDescgetSelfTestDesc()This method is called by the Pepper framework to run an integration test for module.Collection<String>getStartProblems()IfPepperModule.isReadyToStart()has returned false, this method returns a list of reasons why this module is not ready to start.org.eclipse.emf.common.util.URIgetSupplierContact()Returns a uri where to find more information about this module and where to find some contact information to contact the supplier.org.eclipse.emf.common.util.URIgetSupplierHomepage()Sets theURIto the homepage describing the functionality of the module.StringgetSymbolicName()Returns the symbolic name of this OSGi bundle.org.eclipse.emf.common.util.URIgetTemproraries()Deprecated.StringgetVersion()Returns the version of this module.booleanisMultithreaded()Returns whether thisPepperModuleis able to run multithreaded.booleanisReadyToStart()This method is called by the pepper framework after initializing this object and directly before start processing.List<org.corpus_tools.salt.graph.Identifier>proposeImportOrder(org.corpus_tools.salt.common.SCorpusGraph sCorpusGraph)This method could be overridden, to make a proposal for the import order ofSDocumentobjects.voidsetCorpusGraph(org.corpus_tools.salt.common.SCorpusGraph newSCorpusGraph)Sets theSCorpusGraphobject which is filled, manipulated or exported by the current module.voidsetDesc(String desc)Sets a short description of this module.voidsetIsMultithreaded(boolean isMultithreaded)Sets whether thisPepperModuleis able to run multithreaded.protected voidsetMapperThreadGroup(ThreadGroup mapperThreadGroup)Sets aThreadGroupwherePepperMapperobjects and the corresponding threads are supposed to run in.protected voidsetName(String name)Sets the name of thisPepperModule.voidsetPepperModuleController(ModuleController newModuleController)Sets the container and controller object for the current module.voidsetPepperModuleController_basic(ModuleController newModuleController)Sets the container and controller object for the current module.voidsetProperties(PepperModuleProperties properties)Sets thePepperModulePropertiesobject containing properties to customize the behavior of thisPepperModule.voidsetResources(org.eclipse.emf.common.util.URI newResources)Sets the resource folder used byPepperModule.getResources().voidsetSaltProject(org.corpus_tools.salt.common.SaltProject newSaltProject)Sets theSaltProjectobject, which is filled, manipulated or exported by the current module.voidsetSupplierContact(org.eclipse.emf.common.util.URI supplierContact)Sets a uri where to find more information about this module and where to find some contact information to contact the supplier.voidsetSupplierHomepage(org.eclipse.emf.common.util.URI hp)Returns theURIto the homepage describing the functionality of the module.voidsetSymbolicName(String newSymbolicName)Sets the symbolic name of this OSGi bundle.voidsetTemproraries(org.eclipse.emf.common.util.URI newTemproraries)Deprecated.voidsetVersion(String newVersion)Sets the version of this module.voidstart()Starts the conversion process.voidstart(org.corpus_tools.salt.graph.Identifier sElementId)This method is called by methodstart(), if the method was not overridden by the current class.StringtoString()Returns a string representation of this object.voiduncaughtException(Thread t, Throwable e)Method catches Uncaught exceptions thrown byPepperMapperImplwhile running as Thread.
-
-
-
Field Detail
-
logger
protected org.slf4j.Logger logger
-
saltProject
protected org.corpus_tools.salt.common.SaltProject saltProject
Salt project which is processed by module.
-
resources
protected org.eclipse.emf.common.util.URI resources
TODO make docu
-
temproraries
@Deprecated protected org.eclipse.emf.common.util.URI temproraries
Deprecated.TODO make docu
-
symbolicName
protected String symbolicName
TODO make docu
-
moduleController
protected ModuleController moduleController
the controller object, which acts as bridge between Pepper framework and Pepper module.
-
sCorpusGraph
protected org.corpus_tools.salt.common.SCorpusGraph sCorpusGraph
TheSCorpusGraphobject which should be processed by this module.
-
isMultithreaded
protected boolean isMultithreaded
-
-
Constructor Detail
-
PepperModuleImpl
protected PepperModuleImpl()
Creates aPepperModuleobject, which is either aMODULE_TYPE.IMPORTER, aMODULE_TYPE.MANIPULATORor aMODULE_TYPE.EXPORTER. The name of this module is set to "MyModule".
We recommend to use the constructorPepperModuleImpl(String)and pass a proper name.
-
PepperModuleImpl
protected PepperModuleImpl(String name)
Creates aPepperModuleobject, which is either aMODULE_TYPE.IMPORTER, aMODULE_TYPE.MANIPULATORor aMODULE_TYPE.EXPORTER. The passed name is set as the modules name.
-
-
Method Detail
-
getFingerprint
public PepperModuleDesc getFingerprint()
Returns aPepperModuleDescobject, which is a kind of a fingerprint of thisPepperModule. This fingerprint for instance contains information like the name, the version of this module or information about the supplier.- Specified by:
getFingerprintin interfacePepperModule- Returns:
- fingerprint to this module
-
getName
public String getName()
Returns the name of this module. In most cases, the name somehow describes the task of the module.- Specified by:
getNamein interfacePepperModule- Returns:
- the value of the 'Name' attribute.
-
setName
protected void setName(String name)
Sets the name of thisPepperModule. Note, that a name can only be set once and not be changed again.- Parameters:
name- name of this module.
-
getVersion
public String getVersion()
Returns the version of this module.- Specified by:
getVersionin interfacePepperModule- Returns:
- the value of the 'Version' attribute.
-
setVersion
public void setVersion(String newVersion)
Sets the version of this module. The version normally is set internally, this method only exists for dependency injection, by the modules project itself. But this method is never called by the pepper framework.- Specified by:
setVersionin interfacePepperModule- Parameters:
newVersion- the new value of the 'Version' attribute.
-
getModuleType
public MODULE_TYPE getModuleType()
Returns the type of this module.- Specified by:
getModuleTypein interfacePepperModule- Returns:
-
getDesc
public String getDesc()
Returns a short description of this module. Please support some information, for the user, of what task this module does.- Specified by:
getDescin interfacePepperModule- Returns:
- a short description of the task of this module
-
setDesc
public void setDesc(String desc)
Sets a short description of this module. Please support some information, for the user, of what task this module does.- Specified by:
setDescin interfacePepperModule- Parameters:
desc- a short description of the task of this module
-
getSupplierContact
public org.eclipse.emf.common.util.URI getSupplierContact()
Returns a uri where to find more information about this module and where to find some contact information to contact the supplier.- Specified by:
getSupplierContactin interfacePepperModule- Returns:
- contact address like eMail address or homepage address
-
setSupplierContact
public void setSupplierContact(org.eclipse.emf.common.util.URI supplierContact)
Sets a uri where to find more information about this module and where to find some contact information to contact the supplier.- Specified by:
setSupplierContactin interfacePepperModule
-
getSupplierHomepage
public org.eclipse.emf.common.util.URI getSupplierHomepage()
Description copied from interface:PepperModuleSets theURIto the homepage describing the functionality of the module.- Specified by:
getSupplierHomepagein interfacePepperModule- Returns:
URIto the homepage
-
setSupplierHomepage
public void setSupplierHomepage(org.eclipse.emf.common.util.URI hp)
Description copied from interface:PepperModuleReturns theURIto the homepage describing the functionality of the module.- Specified by:
setSupplierHomepagein interfacePepperModule- Parameters:
hp-URIto the homepage
-
getProperties
public PepperModuleProperties getProperties()
Returns aPepperModulePropertiesobject containing properties to customize the behavior of thisPepperModule.- Specified by:
getPropertiesin interfacePepperModule- Returns:
-
setProperties
public void setProperties(PepperModuleProperties properties)
Sets thePepperModulePropertiesobject containing properties to customize the behavior of thisPepperModule. Please make sure, that this method is called in constructor of your module. If not, a generalPepperModulePropertiesobject is created by the pepper framework and will be initialized. This means, when calling this method later, all properties for customizing the module will be overridden.- Specified by:
setPropertiesin interfacePepperModule
-
getSaltProject
public org.corpus_tools.salt.common.SaltProject getSaltProject()
Returns theSaltProjectobject, which is filled, manipulated or exported by the current module.- Specified by:
getSaltProjectin interfacePepperModule- Returns:
- the value of the 'Salt Project' attribute.
-
setSaltProject
public void setSaltProject(org.corpus_tools.salt.common.SaltProject newSaltProject)
Sets theSaltProjectobject, which is filled, manipulated or exported by the current module. Note: This method only should be called by the pepper framework.- Specified by:
setSaltProjectin interfacePepperModule- Parameters:
newSaltProject- the new value of the 'Salt Project' attribute.
-
getResources
public org.eclipse.emf.common.util.URI getResources()
Returns the path of the folder which might contain resources for a Pepper module. This is the folder, which is delivered as part of the modules zip. Usually a Pepper module is a zip file containing a jar file and a folder having the same name as the jar file. In default configuration all files of folder "./src/main/resources" are copied to the resource folder.- Specified by:
getResourcesin interfacePepperModule- Returns:
- path to resources
-
setResources
public void setResources(org.eclipse.emf.common.util.URI newResources)
Sets the resource folder used byPepperModule.getResources(). This method should only be invoked by the Pepper framework. The documentation ofPepperModule.getResources()for more details.- Specified by:
setResourcesin interfacePepperModule- Parameters:
newResources- path to resource folder
-
getTemproraries
@Deprecated public org.eclipse.emf.common.util.URI getTemproraries()
Deprecated.TODO make docu- Specified by:
getTemprorariesin interfacePepperModule
-
setTemproraries
@Deprecated public void setTemproraries(org.eclipse.emf.common.util.URI newTemproraries)
Deprecated.TODO make docu- Specified by:
setTemprorariesin interfacePepperModule
-
getSymbolicName
public String getSymbolicName()
Returns the symbolic name of this OSGi bundle.- Specified by:
getSymbolicNamein interfacePepperModule- Returns:
- the value of the 'Symbolic Name' attribute.
-
setSymbolicName
public void setSymbolicName(String newSymbolicName)
Sets the symbolic name of this OSGi bundle. This value is set automatically inside the activate method, which is implemented inPepperModuleImplclass. If you want to manipulate that method. make sure to set the symbolic name and make sure, that it is set to the bundles symbolic name.- Specified by:
setSymbolicNamein interfacePepperModule- Parameters:
newSymbolicName- the new value of the 'Symbolic Name' attribute.
-
getComponentContext
public org.osgi.service.component.ComponentContext getComponentContext()
Returns theComponentContextof the OSGi environment the bundle was started in.- Specified by:
getComponentContextin interfacePepperModule- Returns:
-
activate
protected void activate(org.osgi.service.component.ComponentContext componentContext)
This method is called by OSGi framework and sets the component context, this class is running in. This method scans the givenComponentContextobject for symbolic name and version and initializes its valuessymbolicNameand#versionwith it. When running this class in OSGi context, you do not have to set both values by hand. With the given architecture, the symbolic name and the bundle version will be given by pom.xml, via MANIFEST.MF and finally read by this method. Also sets the internal field storing theComponentContextwhich can be retrieved viagetComponentContext().- Parameters:
componentContext-
-
getStartProblems
public Collection<String> getStartProblems()
IfPepperModule.isReadyToStart()has returned false, this method returns a list of reasons why this module is not ready to start.- Specified by:
getStartProblemsin interfacePepperModule- Returns:
- a list describing the reasons, or an empty list if there were no problems
-
isReadyToStart
public boolean isReadyToStart() throws PepperModuleNotReadyExceptionThis method is called by the pepper framework after initializing this object and directly before start processing. Initializing means setting propertiesPepperModuleProperties, setting temporary files, resources etc. . returns false or throws an exception in case ofPepperModuleinstance is not ready for any reason
This method is also called, when Pepper is in self-test mode, to check if module is correctly instantiated.
The default implementation checks:- if a path to resource folder is given
- if the
MODULE_TYPEis not null - if the name is not null
PepperModule.getStartProblems().- Specified by:
isReadyToStartin interfacePepperModule- Returns:
- false,
PepperModuleinstance is not ready for any reason, true, else. - Throws:
PepperModuleNotReadyException
-
getModuleController
public ModuleController getModuleController()
Returns the container and controller object for the current module. TheModuleControllerobject is a kind of communicator between aPepperModuleand the pepper framework.- Specified by:
getModuleControllerin interfacePepperModule- Returns:
- the value of the 'Pepper Module Controller' container reference.
-
setPepperModuleController
public void setPepperModuleController(ModuleController newModuleController)
Sets the container and controller object for the current module. TheModuleControllerobject is a kind of communicator between aPepperModuleand the pepper framework. Also calls the inverse methodModuleController.setPepperModule_basic(PepperModule). Note, this method only should be called by pepper framework.- Specified by:
setPepperModuleControllerin interfacePepperModule- Parameters:
newModuleController- the new value of the 'Pepper Module Controller' container reference.
-
setPepperModuleController_basic
public void setPepperModuleController_basic(ModuleController newModuleController)
Sets the container and controller object for the current module. TheModuleControllerobject is a kind of communicator between aPepperModuleand the pepper framework. Note, this method only should be called by pepper framework.- Specified by:
setPepperModuleController_basicin interfacePepperModule- Parameters:
newModuleController- the new value of the 'Pepper Module Controller' container reference.
-
getCorpusGraph
public org.corpus_tools.salt.common.SCorpusGraph getCorpusGraph()
Returns theSCorpusGraphobject which is filled, manipulated or exported by the current module. TheSCorpusGraphobject is contained in the salt projectPepperModule.getSaltProject().- Specified by:
getCorpusGraphin interfacePepperModule- Returns:
- the value of the 'SCorpus Graph' attribute.
-
setCorpusGraph
public void setCorpusGraph(org.corpus_tools.salt.common.SCorpusGraph newSCorpusGraph)
Sets theSCorpusGraphobject which is filled, manipulated or exported by the current module. TheSCorpusGraphobject is contained in the salt projectPepperModule.getSaltProject(). Note: This method only should be called by the pepper framework.- Specified by:
setCorpusGraphin interfacePepperModule- Parameters:
newSCorpusGraph- the new value of the 'SCorpus Graph' attribute.
-
getMapperControllers
protected Map<String,PepperMapperController> getMapperControllers()
Returns a threadsafe map of allPepperMapperControllerobjects which are connected with a startedPepperMappercorresponding to their- Returns:
-
setIsMultithreaded
public void setIsMultithreaded(boolean isMultithreaded)
Sets whether thisPepperModuleis able to run multithreaded. This method only should be called by the module itself.- Specified by:
setIsMultithreadedin interfacePepperModule
-
isMultithreaded
public boolean isMultithreaded()
Returns whether thisPepperModuleis able to run multithreaded. The behavior only should be set by the module itself via callingPepperModule.setIsMultithreaded(boolean).- Specified by:
isMultithreadedin interfacePepperModule- Returns:
- true, if module can run in multithread mode.
-
getMapperThreadGroup
protected ThreadGroup getMapperThreadGroup()
Returns aThreadGroupwherePepperMapperobjects and the corresponding threads are supposed to run in.- Returns:
-
setMapperThreadGroup
protected void setMapperThreadGroup(ThreadGroup mapperThreadGroup)
Sets aThreadGroupwherePepperMapperobjects and the corresponding threads are supposed to run in.- Parameters:
mapperThreadGroup-
-
getDocumentId2DC
protected Map<String,DocumentController> getDocumentId2DC()
Returns the map relatingIdentifierbelonging toSDocumentobjects to theirDocumentControllercontainer.- Returns:
- map
-
start
public void start() throws PepperModuleExceptionStarts the conversion process. This method is the main method of a pepper module. If this method is not overridden, it will callPepperModule.start(Identifier)for eachSDocumentandSCorpusobject being contained in the setSCorpusGraph. This is done in a multithreaded way by default. Note: When your module should not run in multithreaded mode, callPepperModule.setIsMultithreaded(boolean).- Specified by:
startin interfacePepperModule- Throws:
PepperModuleException
-
done
public void done(org.corpus_tools.salt.graph.Identifier id, DOCUMENT_STATUS result)This method is called by aPepperMapperControllerobject to notify thePepperModuleobject, that the mapping for this object is done.- Specified by:
donein interfacePepperModule
-
done
public void done(PepperMapperController controller)
This method is called by aPepperMapperControllerobject to notify thePepperModuleobject, that the mapping is done.- Specified by:
donein interfacePepperModule- Parameters:
controller- The object which is done with its job
-
start
public void start(org.corpus_tools.salt.graph.Identifier sElementId) throws PepperModuleExceptionThis method is called by methodstart(), if the method was not overridden by the current class. If this is not the case, this method will be called for every document which has to be processed.- Specified by:
startin interfacePepperModule- Parameters:
sElementId- the id value for the current document or corpus to process- Throws:
PepperModuleException
-
createPepperMapper
public PepperMapper createPepperMapper(org.corpus_tools.salt.graph.Identifier sElementId)
OVERRIDE THIS METHOD FOR CUSTOMIZED MAPPING. This method creates a customizedPepperMapperobject and returns it. You can here do some additional initialisations. Thinks like setting theIdentifierof theSDocumentorSCorpusobject and theURIresource is done by the framework (or more in detail in methodPepperModule.start()). The parametersElementId, if aPepperMapperobject should be created in case of the object to map is either anSDocumentobject or anSCorpusobject of the mapper should be initialized differently.
Note: Override this method.- Specified by:
createPepperMapperin interfacePepperModule- Parameters:
sElementId-Identifierof theSCorpusorSDocumentto be processed.- Returns:
PepperMapperobject to do the mapping task for object connected to givenIdentifier
-
end
public void end() throws PepperModuleException- Specified by:
endin interfacePepperModule- Throws:
PepperModuleException
-
uncaughtException
public void uncaughtException(Thread t, Throwable e)
Method catches Uncaught exceptions thrown byPepperMapperImplwhile running as Thread. This method just logs the exception. It is assumed, that thePepperMapperImplitself notifies the Pepper framework about the unsuccessful process.- Specified by:
uncaughtExceptionin interfaceThread.UncaughtExceptionHandler
-
getProgress
public Double getProgress(String globalId)
This method is invoked by the Pepper framework, to get the current progress concerning theSDocumentobject corresponding to the givenIdentifierin percent. A valid value return must be between 0 and 1.
Note: In case, you have overridden the methodPepperModule.start(Identifier)orPepperModule.start(), please also override this method, because it accesses an internal list of all mappers, which initialized inPepperModule.start(Identifier).- Specified by:
getProgressin interfacePepperModule
-
getProgress
public Double getProgress()
{@inheritDoc PepperModule#getProgress()}- Specified by:
getProgressin interfacePepperModule- Returns:
- the progress of all documents processed by this module
-
proposeImportOrder
public List<org.corpus_tools.salt.graph.Identifier> proposeImportOrder(org.corpus_tools.salt.common.SCorpusGraph sCorpusGraph)
This method could be overridden, to make a proposal for the import order ofSDocumentobjects. Overriding this method is useful, in case of the order matters in the specific mapping of thisPepperModule. In this case a influencing the import order can decrease the processing time. If you do not want to influence the order, just return an empty list, or don't override this method.
In case you want to override this method, you can return a value for each passedSCorpusGraph.
OVERRIDE THIS METHOD FOR CUSTOMIZED MAPPING.- Specified by:
proposeImportOrderin interfacePepperModule- Parameters:
sCorpusGraph- theSCorpusGraphobject for which the order could be proposed- Returns:
- a list determining the import order of
SDocumentobjects
-
toString
public String toString()
Returns a string representation of this object.
Note: This representation cannot be used for serialization/ deserialization purposes.
-
getSelfTestDesc
public SelfTestDesc getSelfTestDesc()
Description copied from interface:PepperModuleThis method is called by the Pepper framework to run an integration test for module. When the method returns null, it means that no integration test is supported. Otherwise, theSelfTestDescobject needs to provide an input corpus path and an output corpus path. When this module is:- an importer:
SelfTestDesc.getInputCorpusPath()should contain the format to be imported.SelfTestDesc.getExpectedCorpusPath()should contain the expected salt project (for control). - a manipulator:
SelfTestDesc.getInputCorpusPath()should contain a salt project which is the module's input.SelfTestDesc.getExpectedCorpusPath()should contain the expected salt project (for control). - an exporter:
SelfTestDesc.getInputCorpusPath()should contain a salt project which is the module's input.SelfTestDesc.getExpectedCorpusPath()should contain the expected corpus in output format.
return new IntegrationTestDesc(inputPath, outputPath);
When this module is an importer or a manipulator the methodSelfTestDesc.compare(SaltProject, SaltProject)is called to compare output salt project with expected salt project. When the module is an exporter the methodSelfTestDesc.compare(URI, URI)is called to compare the created output folder with an expected one. By default this method checks whether the file structure and each file is equal.- Specified by:
getSelfTestDescin interfacePepperModule- Returns:
- test description
- an importer:
-
-