|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.webphotos.gui.util.fest.WebPhotosDelegate
public class WebPhotosDelegate
| Constructor Summary | |
|---|---|
WebPhotosDelegate()
|
|
| Method Summary | |
|---|---|
void |
addPhotosToAlbumAndCheck(String[] fileNames,
String buttonName,
File folderNameToVerify,
String fileDialogName)
|
void |
checkButtonHasText(String button,
String textShown)
Tests Button Text |
void |
checkComboBoxHasText(String comboBoxName,
String textShown)
Tests Combox Text |
void |
checkIsButtonEnabled(String button)
Tests Button |
void |
checkNewAlbum()
It validates album insertion |
void |
fillAlbumForm(String albumTitle,
String albumDescription,
String categoryName,
Map<String,String[]> photoData)
Fill up a new album using a pre-defined category, credits and added photos |
void |
fillModalWithText(String buttonName,
String modalTittle,
String data)
Writes text to a Modal Dialog |
static WebPhotosDelegate |
getWebPhotosDelegate()
Returns the Delegate |
void |
setUp()
Setup for One Test |
void |
setUpClass()
Prepare all tests |
void |
tearDownClass()
Dispose all tests |
void |
validateMainWindowIsPresent()
Tests mainWindow |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebPhotosDelegate()
| Method Detail |
|---|
public void setUpClass()
throws Exception
WebPhotosDelegate
setUpClass in interface WebPhotosDelegateException - no errors allowed
public void addPhotosToAlbumAndCheck(String[] fileNames,
String buttonName,
File folderNameToVerify,
String fileDialogName)
throws RuntimeException
addPhotosToAlbumAndCheck in interface WebPhotosDelegateRuntimeException - no errors allowed
public void checkButtonHasText(String button,
String textShown)
throws RuntimeException
WebPhotosDelegate
checkButtonHasText in interface WebPhotosDelegateRuntimeException - no errors allowed
public void checkComboBoxHasText(String comboBoxName,
String textShown)
throws RuntimeException
WebPhotosDelegate
checkComboBoxHasText in interface WebPhotosDelegateRuntimeException - no errors allowed
public void checkIsButtonEnabled(String button)
throws RuntimeException
WebPhotosDelegate
checkIsButtonEnabled in interface WebPhotosDelegateRuntimeException - no errors allowed
public void fillModalWithText(String buttonName,
String modalTittle,
String data)
throws RuntimeException
WebPhotosDelegate
fillModalWithText in interface WebPhotosDelegateRuntimeException - no errors allowed
public void tearDownClass()
throws Exception
WebPhotosDelegate
tearDownClass in interface WebPhotosDelegateException - no errors allowedpublic void validateMainWindowIsPresent()
WebPhotosDelegate
validateMainWindowIsPresent in interface WebPhotosDelegatepublic void setUp()
setUp in interface WebPhotosDelegatepublic static WebPhotosDelegate getWebPhotosDelegate()
public void fillAlbumForm(String albumTitle,
String albumDescription,
String categoryName,
Map<String,String[]> photoData)
WebPhotosDelegate
fillAlbumForm in interface WebPhotosDelegatepublic void checkNewAlbum()
WebPhotosDelegate
checkNewAlbum in interface WebPhotosDelegate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||