public abstract class AbstractValidationRuleTest<T extends org.commonjava.indy.model.core.ArtifactStore>
extends org.commonjava.indy.ftest.core.AbstractIndyFunctionalTest
| Modifier and Type | Field and Description |
|---|---|
protected org.commonjava.indy.promote.client.IndyPromoteClientModule |
module |
protected org.commonjava.indy.model.core.HostedRepository |
source |
protected T |
target |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractValidationRuleTest(Class<T> targetCls) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deploy(String path,
String content) |
protected void |
deployResource(org.commonjava.indy.model.core.StoreKey target,
String path,
String resource) |
protected void |
deployResource(String path,
String resource) |
protected Collection<org.commonjava.indy.client.core.IndyClientModule> |
getAdditionalClientModules() |
protected abstract String |
getRuleScriptContent() |
protected abstract String |
getRuleScriptFile() |
protected org.commonjava.indy.promote.model.ValidationRuleSet |
getRuleSet() |
protected void |
initTestData(org.commonjava.indy.test.fixture.core.CoreServerFixture fixture) |
protected String |
resourceToString(String resource) |
void |
start() |
createIndyClient, getAdditionalMapperModules, getTemp, getTestEnvironmentTimeoutMultiplier, getTestTimeoutMultiplier, getTestTimeoutSeconds, initBaseTestConfig, initTestConfig, isEmpty, isSchedulerEnabled, newName, newServerFixture, newUrl, readTestResource, stop, waitForEventPropagation, writeConfigFile, writeDataFileprotected org.commonjava.indy.model.core.HostedRepository source
protected T extends org.commonjava.indy.model.core.ArtifactStore target
protected org.commonjava.indy.promote.client.IndyPromoteClientModule module
public void start()
throws Throwable
start in class org.commonjava.indy.ftest.core.AbstractIndyFunctionalTestThrowableprotected String resourceToString(String resource) throws IOException
IOExceptionprotected void deployResource(String path, String resource) throws IOException, org.commonjava.indy.client.core.IndyClientException
IOExceptionorg.commonjava.indy.client.core.IndyClientExceptionprotected void deployResource(org.commonjava.indy.model.core.StoreKey target,
String path,
String resource)
throws IOException,
org.commonjava.indy.client.core.IndyClientException
IOExceptionorg.commonjava.indy.client.core.IndyClientExceptionprotected void deploy(String path, String content) throws org.commonjava.indy.client.core.IndyClientException
org.commonjava.indy.client.core.IndyClientExceptionprotected void initTestData(org.commonjava.indy.test.fixture.core.CoreServerFixture fixture)
throws IOException
initTestData in class org.commonjava.indy.ftest.core.AbstractIndyFunctionalTestIOExceptionprotected org.commonjava.indy.promote.model.ValidationRuleSet getRuleSet()
protected abstract String getRuleScriptFile()
protected abstract String getRuleScriptContent() throws IOException
IOExceptionprotected Collection<org.commonjava.indy.client.core.IndyClientModule> getAdditionalClientModules()
getAdditionalClientModules in class org.commonjava.indy.ftest.core.AbstractIndyFunctionalTestCopyright © 2011-2017. All Rights Reserved.