|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.EntityTreeElement
public class EntityTreeElement
Represents the actions possible on the XWiki Explorer Tree.
| Constructor Summary | |
|---|---|
EntityTreeElement()
|
|
| Method Summary | |
|---|---|
boolean |
hasAttachment(String spaceName,
String pageName,
String fileName)
|
boolean |
hasPage(String spaceName,
String pageName)
|
boolean |
hasPage(String spaceName,
String pageName,
String pageTitle)
|
boolean |
hasSpace(String spaceName)
|
void |
lookupEntity(String entityReference)
Types the given text in the input box below the tree. |
EntityTreeElement |
waitForAttachment(String spaceName,
String pageName,
String fileName)
Waits for the node corresponding to the specified attachments to be present but not selected. |
EntityTreeElement |
waitForAttachment(String spaceName,
String pageName,
String fileName,
boolean selected)
Waits for the node corresponding to the specified attachment to be present. |
EntityTreeElement |
waitForPage(String spaceName,
String pageName)
Waits for the node corresponding to the specified page to be present but not selected. |
EntityTreeElement |
waitForPage(String spaceName,
String pageName,
boolean selected)
Waits for the node corresponding to the specified page to be present. |
EntityTreeElement |
waitForPage(String spaceName,
String pageName,
String pageTitle)
Waits for the node corresponding to the specified page to be present but not selected. |
EntityTreeElement |
waitForPage(String spaceName,
String pageName,
String pageTitle,
boolean selected)
Waits for the node corresponding to the specified page to be present. |
EntityTreeElement |
waitForSpace(String spaceName)
Waits for the node corresponding to the specified space to be present but not selected. |
EntityTreeElement |
waitForSpace(String spaceName,
boolean selected)
Waits for the node corresponding to the specified space to be present. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityTreeElement()
| Method Detail |
|---|
public EntityTreeElement waitForSpace(String spaceName)
spaceName - the space name
public EntityTreeElement waitForSpace(String spaceName,
boolean selected)
spaceName - the space nameselected - true if the space node should be selected, false otherwise
public boolean hasSpace(String spaceName)
spaceName - the space name
true if the node corresponding to the specified space is present (selected or not), false
otherwise
public EntityTreeElement waitForPage(String spaceName,
String pageName)
spaceName - the space containing the pagepageName - the page name
public EntityTreeElement waitForPage(String spaceName,
String pageName,
String pageTitle)
spaceName - the space containing the pagepageName - the page name (used as the node tool tip)pageTitle - the page title (used as the node label)
public EntityTreeElement waitForPage(String spaceName,
String pageName,
boolean selected)
spaceName - the space containing the pagepageName - the page nameselected - true if the page node should be selected, false otherwise
public EntityTreeElement waitForPage(String spaceName,
String pageName,
String pageTitle,
boolean selected)
spaceName - the space containing the pagepageName - the page name (used as the node hint)pageTitle - the page title (used as the node label)selected - true if the page node should be selected, false otherwise
public boolean hasPage(String spaceName,
String pageName)
spaceName - the space containing the pagepageName - the page name
true if the specified page node is present, selected or not, false otherwise; we assume
the page title equals the page name
public boolean hasPage(String spaceName,
String pageName,
String pageTitle)
spaceName - the space containing the pagepageName - the page name (used as the node hint)pageTitle - the page title (used as the node label)
true if the specified page node is present, selected or not, false otherwise
public EntityTreeElement waitForAttachment(String spaceName,
String pageName,
String fileName)
spaceName - the space containing the pagepageName - the page that holds the attachmentfileName - the attachment file name
public EntityTreeElement waitForAttachment(String spaceName,
String pageName,
String fileName,
boolean selected)
spaceName - the space containing the pagepageName - the page that holds the attachmentfileName - the attachment file nameselected - true if the attachment node should be selected, false otherwise
public boolean hasAttachment(String spaceName,
String pageName,
String fileName)
spaceName - the space containing the pagepageName - the page that holds the attachmentfileName - the attachment file name
true if the specified attachment node is present, selected or not, false otherwisepublic void lookupEntity(String entityReference)
entityReference - the text to be typed in the input box below the tree, usually an entity reference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||