nglasl\misdirection\tests\UnitTests
The misdirection specific unit testing.
@author Nathan Glasl <nathan@symbiote.com.au>
Synopsis
class UnitTests
extends SapphireTest
{
- // members
- protected boolean $usesDatabase = true;
- // methods
- public void testSimpleLinkMappings()
- public void testRegularExpressionReplacement()
- public void testRegularExpressionLinkMappings()
- public void testMappingPriority()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $usesDatabase
Methods
public
- testMappingPriority() — The test to ensure the link mapping priority is correct.
- testRegularExpressionLinkMappings() — The test to ensure the regular expression link mappings are functioning correctly.
- testRegularExpressionReplacement() — The test to ensure the regular expression replacement is correct.
- testSimpleLinkMappings() — The test to ensure the simple link mappings are functioning correctly.