public class UnitTestDatabaseUtil
extends org.duracloud.common.util.DatabaseUtil
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
UnitTestDatabaseUtil() |
UnitTestDatabaseUtil(org.duracloud.common.model.Credential cred,
String baseDir,
String bootPassword) |
| Modifier and Type | Method and Description |
|---|---|
void |
connectToExistingDB() |
void |
createNewDB() |
org.duracloud.common.model.Credential |
findCredentialForResource(ResourceType resource) |
protected List<org.duracloud.common.util.TableSpec> |
getTableSpecs() |
void |
insertCredentialForResource(ResourceType type,
org.duracloud.common.model.Credential cred) |
static boolean |
isValid(String... texts) |
static String |
usage() |
protected List<org.duracloud.common.util.TableSpec> getTableSpecs()
getTableSpecs in class org.duracloud.common.util.DatabaseUtilpublic void insertCredentialForResource(ResourceType type, org.duracloud.common.model.Credential cred)
public org.duracloud.common.model.Credential findCredentialForResource(ResourceType resource) throws Exception
Exceptionpublic static boolean isValid(String... texts)
public static String usage()
Copyright © 2009–2015 DuraSpace. All rights reserved.