Package dev.aherscu.qa.jgiven.rabbitmq
Class AbstractRabbitMqTest<K,V>
- java.lang.Object
-
- com.tngtech.jgiven.base.ScenarioTestBase<GIVEN,WHEN,THEN>
-
- dev.aherscu.qa.jgiven.commons.utils.ScenarioTestEx<GIVEN,WHEN,THEN>
-
- dev.aherscu.qa.jgiven.commons.model.TypedScenarioTest<T,GIVEN,WHEN,THEN>
-
- dev.aherscu.qa.jgiven.commons.utils.ConfigurableScenarioTest<TestConfiguration,RabbitMqScenarioType,RabbitMqFixtures<K,V,?>,RabbitMqActions<K,V,?>,RabbitMqVerifications<K,V,?>>
-
- dev.aherscu.qa.jgiven.rabbitmq.AbstractRabbitMqTest<K,V>
-
public abstract class AbstractRabbitMqTest<K,V> extends dev.aherscu.qa.jgiven.commons.utils.ConfigurableScenarioTest<TestConfiguration,RabbitMqScenarioType,RabbitMqFixtures<K,V,?>,RabbitMqActions<K,V,?>,RabbitMqVerifications<K,V,?>>
-
-
Field Summary
Fields Modifier and Type Field Description protected com.rabbitmq.client.Connection
connection
protected QueueHandler<K,V>
queueHandler
-
Constructor Summary
Constructors Constructor Description AbstractRabbitMqTest(Class<TestConfiguration> configurationType)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
afterClassCloseConnection()
protected void
afterMethodCloseQueueHandler()
protected void
beforeClassOpenConnection()
protected abstract void
beforeMethodInitiateQueueHandler()
-
Methods inherited from class dev.aherscu.qa.jgiven.commons.utils.ConfigurableScenarioTest
afterMethodKeepJenkinsAlive, beforeClassInitializeSession, beforeMethodInitializeSession, configuration, generateRandomId, randomId
-
-
-
-
Field Detail
-
queueHandler
protected QueueHandler<K,V> queueHandler
-
connection
protected com.rabbitmq.client.Connection connection
-
-
Constructor Detail
-
AbstractRabbitMqTest
public AbstractRabbitMqTest(Class<TestConfiguration> configurationType)
-
-
Method Detail
-
beforeClassOpenConnection
@BeforeClass protected final void beforeClassOpenConnection()
-
beforeMethodInitiateQueueHandler
@BeforeMethod protected abstract void beforeMethodInitiateQueueHandler()
-
afterMethodCloseQueueHandler
@AfterMethod(alwaysRun=true) protected final void afterMethodCloseQueueHandler()
-
afterClassCloseConnection
@AfterClass(alwaysRun=true) protected final void afterClassCloseConnection()
-
-