public class SystemSearchActionTest extends RhnMockStrutsTestCase
user| Constructor and Description |
|---|
SystemSearchActionTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
skipTestQueryWithOneResult()
This test is the case where only one system is found.
|
void |
skipTestQueryWithResults()
This test tests multiple search results.
|
void |
testAlphaSubmitForNumericField() |
void |
testNoSubmit() |
void |
testQueryWithBadParameter()
This test verfies that if a bad view mode is passed in by the user,
the system search handles and catches any underlying exceptions
that might be caused by this, instead of allowing the exception to escalate
beyond the SystemSearchAction.
|
void |
testQueryWithoutResults() |
void |
testSmallAlphaSubmitForNumericField() |
addDispatchCall, addSelectedItem, addSubmitted, assertBadParamException, assertException, assertLookupException, assertPermissionException, commitAndCloseSession, getContext, tearDown, verifyActionMessage, verifyFormList, verifyFormValue, verifyList, verifyPageListactionPerform, addRequestParameter, addRequestParameter, clearRequestParameters, getActionForm, getActionServlet, getActualForward, getMockRequest, getMockResponse, getRequest, getRequestWrapper, getResponse, getResponseWrapper, getSession, setActionForm, setActionServlet, setConfigFile, setConfigFile, setContextDirectory, setInitParameter, setRequestPathInfo, setRequestPathInfo, setRequestWrapper, setResponseWrapper, setServletConfigFile, verifyActionErrors, verifyActionMessages, verifyForward, verifyForwardPath, verifyInputForward, verifyInputTilesForward, verifyNoActionErrors, verifyNoActionMessages, verifyTilesForwardassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringpublic void setUp()
throws java.lang.Exception
RhnMockStrutsTestCasesetUp in class RhnMockStrutsTestCasejava.lang.Exceptionpublic void skipTestQueryWithResults()
throws java.lang.Exception
java.lang.Exception - something bad happenedpublic void skipTestQueryWithOneResult()
throws java.lang.Exception
java.lang.Exception - something bad happenedpublic void testQueryWithoutResults()
throws java.lang.Exception
java.lang.Exceptionpublic void testQueryWithBadParameter()
throws java.lang.Exception
java.lang.Exception - something bad happenedpublic void testNoSubmit()
throws java.lang.Exception
java.lang.Exceptionpublic void testAlphaSubmitForNumericField()
throws java.lang.Exception
java.lang.Exceptionpublic void testSmallAlphaSubmitForNumericField()
throws java.lang.Exception
java.lang.Exception