\CMSMainTest
Synopsis
class CMSMainTest
extends FunctionalTest
{
- // members
- public static string $fixture_file = 'cms/tests/CMSMainTest.yml';
- protected boolean $autoFollowRedirection = false;
- protected static array $orig = ;
- // methods
- public static void set_up_once()
- public static void tear_down_once()
- public void testPublish()
- public void testPublishOneOfEachKindOfPage()
- public void testThatGetCMSFieldsWorksOnEveryPageType()
- public void testCanPublishPageWithUnpublishedParentWithStrictHierarchyOff()
- public void testDraftDeletedPageCanBeOpenedInCMS()
- public void testGetRecord()
- public void testGetVersionRecord()
- public void testDeletedPagesSiteTreeFilter()
- public void testCreationOfTopLevelPage()
Hierarchy
Extends
- FunctionalTest
Tasks
Line | Task |
---|---|
33+ | Test the results of a publication better |
239 | Logout |
Members
protected
- $autoFollowRedirection
- $orig
public
- $fixture_file
Methods
public
- set_up_once()
- tear_down_once()
- testCanPublishPageWithUnpublishedParentWithStrictHierarchyOff()
- testCreationOfTopLevelPage()
- testDeletedPagesSiteTreeFilter()
- testDraftDeletedPageCanBeOpenedInCMS() — Test that a draft-deleted page can still be opened in the CMS
- testGetRecord() — Test CMSMain::getRecord()
- testGetVersionRecord()
- testPublish()
- testPublishOneOfEachKindOfPage() — Test publication of one of every page type
- testThatGetCMSFieldsWorksOnEveryPageType() — Test that getCMSFields works on each page type.