| com.opensymphony.webwork.views.jsp.AbstractTagTest com.opensymphony.webwork.views.jsp.AbstractUITagTest
All known Subclasses: com.opensymphony.webwork.views.jsp.IteratorTagTest, com.opensymphony.webwork.components.UIComponentTest, com.opensymphony.webwork.views.jsp.ui.JspTemplateTest, com.opensymphony.webwork.views.jsp.SetTagTest, com.opensymphony.webwork.views.jsp.ui.DebugTagTest, com.opensymphony.webwork.views.jsp.ui.ComponentTest, com.opensymphony.webwork.views.jsp.ui.ComboBoxTest, com.opensymphony.webwork.views.jsp.ui.TreeTest, com.opensymphony.webwork.views.jsp.ui.ResetTest, com.opensymphony.webwork.views.jsp.ui.ActionErrorTagTest, com.opensymphony.webwork.views.jsp.ui.CheckboxTest, com.opensymphony.webwork.views.jsp.ui.AnchorTest, com.opensymphony.webwork.views.jsp.ui.FieldErrorTagTest, com.opensymphony.webwork.views.jsp.ui.HeadTagTest, com.opensymphony.webwork.views.jsp.ui.TextareaTest, com.opensymphony.webwork.views.jsp.ui.PasswordTest, com.opensymphony.webwork.components.FormTest, com.opensymphony.webwork.views.jsp.ui.OptGroupTest, com.opensymphony.webwork.views.jsp.AnchorTagTest, com.opensymphony.webwork.views.jsp.ui.RichTextEditorTagTest, com.opensymphony.webwork.views.jsp.ui.DoubleSelectTest, com.opensymphony.webwork.views.jsp.ui.TooltipTest, com.opensymphony.webwork.views.jsp.ui.FormTagTest, com.opensymphony.webwork.views.jsp.ui.TokenTagTest, com.opensymphony.webwork.views.jsp.ui.ActionMessageTagTest, com.opensymphony.webwork.views.jsp.ui.FileTest, com.opensymphony.webwork.views.jsp.ui.LabelTest, com.opensymphony.webwork.views.jsp.ui.CheckboxListTest, com.opensymphony.webwork.views.jsp.URLTagTest, com.opensymphony.webwork.views.jsp.ui.TextfieldTest, com.opensymphony.webwork.views.jsp.BeanTagTest, com.opensymphony.webwork.views.jsp.ui.DivTest, com.opensymphony.webwork.views.jsp.ui.RadioTest, com.opensymphony.webwork.views.jsp.ui.OptionTransferSelectTagTest, com.opensymphony.webwork.views.jsp.ui.DatePickerTagTest, com.opensymphony.webwork.views.jsp.ui.UpDownSelectTagTest, com.opensymphony.webwork.views.jsp.ui.SelectTest, com.opensymphony.webwork.views.jsp.ui.SubmitTest, com.opensymphony.webwork.views.jsp.ui.HiddenTest, com.opensymphony.webwork.views.jsp.ui.SubmitAjaxTest, com.opensymphony.webwork.views.jsp.PushTagTest,
Inner Class :public class PropertyHolder | |
Inner Class :public class BeanHelper | |
Method Summary | |
protected Map | initializedGenericTagTestProperties() Initialize a map of
PropertyHolder for generic tag property testing. | public static String | normalize(Object obj, boolean appendSpace) normalizes a string so that strings generated on different platforms can be compared. | protected void | setUp() | protected void | tearDown() | public void | verify(URL url) Attempt to verify the contents of this.writer against the contents of the URL specified. | public void | verify(URL url, String[] excluded) Attempt to verify the contents of this.writer against the contents of the URL specified. | public void | verifyGenericProperties(AbstractUITag tag, String theme, Map propertiesToTest, String[] exclude) Do a generic verification that setting certain properties on a tag causes expected output regarding this
property. | public void | verifyGenericProperties(AbstractUITag tag, String theme, String[] exclude) Do a generic verification that setting certain properties on a tag causes expected output regarding this
property. |
FREEMARKER_ERROR_EXPECTATION | final static String FREEMARKER_ERROR_EXPECTATION(Code) | | |
normalize | public static String normalize(Object obj, boolean appendSpace)(Code) | | normalizes a string so that strings generated on different platforms can be compared. any group of one or more
space, tab, \r, and \n characters are converted to a single space character
Parameters: obj - the object to be normalized. normalize will perform its operation on obj.toString().trim() ; Parameters: appendSpace - the normalized string |
verify | public void verify(URL url) throws Exception(Code) | | Attempt to verify the contents of this.writer against the contents of the URL specified. verify() performs a
trim on both ends
Parameters: url - the HTML snippet that we want to validate against throws: Exception - if the validation failed |
verify | public void verify(URL url, String[] excluded) throws Exception(Code) | | Attempt to verify the contents of this.writer against the contents of the URL specified. verify() performs a
trim on both ends
Parameters: url - the HTML snippet that we want to validate against throws: Exception - if the validation failed |
verifyGenericProperties | public void verifyGenericProperties(AbstractUITag tag, String theme, String[] exclude) throws Exception(Code) | | Do a generic verification that setting certain properties on a tag causes expected output regarding this
property. Which properties to test with which expectations will be determined by the Map retrieved by
AbstractUITagTest.initializedGenericTagTestProperties() .
Parameters: tag - The fresh created tag instance to test. Parameters: theme - The theme to use. If null, use configured default theme. Parameters: exclude - Names of properties to exclude from particular test. throws: Exception - |
|
|