com.atlassian.confluence.it.content
Class ViewContentHistoryBean
java.lang.Object
com.atlassian.confluence.it.content.ViewContentHistoryBean
public class ViewContentHistoryBean
- extends Object
Represents a View Previous Versions page for a Page or BlogPost.
Currently not very implemented.
Method Summary |
void |
assertNoChangeComment(int contentVersion)
Asserts that no changeComment exists for a version. |
String |
getChangeCommentText(int contentVersion)
Retrieves the text of the change comment for a specified version of the content. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewContentHistoryBean
public ViewContentHistoryBean(net.sourceforge.jwebunit.junit.WebTester tester)
getChangeCommentText
public String getChangeCommentText(int contentVersion)
- Retrieves the text of the change comment for a specified version of the content.
- Parameters:
contentVersion
- content version, starting at 1.
- Returns:
- the text of the element
- Throws:
junit.framework.AssertionFailedError
- if the version does not exist, or it has no change comment
assertNoChangeComment
public void assertNoChangeComment(int contentVersion)
- Asserts that no changeComment exists for a version.
- Parameters:
contentVersion
- content version, starting at 1.
Copyright © 2003-2010 Atlassian. All Rights Reserved.