public class ActionLoaderTest extends BaseTestCase
Constructor and Description |
---|
ActionLoaderTest() |
Modifier and Type | Method and Description |
---|---|
static void |
init() |
void |
setUpBefore() |
static void |
tearDown() |
void |
testActionEventAnnotation()
This unit test verifies that if an Action Event doEventSubmit_ is called,
a properly annotated method is being called
|
void |
testActionEventBubblesException()
This unit test verifies that if an Action Event doEventSubmit_ is called,
and it throws an Exception, the exception is bubbled up out of the
ActionLoader...
|
void |
testActionEventDoesntBubbleException()
This unit test verifies that if an Action Event doEventSubmit_ is called,
and it throws an Exception, if the action.event.bubbleexception property
is set to false then the exception is NOT bubbled up
|
void |
testDoPerformBubblesException()
This unit test verifies that if your standard doPerform is called, and it
throws an Exception, the exception is bubbled up out of the
ActionLoader...
|
void |
testDoPerformDoesntBubbleException()
This unit test verifies that if your standard doPerform is called, and it
throws an Exception, if the action.event.bubbleexception property is set
to false then the exception is NOT bubbled up
|
void |
testDoPerformWithPipelineData() |
void |
testDoPerformWithServiceInjection() |
void |
testNonexistentActionCausesError() |
baseInit, getMockRequest, getPipelineData, getRunData
public ActionLoaderTest()
public static void init()
public void setUpBefore() throws Exception
Exception
public void testDoPerformBubblesException() throws Exception
Exception
- If something goes wrong with the unit testpublic void testActionEventBubblesException() throws Exception
Exception
- If something goes wrong with the unit testpublic void testDoPerformDoesntBubbleException() throws Exception
Exception
- If something goes wrong with the unit testpublic void testActionEventDoesntBubbleException() throws Exception
Exception
- If something goes wrong with the unit testpublic void testActionEventAnnotation() throws Exception
Exception
- If something goes wrong with the unit testpublic void testNonexistentActionCausesError() throws Exception
Exception
public void testDoPerformWithPipelineData() throws Exception
Exception
public void testDoPerformWithServiceInjection() throws Exception
Exception
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.