dbgsrv/coredumpserver/test/automatictests/tcds_app/scripts/te_self.script
changeset 0 c6b0df440bee
equal deleted inserted replaced
-1:000000000000 0:c6b0df440bee
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // @File								te_self.script
       
    15 //
       
    16 
       
    17 //! @SYMTestSuiteName               	DT-self-userside
       
    18 //! @SYMScriptTestEnvironment       	TEF
       
    19 
       
    20 PRINT Running te_coredumpserver.SELF
       
    21 
       
    22 LOAD_SERVER te_coredumpserverSuite
       
    23 
       
    24 
       
    25 
       
    26 START_TESTCASE                DT-self-userside-0001
       
    27 //! @SYMTestCaseID              DT-self-userside-0001
       
    28 //! @SYMTestCaseDesc            SELF plugins
       
    29 //! @SYMTestPriority            High
       
    30 //! @SYMTestActions             Test we can load/unload one and multiple plugins. Loaded plugins should be visible via CDS API.
       
    31 //! @SYMTestExpectedResults     Should Load and Unload as expected.
       
    32 //! @SYMTestType                CT
       
    33 //! @SYMCreationDate            26/11/2008
       
    34 //! @SYMAuthor                  stephenroberts
       
    35 //! @SYMTestStatus              2. Functional
       
    36 RUN_TEST_STEP 100 te_coredumpserverSuite SELFPluginStep
       
    37 END_TESTCASE DT-self-userside-0001
       
    38 
       
    39 
       
    40 START_TESTCASE                DT-self-userside-0002
       
    41 //! @SYMTestCaseID              DT-self-userside-0002
       
    42 //! @SYMTestCaseDesc            self with prefetch abort
       
    43 //! @SYMTestPriority            High
       
    44 //! @SYMTestActions             Crash the app using specified crash reason and check that the SELF file is generated and the process list afterwards is as expected.
       
    45 //! @SYMTestExpectedResults     SELF file generated and expected post proc suceeded.
       
    46 //! @SYMTestType                CT
       
    47 //! @SYMCreationDate            26/11/2008
       
    48 //! @SYMAuthor                  stephenroberts
       
    49 //! @SYMTestStatus              2. Functional
       
    50 RUN_TEST_STEP 100 te_coredumpserverSuite SELFUserSideStep  \testdata\configs\te_self.ini user_PrefetchAbort
       
    51 END_TESTCASE DT-self-userside-0002
       
    52 
       
    53 
       
    54 START_TESTCASE                DT-self-userside-0011
       
    55 //! @SYMTestCaseID              DT-self-userside-0011
       
    56 //! @SYMTestCaseDesc            self with data read
       
    57 //! @SYMTestPriority            High
       
    58 //! @SYMTestActions             Crash the app using specified crash reason and check that the SELF file is generated and the process list afterwards is as expected.
       
    59 //! @SYMTestExpectedResults     SELF file generated and expected post proc suceeded.
       
    60 //! @SYMTestType                CT
       
    61 //! @SYMCreationDate            26/11/2008
       
    62 //! @SYMAuthor                  stephenroberts
       
    63 //! @SYMTestStatus              2. Functional
       
    64 RUN_TEST_STEP 100 te_coredumpserverSuite SELFUserSideStep  \testdata\configs\te_self.ini user_DataRead
       
    65 END_TESTCASE DT-self-userside-0011
       
    66 
       
    67 
       
    68 START_TESTCASE                DT-self-userside-0003
       
    69 //! @SYMTestCaseID              DT-self-userside-0003
       
    70 //! @SYMTestCaseDesc            self with data write
       
    71 //! @SYMTestPriority            High
       
    72 //! @SYMTestActions             Crash the app using specified crash reason and check that the SELF file is generated and the process list afterwards is as expected.
       
    73 //! @SYMTestExpectedResults     SELF file generated and expected post proc suceeded.
       
    74 //! @SYMTestType                CT
       
    75 //! @SYMCreationDate            26/11/2008
       
    76 //! @SYMAuthor                  stephenroberts
       
    77 //! @SYMTestStatus              2. Functional
       
    78 RUN_TEST_STEP 100 te_coredumpserverSuite SELFUserSideStep  \testdata\configs\te_self.ini user_DataWrite
       
    79 END_TESTCASE DT-self-userside-0003
       
    80 
       
    81 
       
    82 START_TESTCASE                DT-self-userside-0004
       
    83 //! @SYMTestCaseID              DT-self-userside-0004
       
    84 //! @SYMTestCaseDesc            self with undefined instruction
       
    85 //! @SYMTestPriority            High
       
    86 //! @SYMTestActions             Crash the app using specified crash reason and check that the SELF file is generated and the process list afterwards is as expected.
       
    87 //! @SYMTestExpectedResults     SELF file generated and expected post proc suceeded.
       
    88 //! @SYMTestType                CT
       
    89 //! @SYMCreationDate            26/11/2008
       
    90 //! @SYMAuthor                  stephenroberts
       
    91 //! @SYMTestStatus              2. Functional
       
    92 RUN_TEST_STEP 100 te_coredumpserverSuite SELFUserSideStep  \testdata\configs\te_self.ini user_UndefInstr
       
    93 END_TESTCASE DT-self-userside-0004
       
    94 
       
    95 
       
    96 START_TESTCASE                DT-self-userside-0005
       
    97 //! @SYMTestCaseID              DT-self-userside-0005
       
    98 //! @SYMTestCaseDesc            self with user panic
       
    99 //! @SYMTestPriority            High
       
   100 //! @SYMTestActions             Crash the app using specified crash reason and check that the SELF file is generated and the process list afterwards is as expected.
       
   101 //! @SYMTestExpectedResults     SELF file generated and expected post proc suceeded.
       
   102 //! @SYMTestType                CT
       
   103 //! @SYMCreationDate            26/11/2008
       
   104 //! @SYMAuthor                  stephenroberts
       
   105 //! @SYMTestStatus              2. Functional
       
   106 RUN_TEST_STEP 100 te_coredumpserverSuite SELFUserSideStep  \testdata\configs\te_self.ini user_UserPanic
       
   107 END_TESTCASE DT-self-userside-0005
       
   108 
       
   109 
       
   110 START_TESTCASE                DT-self-userside-0006
       
   111 //! @SYMTestCaseID              DT-self-userside-0006
       
   112 //! @SYMTestCaseDesc            self with user exception
       
   113 //! @SYMTestPriority            High
       
   114 //! @SYMTestActions             Crash the app using specified crash reason and check that the SELF file is generated and the process list afterwards is as expected.
       
   115 //! @SYMTestExpectedResults     SELF file generated and expected post proc suceeded.
       
   116 //! @SYMTestType                CT
       
   117 //! @SYMCreationDate            26/11/2008
       
   118 //! @SYMAuthor                  stephenroberts
       
   119 //! @SYMTestStatus              2. Functional
       
   120 RUN_TEST_STEP 100 te_coredumpserverSuite SELFUserSideStep  \testdata\configs\te_self.ini user_UserException
       
   121 END_TESTCASE DT-self-userside-0006
       
   122 
       
   123 
       
   124 START_TESTCASE                DT-self-userside-0007
       
   125 //! @SYMTestCaseID              DT-self-userside-0007
       
   126 //! @SYMTestCaseDesc            self with stack overflow
       
   127 //! @SYMTestPriority            High
       
   128 //! @SYMTestActions             Crash the app using specified crash reason and check that the SELF file is generated and the process list afterwards is as expected.
       
   129 //! @SYMTestExpectedResults     SELF file generated and expected post proc suceeded.
       
   130 //! @SYMTestType                CT
       
   131 //! @SYMCreationDate            26/11/2008
       
   132 //! @SYMAuthor                  stephenroberts
       
   133 //! @SYMTestStatus              2. Functional
       
   134 RUN_TEST_STEP 100 te_coredumpserverSuite SELFUserSideStep  \testdata\configs\te_self.ini user_StackOverflow
       
   135 END_TESTCASE DT-self-userside-0007
       
   136 
       
   137 
       
   138 START_TESTCASE                DT-self-userside-0010
       
   139 //! @SYMTestCaseID              DT-self-userside-0010
       
   140 //! @SYMTestCaseDesc            self with user leave
       
   141 //! @SYMTestPriority            High
       
   142 //! @SYMTestActions             Crash the app using specified crash reason and check that the SELF file is generated and the process list afterwards is as expected.
       
   143 //! @SYMTestExpectedResults     SELF file generated and expected post proc suceeded.
       
   144 //! @SYMTestType                CT
       
   145 //! @SYMCreationDate            26/11/2008
       
   146 //! @SYMAuthor                  stephenroberts
       
   147 //! @SYMTestStatus              2. Functional
       
   148 RUN_TEST_STEP 100 te_coredumpserverSuite SELFUserSideStep  \testdata\configs\te_self.ini user_UserLeave
       
   149 END_TESTCASE DT-self-userside-0010
       
   150 
       
   151 
       
   152 START_TESTCASE                DT-self-userside-0008
       
   153 //! @SYMTestCaseID              DT-self-userside-0008
       
   154 //! @SYMTestCaseDesc            self with thread panic
       
   155 //! @SYMTestPriority            High
       
   156 //! @SYMTestActions             Crash the app using specified crash reason and check that the SELF file is generated and the process list afterwards is as expected.
       
   157 //! @SYMTestExpectedResults     SELF file generated and expected post proc suceeded.
       
   158 //! @SYMTestType                CT
       
   159 //! @SYMCreationDate            26/11/2008
       
   160 //! @SYMAuthor                  stephenroberts
       
   161 //! @SYMTestStatus              2. Functional
       
   162 RUN_TEST_STEP 100 te_coredumpserverSuite SELFUserSideStep  \testdata\configs\te_self.ini user_ThreadPanic
       
   163 END_TESTCASE DT-self-userside-0008
       
   164 
       
   165 
       
   166 START_TESTCASE                DT-self-userside-0009
       
   167 //! @SYMTestCaseID              DT-self-userside-0009
       
   168 //! @SYMTestCaseDesc            self with division by zero
       
   169 //! @SYMTestPriority            High
       
   170 //! @SYMTestActions             Crash the app using specified crash reason and check that the SELF file is generated and the process list afterwards is as expected.
       
   171 //! @SYMTestExpectedResults     SELF file generated and expected post proc suceeded.
       
   172 //! @SYMTestType                CT
       
   173 //! @SYMCreationDate            26/11/2008
       
   174 //! @SYMAuthor                  stephenroberts
       
   175 //! @SYMTestStatus              2. Functional
       
   176 RUN_TEST_STEP 100 te_coredumpserverSuite SELFUserSideStep  \testdata\configs\te_self.ini user_DivByZero
       
   177 END_TESTCASE DT-self-userside-0009
       
   178 PRINT Completed te_coredumpserver.SELF
       
   179 
       
   180