1 // |
|
2 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the License "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 // Sif Notifier test cases. |
|
17 |
|
18 LOAD_SUITE tUsifSuite |
|
19 |
|
20 //! @SYMTestCaseID API-SEC-USIF-NOTIFIER-0001 |
|
21 //! @SYMTestCaseDesc Start only one subscriber. |
|
22 //! |
|
23 //! @SYMTestStatus 3. Released |
|
24 |
|
25 START_TESTCASE API-SEC-USIF-NOTIFIER-0001 |
|
26 RUN_TEST_STEP 100 tUsifSuite SifSubscribeStep z:\tusif\tsif\tnotifier.ini Key1 |
|
27 END_TESTCASE API-SEC-USIF-NOTIFIER-0001 |
|
28 |
|
29 |
|
30 |
|
31 //! @SYMTestCaseID API-SEC-USIF-NOTIFIER-0002 |
|
32 //! @SYMTestCaseDesc Start one subscriber, publisher |
|
33 //! |
|
34 //! @SYMTestStatus 3. Released |
|
35 |
|
36 START_TESTCASE API-SEC-USIF-NOTIFIER-0002 |
|
37 CONCURRENT |
|
38 RUN_TEST_STEP 100 tUsifSuite SifSubscribeStep z:\tusif\tsif\tnotifier.ini Key3 |
|
39 RUN_TEST_STEP 100 tUsifSuite SifPublishStep z:\tusif\tsif\tnotifier.ini publish_one |
|
40 END_TESTCASE API-SEC-USIF-NOTIFIER-0002 |
|
41 |
|
42 |
|
43 |
|
44 //! @SYMTestCaseID API-SEC-USIF-NOTIFIER-0003 |
|
45 //! @SYMTestCaseDesc Start one subscriber subscribed to start/end notification and one publisher |
|
46 //! |
|
47 //! @SYMTestStatus 3. Released |
|
48 |
|
49 START_TESTCASE API-SEC-USIF-NOTIFIER-0003 |
|
50 CONCURRENT |
|
51 RUN_TEST_STEP 100 tUsifSuite SifSubscribeStep z:\tusif\tsif\tnotifier.ini Key4 |
|
52 RUN_TEST_STEP 100 tUsifSuite SifPublishStep z:\tusif\tsif\tnotifier.ini publish_one |
|
53 END_TESTCASE API-SEC-USIF-NOTIFIER-0003 |
|
54 |
|
55 |
|
56 |
|
57 //! @SYMTestCaseID API-SEC-USIF-NOTIFIER-0004 |
|
58 //! @SYMTestCaseDesc One publisher, 2 subscribers .. 1st subscriber subscribes for progress, second does not |
|
59 //! |
|
60 //! @SYMTestStatus 3. Released |
|
61 |
|
62 START_TESTCASE API-SEC-USIF-NOTIFIER-0004 |
|
63 CONCURRENT |
|
64 RUN_TEST_STEP 100 tUsifSuite SifSubscribeStep z:\tusif\tsif\tnotifier.ini Key5 |
|
65 RUN_TEST_STEP 100 tUsifSuite SifSubscribeStep z:\tusif\tsif\tnotifier.ini Key4 |
|
66 RUN_TEST_STEP 100 tUsifSuite SifPublishStep z:\tusif\tsif\tnotifier.ini publish_one |
|
67 END_TESTCASE API-SEC-USIF-NOTIFIER-0004 |
|
68 |
|
69 |
|
70 |
|
71 //! @SYMTestCaseID API-SEC-USIF-NOTIFIER-0005 |
|
72 //! @SYMTestCaseDesc One subscriber 2 publishers |
|
73 //! @SYMTestStatus 3. Released |
|
74 |
|
75 START_TESTCASE API-SEC-USIF-NOTIFIER-0005 |
|
76 CONCURRENT |
|
77 RUN_TEST_STEP 100 tUsifSuite SifSubscribeStep z:\tusif\tsif\tnotifier.ini Key6 |
|
78 RUN_TEST_STEP 100 tUsifSuite SifPublishStep z:\tusif\tsif\tnotifier.ini publish_twoconcurrentinstall |
|
79 END_TESTCASE API-SEC-USIF-NOTIFIER-0005 |
|
80 |
|
81 |
|
82 |
|
83 //! @SYMTestCaseID API-SEC-USIF-NOTIFIER-0006 |
|
84 //! @SYMTestCaseDesc One subscriber, 2 publishers ... the second publisher starts after the first finishes. |
|
85 //! @SYMTestStatus 3. Released |
|
86 |
|
87 START_TESTCASE API-SEC-USIF-NOTIFIER-0006 |
|
88 CONCURRENT |
|
89 RUN_TEST_STEP 100 tUsifSuite SifSubscribeStep z:\tusif\tsif\tnotifier.ini Key7 |
|
90 RUN_TEST_STEP 100 tUsifSuite SifPublishStep z:\tusif\tsif\tnotifier.ini publish_twoconsecutiveinstall |
|
91 END_TESTCASE API-SEC-USIF-NOTIFIER-0006 |
|
92 |
|
93 |
|
94 |
|
95 //! @SYMTestCaseID API-SEC-USIF-NOTIFIER-0007 |
|
96 //! @SYMTestCaseDesc 2 publishers, 2 subscribers |
|
97 //! @SYMTestStatus 3. Released |
|
98 |
|
99 START_TESTCASE API-SEC-USIF-NOTIFIER-0007 |
|
100 CONCURRENT |
|
101 RUN_TEST_STEP 100 tUsifSuite SifSubscribeStep z:\tusif\tsif\tnotifier.ini Key8 |
|
102 RUN_TEST_STEP 100 tUsifSuite SifSubscribeStep z:\tusif\tsif\tnotifier.ini Key9 |
|
103 RUN_TEST_STEP 100 tUsifSuite SifPublishStep z:\tusif\tsif\tnotifier.ini publish_twoconsecutiveinstall |
|
104 END_TESTCASE API-SEC-USIF-NOTIFIER-0007 |
|
105 |
|
106 |
|
107 //! @SYMTestCaseID API-SEC-USIF-NOTIFIER-0008 |
|
108 //! @SYMTestCaseDesc Start one subscriber, publisher with large start data. |
|
109 //! |
|
110 //! @SYMTestStatus 3. Released |
|
111 |
|
112 START_TESTCASE API-SEC-USIF-NOTIFIER-0008 |
|
113 CONCURRENT |
|
114 RUN_TEST_STEP 100 tUsifSuite SifSubscribeStep z:\tusif\tsif\tnotifier.ini Key3 |
|
115 RUN_TEST_STEP 100 tUsifSuite SifPublishStep z:\tusif\tsif\tnotifier.ini publish_one_large |
|
116 END_TESTCASE API-SEC-USIF-NOTIFIER-0008 |
|
117 |
|
118 |
|
119 |
|
120 //! @SYMTestCaseID API-SEC-USIF-NOTIFIER-0009 |
|
121 //! @SYMTestCaseDesc Start one subscriber, publisher. Print details |
|
122 //! |
|
123 //! @SYMTestStatus 3. Released |
|
124 |
|
125 START_TESTCASE API-SEC-USIF-NOTIFIER-0009 |
|
126 CONCURRENT |
|
127 RUN_TEST_STEP 100 tUsifSuite SifSubscribeStep z:\tusif\tsif\tnotifier.ini Key10 |
|
128 RUN_TEST_STEP 100 tUsifSuite SifPublishStep z:\tusif\tsif\tnotifier.ini publish_details |
|
129 END_TESTCASE API-SEC-USIF-NOTIFIER-0009 |
|
130 |
|