|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.webphotos.gui.util.uispec4j.WebPhotosDelegate
public class 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 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 |
| Method Detail |
|---|
public void checkIsButtonEnabled(String button)
throws RuntimeException
checkIsButtonEnabled in interface WebPhotosDelegatebutton -
RuntimeException - no errors allowed
public void checkButtonHasText(String button,
String textShown)
throws RuntimeException
checkButtonHasText in interface WebPhotosDelegatebutton - textShown -
RuntimeException - no errors allowed
public void checkComboBoxHasText(String comboBoxName,
String textShown)
throws RuntimeException
checkComboBoxHasText in interface WebPhotosDelegatecomboBoxName - textShown -
RuntimeException - no errors allowed
public void validateMainWindowIsPresent()
throws RuntimeException
validateMainWindowIsPresent in interface WebPhotosDelegateRuntimeException
public void tearDownClass()
throws Exception
tearDownClass in interface WebPhotosDelegateException - no errors allowed
public void setUpClass()
throws Exception
setUpClass in interface WebPhotosDelegateException - no errors allowed
public void addPhotosToAlbumAndCheck(String[] fileNames,
String buttonName,
File folderNameToVerify,
String fileDialogName)
throws RuntimeException
addPhotosToAlbumAndCheck in interface WebPhotosDelegatefileNames - buttonName - folderNameToVerify - fileDialogName -
RuntimeException - no errors allowed
public void fillModalWithText(String buttonName,
String modalTittle,
String data)
throws RuntimeException
fillModalWithText in interface WebPhotosDelegatebuttonName - modalTittle - data -
RuntimeException - no errors allowedpublic static WebPhotosDelegate getWebPhotosDelegate()
public void setUp()
setUp in interface WebPhotosDelegate
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 | |||||||||