idlehomescreen/widgetmanager/tsrc/wmunittest/conf/ui_wmunittest.cfg
branchRCL_3
changeset 15 ff572dfe6d86
parent 2 08c6ee43b396
child 38 79311d856354
--- a/idlehomescreen/widgetmanager/tsrc/wmunittest/conf/ui_wmunittest.cfg	Fri Feb 19 22:42:37 2010 +0200
+++ b/idlehomescreen/widgetmanager/tsrc/wmunittest/conf/ui_wmunittest.cfg	Fri Mar 12 15:41:49 2010 +0200
@@ -17,6 +17,8 @@
 LOGO_PATH 102
 CAN_BE_ADDED 103
 CAN_BE_REMOVED 104
+KPUBLISHERID 105
+KTYPE 106
 
 EUnrecognized 0
 EUidIcon 1
@@ -1060,6 +1062,49 @@
 //-------------------------------------------------------------------------------
 //
 
+// Tests Uninstall
+[Test]
+title Uninstall
+create wmunittest test
+test PluginCreate
+test InstallWrtWidget "c:\testframework\wmunittest\wmlogo\test.wgz"
+test SetMass 1
+test ChangeContent 0 KPUBLISHERID "com.nokia.widget.foreca.touchweather"
+test PluginActivate
+pause 500
+test UninstallUid
+test Uninstall
+test UninstallUid
+test WaitUninstallToFinnish
+test CleanUninstall
+pause 3000
+test PluginDeactivate
+pause 500
+test PluginDelete
+test WasUnistalled "com.nokia.widget.foreca.touchweather"
+delete test
+[Endtest]
+
+// Tests Uninstall
+[Test]
+title Cancel Uninstall
+create wmunittest test
+test PluginCreate
+test InstallWrtWidget "c:\testframework\wmunittest\wmlogo\test.wgz"
+test SetMass 1
+test ChangeContent 0 KPUBLISHERID "com.nokia.widget.foreca.touchweather"
+test PluginActivate
+pause 500
+test Uninstall
+pause 500
+test CancelUninstall
+pause 500
+test PluginDeactivate
+pause 500
+test PluginDelete
+delete test
+[Endtest]
+
 // Tests error note
 [Test]
 title Other error note