Author: titmuss
Date: Thu Apr 24 03:17:40 2008
New Revision: 2329

URL: http://svn.slimdevices.com?rev=2329&root=Jive&view=rev
Log:
Bug: N/A
Description:
Macro for testing software upgrade.


Added:
    7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Advanced.bmp   (with 
props)
    7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/CopyingUpdate.bmp   
(with props)
    7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Settings.bmp   (with 
props)
    7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/SoftwareUpdate.bmp   
(with props)
    
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/SoftwareUpgradeMacro.lua
Modified:
    7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Macros.lua

Added: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Advanced.bmp
URL: 
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Advanced.bmp?rev=2329&root=Jive&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Advanced.bmp
------------------------------------------------------------------------------
    svn:executable = *

Propchange: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Advanced.bmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/CopyingUpdate.bmp
URL: 
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/CopyingUpdate.bmp?rev=2329&root=Jive&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/CopyingUpdate.bmp
------------------------------------------------------------------------------
    svn:executable = *

Propchange: 
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/CopyingUpdate.bmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Macros.lua
URL: 
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Macros.lua?rev=2329&root=Jive&r1=2328&r2=2329&view=diff
==============================================================================
--- 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Macros.lua (original)
+++ 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Macros.lua Thu Apr 24 
03:17:40 2008
@@ -4,10 +4,15 @@
   macros={
     chooseplayer={ desc="Choose Player Macro", file="ChoosePlayerMacro.lua", 
name="Choose Player" },
     playmode={
-      desc="Playmode tests (stop/pause/play)",
-      failed="Thu Apr 24 10:15:50 2008",
+      desc="Playmode tests (stop/pause/play).",
       file="PlaymodeMacro.lua",
       name="Playmode" 
+    },
+    softwareUpgrade={
+      desc="User requested software upgrade.",
+      failed="Thu Apr 24 11:05:36 2008",
+      file="SoftwareUpgradeMacro.lua",
+      name="Software Upgrade" 
     } 
   } 
 }

Added: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Settings.bmp
URL: 
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Settings.bmp?rev=2329&root=Jive&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Settings.bmp
------------------------------------------------------------------------------
    svn:executable = *

Propchange: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Settings.bmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/SoftwareUpdate.bmp
URL: 
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/SoftwareUpdate.bmp?rev=2329&root=Jive&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/SoftwareUpdate.bmp
------------------------------------------------------------------------------
    svn:executable = *

Propchange: 
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/SoftwareUpdate.bmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/SoftwareUpgradeMacro.lua
URL: 
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/SoftwareUpgradeMacro.lua?rev=2329&root=Jive&view=auto
==============================================================================
--- 
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/SoftwareUpgradeMacro.lua 
(added)
+++ 
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/SoftwareUpgradeMacro.lua 
Thu Apr 24 03:17:40 2008
@@ -1,0 +1,49 @@
+
+-- go home
+macroHome()
+
+
+-- Settings
+while not macroIsMenuItem("Settings") do
+       macroEvent(100, EVENT_KEY_PRESS, KEY_DOWN)
+end
+macroEvent(100, EVENT_KEY_PRESS, KEY_GO)
+
+if not macroScreenshot(1000, "Settings") then
+       return macroFail("Settings")
+end
+
+
+-- Advanced
+while not macroIsMenuItem("Advanced") do
+       macroEvent(100, EVENT_KEY_PRESS, KEY_DOWN)
+end
+macroEvent(100, EVENT_KEY_PRESS, KEY_GO)
+
+if not macroScreenshot(1000, "Advanced") then
+       return macroFail("Advanced")
+end
+
+
+-- Software Update
+while not macroIsMenuItem("Software Update") do
+       macroEvent(100, EVENT_KEY_PRESS, KEY_DOWN)
+end
+macroEvent(500, EVENT_KEY_PRESS, KEY_GO)
+
+if not macroScreenshot(1000, "SoftwareUpdate") then
+       return macroFail("SoftwareUpdate")
+end
+
+
+-- Begin update
+while not macroIsMenuItem("Begin update") do
+       return macroEvent(100, EVENT_KEY_PRESS, KEY_DOWN)
+end
+macroEvent(1000, EVENT_KEY_PRESS, KEY_GO)
+
+if not macroScreenshot(1000, "CopyingUpdate") then
+       return macroFail("CopyingUpdate")
+end
+
+macroPass("SoftwareUpgrade")

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to