ch.agent.crnickl.junit
Class Context
java.lang.Object
ch.agent.crnickl.junit.Context
public class Context
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Context
public Context()
setup
protected ch.agent.crnickl.api.Database setup()
throws Exception
- Throws:
Exception
setup
protected void setup(ch.agent.crnickl.api.SimpleDatabaseManager dbm,
Map<String,String> parameters)
throws Exception
- Override this method for special needs. Typically, the method is used for
running the DDL to define the schema of the database application. By
default, the method executes
setUpNumberType(ch.agent.crnickl.api.Database), assuming the
schema has already been defined.
- Parameters:
dbm - the database managerparameters - configuration parameter
- Throws:
Exception
getDatabase
public ch.agent.crnickl.api.Database getDatabase()
throws Exception
- Throws:
Exception
isTransactional
public boolean isTransactional()
hasStandardRegex
public boolean hasStandardRegex()
isPersistent
public boolean isPersistent()
setUpNumberType
protected void setUpNumberType(ch.agent.crnickl.api.Database db)
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.