Notification Test (Compact 7)
3/12/2014
The Notification Test assesses the depth-based and range-based functionality of the Notification API and tests the real-time clock on the device. The tests fall into the following categories:
* Basic testing on notification.
* User scenario testing by using a timer-based notification.
* Scenario testing by using an event based notification.
Test Prerequisites
Your device must meet the following requirements before you run this test.
The Notification Test requires a real-time clock in the target (test) device.
The following table shows the software requirements for the Notification test.
Requirements | Description |
---|---|
Tux.exe |
Required to execute the test. |
Kato.exe |
Required for logging test data |
cetkNotify.dll |
Library that contains the Notification test. |
nfyapp.exe |
Helper application. |
The image tested should have the notification component, demonstrated by the presence of SYSGEN_NOTIFY.
Subtests
The table below lists the subtests included in this test.
SubTest ID | Description |
---|---|
10 |
TestCeRunAppAtEvent Breadth Tests for CeRunAppAtEvent. |
11 |
TestCeRunAppAtTime Breadth Tests for CeRunAppAtTime. |
12 |
TestCeSetUserNotification Breadth Tests for CeSetUserNotification. |
13 |
TestCeGetUserNotificationPreferences Breadth Tests for CeGetUserNotificationPreferences. |
14 |
TestCeSetUserNotificationEx Breadth Tests for CeSetUserNotificationEx. |
15 |
TestCeHandleAppNotifications Breadth Tests for CeHandleAppNotifications. |
16 |
TestCeGetUserNotification Breadth Tests for CeGetUserNotificationHandles. |
17 |
TestNotificationsTime Functional Tests for Notification. The test sets a timed notification and checks that the application starts at the correct time. The expectation is that the application starts within 10 seconds. |
18 |
TestNotificationsEvent Functional Tests for Event based Notification. The test sets an event-based notification and simulates events. The test then verifies that the application started as expected. |
Setting Up the Test
This test has no additional requirement, beyond the standard test environment setup.
Running the Test
To run the Notification test, execute the following command line:
"tux -o -d cetkNotify.dll"
There are no other command line parameters for this test.
Verifying the Test
When the test completes running, verify that "PASS" appears in the test log for all sub-tests.
Troubleshooting the Test
The device under test must have an operational real-time clock for this test to run.
Ensure that the image has been built with SYSGEN_NOTIFY=1 set; otherwise, the notification functionality may not work as expected by the test.
For additional platform specific issues, consult the CTK articles on the TechNet wiki.