diff options
author | Jana Fabrikova <[email protected]> | 2013-04-29 13:54:26 +0200 |
---|---|---|
committer | Jana Fabrikova <[email protected]> | 2013-04-29 13:54:26 +0200 |
commit | f95c6d95d919cc41134acfb29d5a9109affe773a (patch) | |
tree | 5b3e5734bc34931ea8f9b5a21f77ea8ae744f517 /tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java | |
parent | 2aa28d1b5aef04ceee046e7082b5fefce21563d6 (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.java | 7 |
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) { |