UndefinedOffset\AdvancedWidgetEditor\Tests\AdvancedWidgetEditorTest
Synopsis
class AdvancedWidgetEditorTest
extends FunctionalTest
{
- // members
- protected static string $fixture_file = 'AdvancedWidgetEditorTest.yml';
- protected static array $extra_dataobjects = ;
- protected static array $extra_controllers = ;
- protected boolean $autoFollowRedirection = false;
- protected $depSettings = NULL;
- // methods
- public void setUp()
- public void testFieldNameRewrite()
- public void testUsedWidets()
- public void testAddRouting()
- public void testNestedTreeDropdownRouting()
- public void testGridFieldRouting()
- public void testEditorSaving()
Hierarchy
Extends
- SilverStripe\Dev\FunctionalTest
Members
protected
- $autoFollowRedirection
- $depSettings
- $extra_controllers
- $extra_dataobjects
- $fixture_file
Methods
public
- setUp()
- testAddRouting() — Tests to see if the add widget routing is feeding in correctly and returning the expected response
- testEditorSaving() — Tests to see if the widget editor is saving correctly
- testFieldNameRewrite() — Tests to ensure that the field names are being correctly re-written by php
- testGridFieldRouting() — Tests to see if nested routing to a field like GridField is working
- testNestedTreeDropdownRouting() — Tests to see if routing to a field like TreeDropdownField is working
- testUsedWidets() — Tests to ensure that the widget editor is correctly being set on UsedWidgets