com.silverpeas.form
Class AbstractFormTest
java.lang.Object
com.silverpeas.form.AbstractFormTest
public class AbstractFormTest
- extends Object
Unit tests on the AbstractForm implemented methods.
|
Nested Class Summary |
class |
AbstractFormTest.MyFormImpl
A simple implementation of the AbstractForm class in order to test the method implemented by
the abstract class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIELD_NAME1
public static final String FIELD_NAME1
- See Also:
- Constant Field Values
FIELD_NAME2
public static final String FIELD_NAME2
- See Also:
- Constant Field Values
FIELD_TYPE
public static final String FIELD_TYPE
- See Also:
- Constant Field Values
FIELD_LABEL1
public static final String FIELD_LABEL1
- See Also:
- Constant Field Values
FIELD_LABEL2
public static final String FIELD_LABEL2
- See Also:
- Constant Field Values
FIELD_WYSIWYG
public static final String FIELD_WYSIWYG
- See Also:
- Constant Field Values
FIELD_WYSIWYG_TYPE
public static final String FIELD_WYSIWYG_TYPE
- See Also:
- Constant Field Values
AbstractFormTest
public AbstractFormTest()
setUp
public void setUp()
throws Exception
- Throws:
Exception
tearDown
public void tearDown()
emptyTest
public void emptyTest()
- Empty test to check the unit test passes with its resources set up.
testDisplayScriptsWithAnEmptyRecordTemplate
public void testDisplayScriptsWithAnEmptyRecordTemplate()
throws Exception
- Throws:
Exception
testDisplayScriptWithANonEmptyRecordTemplate
public void testDisplayScriptWithANonEmptyRecordTemplate()
throws Exception
- Throws:
Exception
testIsEmptyWithNoFileItemsFound
public void testIsEmptyWithNoFileItemsFound()
throws Exception
- Throws:
Exception
testIsEmptyWithAllFileItemsWithoutContent
public void testIsEmptyWithAllFileItemsWithoutContent()
throws Exception
- Throws:
Exception
testIsNotEmptyWithOnlyOneFileItemWithoutContent
public void testIsNotEmptyWithOnlyOneFileItemWithoutContent()
throws Exception
- Throws:
Exception
testUpdateOfEmptyFormDoesNothing
public void testUpdateOfEmptyFormDoesNothing()
throws Exception
- Throws:
Exception
testUpdateWithWysiwygFields
public void testUpdateWithWysiwygFields()
throws Exception
- Throws:
Exception
testUpdateWithoutWysiwygFields
public void testUpdateWithoutWysiwygFields()
throws Exception
- Throws:
Exception
testUpdateWysiwygOfEmptyFormDoesNothing
public void testUpdateWysiwygOfEmptyFormDoesNothing()
throws Exception
- Throws:
Exception
testUpdateWysiwyg
public void testUpdateWysiwyg()
throws Exception
- Throws:
Exception
testUpdateWysiwygWithNoWysiwygFieldsDoesNothing
public void testUpdateWysiwygWithNoWysiwygFieldsDoesNothing()
throws Exception
- Throws:
Exception
Copyright © 2016 Silverpeas. All Rights Reserved.