public class FallbackTest
extends org.jboss.arquillian.testng.Arquillian
Constructor and Description |
---|
FallbackTest() |
Modifier and Type | Method and Description |
---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
deploy() |
void |
testClassLevelFallbackSuccess()
Analogous to testFallbackSuccess with Class level annotations that are inherited by serviceA but overridden by
serviceB.
|
void |
testFallbackMethodSuccess()
Test that a method in a Fallback service is driven after the specified number of retries are executed.
|
void |
testFallbackMethodWithArgsSuccess()
Analogous to testFallbackMethodSuccess but serviceE has a pair of parameters.
|
void |
testFallbackSuccess()
Test that a Fallback service is driven after the specified number of retries are executed.
|
void |
testFallbackTimeout()
Test that a Fallback service is driven after the specified number of retries are executed.
|
void |
testFallbacktNoTimeout()
Test that a Fallback service is driven after the specified number of retries are executed.
|
void |
testFallbackWithBeanSuccess()
A refinement on testFallbackSuccess to test that a bean may be injected in the FallbackHandler.
|
void |
testStandaloneHandlerFallback()
Test that a Fallback service can work alone, without other annotations.
|
void |
testStandaloneMethodFallback()
Test that a Fallback service can work alone, without other annotations.
|
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive deploy()
public void testFallbackSuccess()
public void testFallbackWithBeanSuccess()
public void testClassLevelFallbackSuccess()
public void testFallbacktNoTimeout()
public void testFallbackTimeout()
public void testFallbackMethodSuccess()
public void testFallbackMethodWithArgsSuccess()
public void testStandaloneHandlerFallback()
ServiceA fallback is driven by a class implementing FallbackHandler. ServiceA is only called once.
public void testStandaloneMethodFallback()
ServiceB fallback is driven by a FallbackHandler method in the same class. ServiceB is only called once.
Copyright © 2016 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.