@UnitTest public class DefaultTrashContentPageValidatorTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultTrashContentPageValidatorTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertHasError(java.lang.String field,
java.lang.String errorCode) |
protected void |
assertHasNoErrors() |
protected void |
configureContentPage(CmsPageStatus pageStatus,
boolean isHomePage) |
void |
givenFrontEndDoesNotConsiderPageAsHomepage_ButPageIsActuallyHomepageAndIsBeingTrashed_WhenValidated_ItMustFail() |
void |
givenPageIsHomepageAndIsNotBeingTrashed_WhenValidated_ItMustPass() |
void |
givenPageIsNonTopLevelHomepageAndIsBeingTrashed_WhenValidated_ItMustPass() |
void |
givenPageIsNotHomepageAndIsBeingTrashed_WhenValidated_ItMustPass() |
void |
givenPageIsNotHomepageAndIsNotBeingTrashed_WhenValidated_ItMustPass() |
void |
givenPageIsTopLevelHomepageAndIsBeingReplaced_WhenValidated_ItMustPass() |
void |
givenPageIsTopLevelHomepageAndIsBeingTrashed_WhenValidated_ItMustFail() |
protected void |
markAttributeAsDirty(java.lang.String attributeName) |
void |
setUp() |
public DefaultTrashContentPageValidatorTest()
public void setUp()
public void givenPageIsNotHomepageAndIsNotBeingTrashed_WhenValidated_ItMustPass()
public void givenPageIsNotHomepageAndIsBeingTrashed_WhenValidated_ItMustPass()
public void givenPageIsHomepageAndIsNotBeingTrashed_WhenValidated_ItMustPass()
public void givenPageIsTopLevelHomepageAndIsBeingReplaced_WhenValidated_ItMustPass()
public void givenPageIsNonTopLevelHomepageAndIsBeingTrashed_WhenValidated_ItMustPass()
public void givenPageIsTopLevelHomepageAndIsBeingTrashed_WhenValidated_ItMustFail()
public void givenFrontEndDoesNotConsiderPageAsHomepage_ButPageIsActuallyHomepageAndIsBeingTrashed_WhenValidated_ItMustFail()
protected void configureContentPage(CmsPageStatus pageStatus, boolean isHomePage)
protected void markAttributeAsDirty(java.lang.String attributeName)
protected void assertHasNoErrors()
protected void assertHasError(java.lang.String field,
java.lang.String errorCode)
Copyright © 2018 SAP SE. All Rights Reserved.