|
1 // |
|
2 // Copyright (c) 2009 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 "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 |
|
17 LOAD_SUITE Te_PerformanceFunctionalitySuite |
|
18 |
|
19 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81175 |
|
20 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81175 |
|
21 //! @SYMTestType CIT |
|
22 //! @SYMTestPriority High |
|
23 //! @SYMFssID <App-Engines>/<CntModel>/ DC.3 |
|
24 //! @SYMTestCaseDesc Opening state recovery test |
|
25 //! @SYMTestActions |
|
26 //! Transition to opening state by starting active recovery |
|
27 //! Perform supported operations within state |
|
28 //! Cancel/complete recovery to transition out of opening state |
|
29 //! @SYMTestExpectedResults |
|
30 //! Check that no errors were generated, It is possible to perform |
|
31 //! supported operations while in opening state |
|
32 RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite StateMachineStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini OpeningRecovery |
|
33 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81175 |
|
34 |
|
35 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81176 |
|
36 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81176 |
|
37 //! @SYMTestType CIT |
|
38 //! @SYMTestPriority High |
|
39 //! @SYMFssID <App-Engines>/<CntModel>/ CDF.1 |
|
40 //! @SYMTestCaseDesc Opening state asynchronous open test |
|
41 //! @SYMTestActions |
|
42 //! Transition to opening state by starting asynchronous open |
|
43 //! Perform un/supported operations within state |
|
44 //! Cancel/complete asynchronous open to transition out of opening state |
|
45 //! Close open sessions and wait for server to exit |
|
46 //! @SYMTestExpectedResults |
|
47 //! Check that expected errors were generated, Expected operations are un/supported by this state |
|
48 RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite StateMachineStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini OpeningAsync |
|
49 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81176 |
|
50 |
|
51 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81177 |
|
52 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81177 |
|
53 //! @SYMTestType CIT |
|
54 //! @SYMTestPriority High |
|
55 //! @SYMFssID <App-Engines>/<CntModel>/ EOC.1 |
|
56 //! @SYMTestCaseDesc Writable state test |
|
57 //! @SYMTestActions |
|
58 //! Open database to transition to writeable state |
|
59 //! Perform un/supported operations within state |
|
60 //! @SYMTestExpectedResults |
|
61 //! Check that expected errors were generated, Expected operations are un/supported by this state |
|
62 RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite StateMachineStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini Writable |
|
63 RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite StateMachineStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini WritableSpeed |
|
64 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81177 |
|
65 |
|
66 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81178 |
|
67 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81178 |
|
68 //! @SYMTestType CIT |
|
69 //! @SYMTestPriority High |
|
70 //! @SYMFssID <App-Engines>/<CntModel>/ DC.2, <App-Engines>/<CntModel>/ DC.3 |
|
71 //! @SYMTestCaseDesc Default state test |
|
72 //! @SYMTestActions |
|
73 //! Perform operations that are not supported by current state, so that default state is used |
|
74 //! all operations should be unsuccessful |
|
75 //! @SYMTestExpectedResults |
|
76 //! Check that expected errors were generated, Expected operations are unsupported by this state |
|
77 RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite StateMachineStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini DefaultRecovery |
|
78 RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite StateMachineStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini DefaultCompress |
|
79 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81178 |
|
80 |
|
81 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81179 |
|
82 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81179 |
|
83 //! @SYMTestType CIT |
|
84 //! @SYMTestPriority High |
|
85 //! @SYMFssID <App-Engines>/<CntModel>/ DC.2, <App-Engines>/<CntModel>/ DC.3 |
|
86 //! @SYMTestCaseDesc Asynchronous integrity test |
|
87 //! @SYMTestActions |
|
88 //! Start multiple active compress/recovers |
|
89 //! Complete active compress/recover |
|
90 //! |
|
91 //! Start active compress |
|
92 //! Start active recover |
|
93 //! Cancel active recover |
|
94 //! Complete active compress |
|
95 //! |
|
96 //! Start active recover |
|
97 //! Start active compress |
|
98 //! Cancel active compress |
|
99 //! Complete active recover |
|
100 //! @SYMTestExpectedResults |
|
101 //! Check that multiple active recover/ compress can be created, |
|
102 //! creating multiple active compress recover objects does not generate any errors |
|
103 //! Nesting an active recover/compress operation within an active compress/recover operation, |
|
104 //! should generate an error for the nested operation, also it should be possible to complete |
|
105 //! the external recover/compress operation successfully, It shouldn't be possible to nest |
|
106 //! compress/recover operations within recover/compress states, also the integrity of |
|
107 //! an active operation should not be compromised by the nested call. |
|
108 RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite StateMachineStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini AsyncInteg |
|
109 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81179 |
|
110 |
|
111 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81180 |
|
112 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81180 |
|
113 //! @SYMTestType CIT |
|
114 //! @SYMTestPriority High |
|
115 //! @SYMFssID <App-Engines>/<CntModel>/ DC.3 |
|
116 //! @SYMTestCaseDesc Closed tables state test |
|
117 //! @SYMTestActions |
|
118 //! Close tables to transition to closed tables state |
|
119 //! Perform un/supported operations within state |
|
120 //! @SYMTestExpectedResults |
|
121 //! Check that expected errors were generated, Expected operations are un/supported by this state |
|
122 RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite StateMachineStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini TablesClosed |
|
123 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81180 |