summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Isdale <keith.isdale@nokia.com>2010-11-26 14:24:25 +1000
committerKeith Isdale <keith.isdale@nokia.com>2010-11-26 14:24:25 +1000
commit74bcd63cb230501c631aebb08bf63c50b9069a83 (patch)
tree4a6ca1405c0ace2eca6b7f0100214c2356e74b74
parent9f74566068b998e7fa6ff75077f980a3a11bc8d8 (diff)
Add runTestApplication(), correct prompt(..) errors in import_ical()
* The new test function runTestApplication verifies that the application under tests runs and closes sucessfully. * correct typing errors in "Start time", "Subject" of some test data
-rw-r--r--QtMobility/sys_versitorganizer/sys_versitorganizer.qtt23
1 files changed, 21 insertions, 2 deletions
diff --git a/QtMobility/sys_versitorganizer/sys_versitorganizer.qtt b/QtMobility/sys_versitorganizer/sys_versitorganizer.qtt
index dc5424a..392afbc 100644
--- a/QtMobility/sys_versitorganizer/sys_versitorganizer.qtt
+++ b/QtMobility/sys_versitorganizer/sys_versitorganizer.qtt
@@ -41,9 +41,28 @@
//TESTED_COMPONENT=src/versitorganizer
+function startTestApp()
+{
+ prompt('Start application \'calendardemo\'
+ Verify test application started and closed without issue');
+}
+
+
// Note for test cases relating to functionality such as add event see test relating to src/organizer
testcase = {
+ // prove that the test application starts before anything else is tested.
+ runTestApplication: function()
+ {
+ startTestApp();
+ if (!runAsManualTest()){
+ // ensure we have a widget to work with, dump its details
+ // TODO when run this test case 'automaticly' then enable this following code
+ //print('Focus widget is' + focusWidget());
+ }
+ },
+
+
import_ical: function()
{
prompt(twiki('---++ Import iCalendar items
@@ -63,7 +82,7 @@ testcase = {
| Subject | \'Submit Income Taxes\' |
| Time | April 15, 1998 |
1. if the platform(backend) supports journal entries:
- | Subject | \'Project Report\' |
+ | Subject | \'Project xyz Review Meeting Minutes\' |
| Time | March 24, 1997 |
* *Hint:* Possibly using the target system\'s Todo, Calendar and Journal applications will be easiest to verify above details
1. On app menu, select \'Delete all items\'
@@ -91,7 +110,7 @@ testcase = {
1. Enter event details:
| Subject | \'Event 2\' |
| Start time | tomorrow\'s date, 02:00 PM |
- | End time | tomorrow\'s date, 01:00 PM |
+ | End time | tomorrow\'s date, 03:00 PM |
| Alarm | \'15 minutes before\' |
| Repeat | \'None\' |
1. Click \'Save\' button