public class TestLocalDatabase
extends com.google.enterprise.connector.util.database.LocalDatabaseImpl
LocalDatabase implementation that uses an in-memory H2
database for storage and looks for DatabaseResourceBundles
relative to the current directory or specified resource directory.
Connector developers may want to use this to implement unit tests.| Constructor and Description |
|---|
TestLocalDatabase(java.lang.String connectorTypeName,
java.io.File resourceDir)
Constructs a
TestLocalDatabase for the named connector type. |
public TestLocalDatabase(java.lang.String connectorTypeName,
java.io.File resourceDir)
TestLocalDatabase for the named connector type.connectorTypeName - name will be used to identify resource bundles.resourceDir - directory that is the root of resources.
If null, the current directory is used.