aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java
diff options
context:
space:
mode:
authorJana Fabrikova <[email protected]>2013-04-29 13:54:26 +0200
committerJana Fabrikova <[email protected]>2013-04-29 13:54:26 +0200
commitf95c6d95d919cc41134acfb29d5a9109affe773a (patch)
tree5b3e5734bc34931ea8f9b5a21f77ea8ae744f517 /tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java
parent2aa28d1b5aef04ceee046e7082b5fefce21563d6 (diff)
AWTFramework - fixing return values of searching methods
Diffstat (limited to 'tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java')
-rw-r--r--tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java b/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java
index fb53057..af1655f 100644
--- a/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java
+++ b/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java
@@ -346,14 +346,9 @@ public abstract class AWTHelper extends RulesFolowingClosingListener implements
* @param height
* @param K
* @throws ComponentNotFoundException
- * @throws AWTFrameworkException
*/
- public void captureScreenAndFindAppletByIconTryKTimes(BufferedImage icon, Rectangle iconPosition, int width, int height, int K) throws ComponentNotFoundException, AWTFrameworkException {
+ public void captureScreenAndFindAppletByIconTryKTimes(BufferedImage icon, Rectangle iconPosition, int width, int height, int K) throws ComponentNotFoundException {
- if(!markerGiven){
- throw new AWTFrameworkException("AWTFramework cannot find applet without marker!");
- }
-
int count = 0;
appletFound = false;
while ((count < K) && !appletFound) {