Search in sources :

Example 6 with ConsumerTestUnit

use of it.unibo.arces.wot.sepa.ConsumerTestUnit in project SEPA by arces-wot.

the class ITPattern method subscribe.

@RepeatedTest(ConfigurationProvider.REPEATED_TEST)
@Timeout(10)
public void subscribe() throws InterruptedException, SEPASecurityException, IOException, SEPAPropertiesException, SEPAProtocolException, SEPABindingsException {
    consumerAll = new ConsumerTestUnit(provider, "ALL");
    consumerAll.syncSubscribe(provider.TIMEOUT, provider.NRETRY);
}
Also used : ConsumerTestUnit(it.unibo.arces.wot.sepa.ConsumerTestUnit) RepeatedTest(org.junit.jupiter.api.RepeatedTest) Timeout(org.junit.jupiter.api.Timeout)

Aggregations

ConsumerTestUnit (it.unibo.arces.wot.sepa.ConsumerTestUnit)6 RepeatedTest (org.junit.jupiter.api.RepeatedTest)5 Timeout (org.junit.jupiter.api.Timeout)4 AggregatorTestUnit (it.unibo.arces.wot.sepa.AggregatorTestUnit)2 Response (it.unibo.arces.wot.sepa.commons.response.Response)2 SEPABindingsException (it.unibo.arces.wot.sepa.commons.exceptions.SEPABindingsException)1 SEPAPropertiesException (it.unibo.arces.wot.sepa.commons.exceptions.SEPAPropertiesException)1 SEPAProtocolException (it.unibo.arces.wot.sepa.commons.exceptions.SEPAProtocolException)1 SEPASecurityException (it.unibo.arces.wot.sepa.commons.exceptions.SEPASecurityException)1 GenericClient (it.unibo.arces.wot.sepa.pattern.GenericClient)1 Producer (it.unibo.arces.wot.sepa.pattern.Producer)1 IOException (java.io.IOException)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1