You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2007/06/18 07:25:46 UTC

svn commit: r548222 - /harmony/enhanced/buildtest/branches/2.0/tests/ehwa/ehwa_eclipse_3.2.1.au3

Author: smishura
Date: Sun Jun 17 22:25:45 2007
New Revision: 548222

URL: http://svn.apache.org/viewvc?view=rev&rev=548222
Log:
Apply second patch from HARMONY-4159:
([testing] EHWA scenario improvement)

Modified:
    harmony/enhanced/buildtest/branches/2.0/tests/ehwa/ehwa_eclipse_3.2.1.au3

Modified: harmony/enhanced/buildtest/branches/2.0/tests/ehwa/ehwa_eclipse_3.2.1.au3
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/ehwa/ehwa_eclipse_3.2.1.au3?view=diff&rev=548222&r1=548221&r2=548222
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/ehwa/ehwa_eclipse_3.2.1.au3 (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/ehwa/ehwa_eclipse_3.2.1.au3 Sun Jun 17 22:25:45 2007
@@ -185,9 +185,11 @@
 LogWrite(@TAB & "EHWA class was successfully created" & @LF)
 SleepImpl(3000)
 LogWrite(@TAB & "Add System.out.println(""Hello, world!""); string in the main method of EHWA class" & @LF)
-ControlFocus("Java - EHWA.java - Eclipse SDK", "", "SWT_Window039")
-ControlSend("Java - EHWA.java - Eclipse SDK", "", "SWT_Window039", "{DOWN 8}{TAB}")
-ControlSend("Java - EHWA.java - Eclipse SDK", "", "SWT_Window039", "System.out.println(""Hello, world{!}"");")
+WinWaitImpl("Java - EHWA.java - Eclipse SDK","",60)
+If Not WinActive("Java - EHWA.java - Eclipse SDK","") Then WinActivate("Java - EHWA.java - Eclipse SDK","")
+WinWaitActiveImpl("Java - EHWA.java - Eclipse SDK","",30)
+Send("{DOWN 8}{TAB}")
+Send("System.out.println(""Hello, world{!}"");")
 SleepImpl(3000)
 
 ; 12