phonebookengines/contactsmodel/tsrc/Integration/PerfFuncSuite/scripts/NotificationStep.script
changeset 0 e686773b3f54
child 24 0ba2181d7c28
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     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-P81158
       
    20 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81158
       
    21 //! @SYMTestType CIT
       
    22 //! @SYMTestPriority Medium
       
    23 //! @SYMPREQ 811
       
    24 //! @SYMTestCaseDesc Single client unknown change notification test
       
    25 //! @SYMTestActions Performs  X number of updates where X equals the event queue +1
       
    26 //! Start active scheduler
       
    27 //! The event handler check received event(s)
       
    28 //! Repeat test where updates occur within transaction
       
    29 //! Repeat test where transaction is reverted
       
    30 //! @SYMTestExpectedResults event handler should receive UnkownChanges event only if not reverted,
       
    31 //! otherwise should not receive any notification
       
    32 RUN_TEST_STEP 2000 Te_PerformanceFunctionalitySuite NotificationStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini UnkownChange
       
    33 RUN_TEST_STEP 2000 Te_PerformanceFunctionalitySuite NotificationStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini TransactionUnkown
       
    34 RUN_TEST_STEP 2000 Te_PerformanceFunctionalitySuite NotificationStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini RevertTransactionUnkown
       
    35 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81158
       
    36 
       
    37 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81159
       
    38 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81159
       
    39 //! @SYMTestType CIT
       
    40 //! @SYMTestPriority Medium
       
    41 //! @SYMPREQ 811
       
    42 //! @SYMTestCaseDesc Single client unknown change Transaction Plus notification test
       
    43 //! @SYMTestActions Perfrom 10 updates
       
    44 //! Start transaction
       
    45 //! Performs  X number of updates where X equals the event queue +1
       
    46 //! Commit transaction
       
    47 //! The event handler check received event(s)
       
    48 //! Repeat test where transaction is reverted
       
    49 //! @SYMTestExpectedResults event handler should receive UnkownChanges event only if not reverted,
       
    50 //! otherwise should receive 10 update notifications
       
    51 RUN_TEST_STEP 2000 Te_PerformanceFunctionalitySuite NotificationStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini TransactionUnkownPlus
       
    52 RUN_TEST_STEP 2000 Te_PerformanceFunctionalitySuite NotificationStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini RevertTransactionUnkownPlus
       
    53 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81159