use of org.talend.components.azurestorage.RuntimeContainerMock in project components by Talend.
the class AzureStorageContainerExistRuntimeTest method setup.
@Before
public void setup() {
properties = new TAzureStorageContainerExistProperties(PROP_ + "ExistContainer");
properties.setupProperties();
// valid connection
properties.connection = new TAzureStorageConnectionProperties(PROP_ + "Connection");
properties.connection.protocol.setValue(Protocol.HTTP);
properties.connection.accountName.setValue("fakeAccountName");
properties.connection.accountKey.setValue("fakeAccountKey=ANBHFYRJJFHRIKKJFU");
runtimeContainer = new RuntimeContainerMock();
this.existContainer = new AzureStorageContainerExistRuntime();
}
use of org.talend.components.azurestorage.RuntimeContainerMock in project components by Talend.
the class AzureStorageDeleteRuntimeTest method setup.
@Before
public void setup() {
properties = new TAzureStorageDeleteProperties(PROP_ + "DeleteBlock");
properties.setupProperties();
// valid connection
properties.connection = new TAzureStorageConnectionProperties(PROP_ + "Connection");
properties.connection.protocol.setValue(Protocol.HTTP);
properties.connection.accountName.setValue("fakeAccountName");
properties.connection.accountKey.setValue("fakeAccountKey=ANBHFYRJJFHRIKKJFU");
properties.container.setValue("valide-container-name-1");
runtimeContainer = new RuntimeContainerMock();
this.deleteBlock = new AzureStorageDeleteRuntime();
}
use of org.talend.components.azurestorage.RuntimeContainerMock in project components by Talend.
the class AzureStorageQueuePurgeRuntimeTest method setup.
@Before
public void setup() throws IOException {
properties = new TAzureStorageQueuePurgeProperties(PROP_ + "Purge");
properties.setupProperties();
// valid connection
properties.connection = new TAzureStorageConnectionProperties(PROP_ + "Connection");
properties.connection.protocol.setValue(Protocol.HTTP);
properties.connection.accountName.setValue("fakeAccountName");
properties.connection.accountKey.setValue("fakeAccountKey=ANBHFYRJJFHRIKKJFU");
runtimeContainer = new RuntimeContainerMock();
this.azureStorageQueuePurge = new AzureStorageQueuePurgeRuntime();
}
use of org.talend.components.azurestorage.RuntimeContainerMock in project components by Talend.
the class AzureStorageRuntimeTest method setup.
@Before
public void setup() {
runtimeContainer = new RuntimeContainerMock();
this.azureStorageRuntime = new AzureStorageRuntime();
properties = new TAzureStorageConnectionProperties(PROP_CONNECTION);
properties.setupProperties();
}
use of org.talend.components.azurestorage.RuntimeContainerMock in project components by Talend.
the class AzureStorageContainerDeleteRuntimeTest method setup.
@Before
public void setup() {
properties = new TAzureStorageContainerDeleteProperties(PROP_ + "DeleteContainer");
properties.setupProperties();
// valid connection
properties.connection = new TAzureStorageConnectionProperties(PROP_ + "Connection");
properties.connection.protocol.setValue(Protocol.HTTP);
properties.connection.accountName.setValue("fakeAccountName");
properties.connection.accountKey.setValue("fakeAccountKey=ANBHFYRJJFHRIKKJFU");
runtimeContainer = new RuntimeContainerMock();
this.deleteContainer = new AzureStorageContainerDeleteRuntime();
}
Aggregations