public class TckTests extends TckTestBase
testName| Constructor and Description |
|---|
TckTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptCancelTest() |
void |
acceptCloseTest() |
void |
cancelLRA()
Starting LRA and cancelling it.
|
void |
closeLRA()
Starting LRA and closing it.
|
void |
compensateMultiLevelNestedActivity() |
void |
completeMultiLevelNestedActivity() |
void |
dependentLRA() |
static org.jboss.shrinkwrap.api.spec.WebArchive |
deploy() |
void |
join() |
void |
joinLRAViaHeader() |
void |
joinWithOneResourceDifferentMethodTwiceWithCancel()
client invokes the same participant twice but using different methods in the same LRA context
cancel the LRA
check that the participant was asked to compensate only once
|
void |
joinWithOneResourceDifferentMethodTwiceWithClose()
client invokes the same participant twice but using different methods in the same LRA context
close the LRA
check that the participant was asked to complete only once
|
void |
joinWithOneResourceSameMethodTwiceWithCancel()
client invokes the same participant method twice in the same LRA context
cancel the LRA
check that the participant was asked to compensate only once
|
void |
joinWithOneResourceSameMethodTwiceWithClose()
client invokes the same participant method twice in the same LRA context
close the LRA
check that the participant was asked to complete only once
|
void |
joinWithTwoResourcesWithCancel()
client invokes different participants in the same LRA context
cancel the LRA
check that both participants were asked to compensate
|
void |
joinWithTwoResourcesWithClose()
client invokes different participant in the same LRA context
close the LRA
check that both participants were asked to complete
|
void |
leaveLRA() |
void |
mixedMultiLevelNestedActivity() |
void |
nestedActivity() |
void |
noLRATest() |
void |
testAfterLRAListener()
TCK test to verify that methods annotated with
AfterLRA
are notified correctly when an LRA terminates |
void |
testAfterLRAParticipant()
TCK test to verify that methods annotated with
AfterLRA
are notified correctly when an LRA terminates |
void |
timeLimit() |
void |
timeLimitWithPreConditionFailed()
Service A - Timeout 500 ms
Service B - Type.MANDATORY
Service A calls Service B after it has waited 1 sec.
|
after, before@Deployment(name="tcktests") public static org.jboss.shrinkwrap.api.spec.WebArchive deploy()
public void cancelLRA()
throws javax.ws.rs.WebApplicationException
Starting LRA and cancelling it.
It's expected the LRA won't be listed in active LRAs when cancelled.
javax.ws.rs.WebApplicationExceptionpublic void closeLRA()
throws javax.ws.rs.WebApplicationException
Starting LRA and closing it.
It's expected the LRA won't be listed in active LRAs when closed.
javax.ws.rs.WebApplicationExceptionpublic void nestedActivity()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void completeMultiLevelNestedActivity()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void compensateMultiLevelNestedActivity()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void mixedMultiLevelNestedActivity()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void joinLRAViaHeader()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void join()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void testAfterLRAParticipant()
throws javax.ws.rs.WebApplicationException,
InterruptedException
AfterLRA
are notified correctly when an LRA terminatesInterruptedException - when waiting for the finishing the callbacks is interruptedjavax.ws.rs.WebApplicationExceptionpublic void testAfterLRAListener()
AfterLRA
are notified correctly when an LRA terminatespublic void leaveLRA()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void dependentLRA()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void timeLimit()
public void timeLimitWithPreConditionFailed()
public void acceptCloseTest()
throws javax.ws.rs.WebApplicationException,
InterruptedException
javax.ws.rs.WebApplicationExceptionInterruptedExceptionpublic void acceptCancelTest()
throws javax.ws.rs.WebApplicationException,
InterruptedException
javax.ws.rs.WebApplicationExceptionInterruptedExceptionpublic void noLRATest()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void joinWithOneResourceSameMethodTwiceWithCancel()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void joinWithOneResourceDifferentMethodTwiceWithCancel()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void joinWithOneResourceSameMethodTwiceWithClose()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void joinWithOneResourceDifferentMethodTwiceWithClose()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void joinWithTwoResourcesWithClose()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic void joinWithTwoResourcesWithCancel()
throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionCopyright © 2021 Eclipse Foundation. All rights reserved.