|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.selenium.client.RoundTripTester
public class RoundTripTester
Helper class to test RTE roundtripping. Tests require wysiwyg editing to be the default.
Constructor Summary | |
---|---|
RoundTripTester(Editor editor,
ConfluenceRpc rpc,
User testUser,
Page testPage)
|
Method Summary | |
---|---|
void |
testWikiMarkupRoundTrip(String wikiMarkup)
Test that the given wiki markup does not change when we change to the RTE and back. |
void |
testWikiMarkupRoundTrip(String originalWikiMarkup,
String expectedAlteredWikiMarkup)
Test that the given wiki markup changes in an expected way when we change to the RTE and back. |
void |
testWikiMarkupRoundTrip(String originalWikiMarkup,
String xhtml,
String eventualWikiMarkup)
Tests the round-trip of a piece of wiki markup and checks the intermediate xhtml form. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoundTripTester(Editor editor, ConfluenceRpc rpc, User testUser, Page testPage)
Method Detail |
---|
public void testWikiMarkupRoundTrip(String wikiMarkup)
public void testWikiMarkupRoundTrip(String originalWikiMarkup, String expectedAlteredWikiMarkup)
public void testWikiMarkupRoundTrip(String originalWikiMarkup, String xhtml, String eventualWikiMarkup)
Editor.getRichTextContent()
.
WARNING: This method tends not to work across multiple browsers, but it can be handy for ad-hoc testing.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |