Author: titmuss
Date: Wed Apr 23 09:36:57 2008
New Revision: 2325
URL: http://svn.slimdevices.com?rev=2325&root=Jive&view=rev
Log:
Bug: N/A
Description:
Macros for testing, these are not the actual smoke test.
Added:
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayer.bmp
(with props)
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayerMacro.lua
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayer_fail.bmp
(with props)
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Macros.lua
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlaying.bmp
(with props)
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlayingMacro.lua
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlaying_fail.bmp
(with props)
Added: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayer.bmp
URL:
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayer.bmp?rev=2325&root=Jive&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayer.bmp
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayerMacro.lua
URL:
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayerMacro.lua?rev=2325&root=Jive&view=auto
==============================================================================
--- 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayerMacro.lua
(added)
+++ 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayerMacro.lua
Wed Apr 23 09:36:57 2008
@@ -1,0 +1,24 @@
+
+-- go home
+macroHome()
+
+for i=1,2 do
+ -- key down until Choose Player
+ while not macroIsMenuItem("Choose Player") do
+ macroEvent(100, EVENT_KEY_PRESS, KEY_DOWN)
+ end
+
+ -- key go into Choose Player
+ macroEvent(100, EVENT_KEY_PRESS, KEY_GO)
+
+ -- capture screenshot
+ macroScreenshot(10000, "ChoosePlayer")
+
+ -- key back from Choose Player
+ macroEvent(100, EVENT_KEY_PRESS, KEY_BACK)
+
+ -- key down
+ macroEvent(100, EVENT_KEY_PRESS, KEY_DOWN)
+end
+
+macroPass("Finished")
Added:
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayer_fail.bmp
URL:
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayer_fail.bmp?rev=2325&root=Jive&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/ChoosePlayer_fail.bmp
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: 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=2325&root=Jive&view=auto
==============================================================================
--- 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Macros.lua (added)
+++ 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/Macros.lua Wed Apr 23
09:36:57 2008
@@ -1,0 +1,18 @@
+return {
+ auto=false,
+ autostart={ "nowplaying", "chooseplayer" },
+ macros={
+ chooseplayer={
+ desc="Choose Player Macro",
+ file="ChoosePlayerMacro.lua",
+ name="Choose Player",
+ passed="Fri Apr 11 19:04:37 2008"
+ },
+ nowplaying={
+ desc="Now Playing Macro",
+ failed="Fri Apr 11 19:04:07 2008",
+ file="NowPlayingMacro.lua",
+ name="Now Playing"
+ }
+ }
+}
Added: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlaying.bmp
URL:
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlaying.bmp?rev=2325&root=Jive&view=auto
==============================================================================
Binary file - no diff available.
Propchange: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlaying.bmp
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlayingMacro.lua
URL:
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlayingMacro.lua?rev=2325&root=Jive&view=auto
==============================================================================
--- 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlayingMacro.lua
(added)
+++ 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlayingMacro.lua
Wed Apr 23 09:36:57 2008
@@ -1,0 +1,18 @@
+
+-- go home
+macroHome()
+
+-- key down until Now Playing
+while not macroIsMenuItem("Now Playing") do
+ macroEvent(100, EVENT_KEY_PRESS, KEY_DOWN)
+end
+
+-- key go into Now Playing
+macroEvent(100, EVENT_KEY_PRESS, KEY_GO)
+
+-- capture screenshot
+if not macroScreenshot(100, "NowPlaying") then
+ return macroFail("Screenshot")
+end
+
+macroPass("Finished")
Added: 7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlaying_fail.bmp
URL:
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlaying_fail.bmp?rev=2325&root=Jive&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
7.1/trunk/squeezeplay/src/squeezeplay_jive/test/smoke/NowPlaying_fail.bmp
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins