\EditableLiteralFieldTest
Tests the {@see EditableLiteralField} class
Synopsis
class EditableLiteralFieldTest
extends SapphireTest
{
- // methods
- public void setUp()
- public void testSanitisation()
- public void testHideLabel()
- public void testLiteralFieldHasUpdateFormFieldMethodCalled()
- public void testLiteralFieldIsContainedWithinCompositeField()
Hierarchy
Extends
- SapphireTest
Methods
public
- setUp()
- testHideLabel()
- testLiteralFieldHasUpdateFormFieldMethodCalled()
- testLiteralFieldIsContainedWithinCompositeField() — LiteralFields do not allow field names, etc. Instead, the field is contained within a composite field. This test ensures that this structure is correct.
- testSanitisation() — Tests the sanitisation of HTML content