org.xwiki.test.ui.po
Class ChangesPane
java.lang.Object
org.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.ChangesPane
public class ChangesPane
- extends BaseElement
Displays the differences between two versions of a document.
- Since:
- 4.2M1
- Version:
- $Id: dd43dc5576a49fbbb323417014d6d47aa64e7980 $
| Methods inherited from class org.xwiki.test.ui.po.BaseElement |
executeJavascript, getDriver, getUtil, makeAlertDialogSilent, makeConfirmDialogSilent, makeElementVisible, makeElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilElementDisappears, waitUntilElementEndsWithAttributeValue, waitUntilElementHasAttributeValue, waitUntilElementHasTextContent, waitUntilElementIsVisible, waitUntilElementsAreVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChangesPane
public ChangesPane()
getFromVersionSummary
public String getFromVersionSummary()
- Returns:
- the summary of the from version
getToVersionSummary
public String getToVersionSummary()
- Returns:
- the summary of the to version
getChangeComment
public String getChangeComment()
- Returns:
- the comment of the to version
getChangedMetaData
public List<String> getChangedMetaData()
- Returns:
- the list of meta data properties that have been changed
getMetaDataChanges
public String getMetaDataChanges(String propertyLabel)
- Parameters:
propertyLabel - the label of a document meta data property
- Returns:
- the changes displayed either as a unified diff (for multi-line values) or as an in-line diff (for
single-line values)
getContentChanges
public String getContentChanges()
- Returns:
- the content changes displayed as a unified diff
getAttachmentChanges
public List<String> getAttachmentChanges()
- Returns:
- the list of attachment changes
getCommentChanges
public String getCommentChanges(int commentNumber,
String propertyLabel)
- Parameters:
commentNumber - the comment numberpropertyLabel - the label of a comment property (e.g. 'Author', 'Date', 'Comment content')
- Returns:
- the changes displayed either as a unified diff (for multi-line values) or as an in-line diff (for
single-line values)
getCommentChangeSummaries
public List<String> getCommentChangeSummaries()
- Returns:
- the list of summaries for comment changes
getObjectChanges
public String getObjectChanges(String objectType,
int objectNumber,
String propertyLabel)
- Parameters:
objectType - the type of objectobjectNumber - the object numberpropertyLabel - the label of an object property
- Returns:
- the changes displayed either as a unified diff (for multi-line values) or as an in-line diff (for
single-line values)
getObjectChangeSummaries
public List<String> getObjectChangeSummaries()
- Returns:
- the list of summaries for object changes
getClassChanges
public List<String> getClassChanges()
- Returns:
- the list of class changes
hasNoChanges
public boolean hasNoChanges()
- Returns:
true if the "No changes" message is displayed, false otherwise
Copyright © 2004-2013 XWiki. All Rights Reserved.