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 jakarta.ws.rs.WebApplicationException
Starting LRA and cancelling it.
It's expected the LRA won't be listed in active LRAs when cancelled.
jakarta.ws.rs.WebApplicationException
public void closeLRA() throws jakarta.ws.rs.WebApplicationException
Starting LRA and closing it.
It's expected the LRA won't be listed in active LRAs when closed.
jakarta.ws.rs.WebApplicationException
public void nestedActivity() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void completeMultiLevelNestedActivity() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void compensateMultiLevelNestedActivity() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void mixedMultiLevelNestedActivity() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void joinLRAViaHeader() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void join() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void testAfterLRAParticipant() throws jakarta.ws.rs.WebApplicationException, InterruptedException
AfterLRA
are notified correctly when an LRA terminatesInterruptedException
- when waiting for the finishing the callbacks is interruptedjakarta.ws.rs.WebApplicationException
public void testAfterLRAListener()
AfterLRA
are notified correctly when an LRA terminatespublic void leaveLRA() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void dependentLRA() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void timeLimit()
public void timeLimitWithPreConditionFailed()
public void acceptCloseTest() throws jakarta.ws.rs.WebApplicationException, InterruptedException
jakarta.ws.rs.WebApplicationException
InterruptedException
public void acceptCancelTest() throws jakarta.ws.rs.WebApplicationException, InterruptedException
jakarta.ws.rs.WebApplicationException
InterruptedException
public void noLRATest() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void joinWithOneResourceSameMethodTwiceWithCancel() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void joinWithOneResourceDifferentMethodTwiceWithCancel() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void joinWithOneResourceSameMethodTwiceWithClose() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void joinWithOneResourceDifferentMethodTwiceWithClose() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void joinWithTwoResourcesWithClose() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
public void joinWithTwoResourcesWithCancel() throws jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.WebApplicationException
Copyright © 2018 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.