Base class for MongoDB tests
| Type | Name and description |
|---|---|
MongoDatastore |
mongoDatastore |
Session |
session |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
cleanup() |
|
com.mongodb.MongoClient |
createMongoClient()@return The default mongo client |
|
protected java.util.List<java.lang.Class> |
getDomainClasses()@return The domain classes |
|
MappingContext |
getMappingContext()@return Obtains the mapping context |
|
com.mongodb.MongoClient |
getMongoClient()@return Obtain the mongo client |
|
protected java.lang.String |
getPackageToScan(grails.config.Config config)Obtains the default package to scan |
|
void |
setup() |
|
void |
setupSpec() |
Obtains the default package to scan
config - The configuration