X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=sandbox%2Fargeo.slc.jemmytest%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fjemmytest%2FAutoUiApplicationJemmy.java;h=b9678c5f4bffe6e3d7a73a8c859b6303a50ed11f;hb=f2c8d34fdf6ba4103b1226b50ce132fe98ff24bf;hp=d15b4fef764a26597e0aa78b4bd9703cf83990db;hpb=3921e17b95b0d4f390f990c3ee59d36976f6dbf7;p=gpl%2Fargeo-slc.git diff --git a/sandbox/argeo.slc.jemmytest/src/main/java/org/argeo/slc/jemmytest/AutoUiApplicationJemmy.java b/sandbox/argeo.slc.jemmytest/src/main/java/org/argeo/slc/jemmytest/AutoUiApplicationJemmy.java index d15b4fef7..b9678c5f4 100644 --- a/sandbox/argeo.slc.jemmytest/src/main/java/org/argeo/slc/jemmytest/AutoUiApplicationJemmy.java +++ b/sandbox/argeo.slc.jemmytest/src/main/java/org/argeo/slc/jemmytest/AutoUiApplicationJemmy.java @@ -2,22 +2,11 @@ package org.argeo.slc.jemmytest; import org.argeo.slc.autoui.AutoUiActivator; import org.argeo.slc.autoui.AutoUiApplication; -import org.netbeans.jemmy.ClassReference; import org.netbeans.jemmy.operators.JButtonOperator; import org.netbeans.jemmy.operators.JFrameOperator; import org.netbeans.jemmy.operators.JLabelOperator; public class AutoUiApplicationJemmy implements AutoUiApplication { - public void run() { - try { - execute(new Object()); - } catch (Exception e) { - e.printStackTrace(); - throw new RuntimeException("Could not execute as Runnable" - + e.getMessage()); - } - } - public Object execute(Object object) throws Exception { // Find components