|
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 // |
|
15 |
|
16 //! @File te_self_trace.script |
|
17 //! @SYMTestSuiteName DT-self-userside |
|
18 //! @SYMScriptTestEnvironment TEF |
|
19 |
|
20 PRINT Running te_coredumpserver.SELFTrace |
|
21 |
|
22 LOAD_SERVER te_coredumpserverSuite |
|
23 |
|
24 |
|
25 |
|
26 START_TESTCASE DT-self-userside-0012 |
|
27 //! @SYMTestCaseID DT-self-userside-0012 |
|
28 //! @SYMTestCaseDesc Test SELF Configuration to hold trace data with a user side crash. |
|
29 //! @SYMTestPriority Critical |
|
30 //! @SYMTestActions Configure the CDS to generate a core dump for our test crash application. Load the SELF formatter plugin and an arbitrary writer. Configure the SELF formatter to hold trace data. Generate a user side crash using our test crash application. Observe trace data in generated crash dump. |
|
31 //! @SYMTestExpectedResults Pass |
|
32 //! @SYMTestType CT |
|
33 //! @SYMCreationDate 26/11/2008 |
|
34 //! @SYMAuthor stephenroberts |
|
35 //! @SYMTestStatus 2. Functional |
|
36 //! @SYMPREQ PREQ1700 |
|
37 RUN_TEST_STEP 100 te_coredumpserverSuite SELFUserSideTrace \testdata\configs\te_self_trace.ini user_Trace |
|
38 END_TESTCASE DT-self-userside-0012 |
|
39 |
|
40 |
|
41 START_TESTCASE DT-self-userside-0013 |
|
42 //! @SYMTestCaseID DT-self-userside-0013 |
|
43 //! @SYMTestCaseDesc Test SELF Configuration to not hold trace data with a user side crash. |
|
44 //! @SYMTestPriority Critical |
|
45 //! @SYMTestActions Configure the CDS to generate a core dump for our test crash application. Load the SELF formatter plugin and an arbitrary writer. Configure the SELF formatter to not hold trace data. Generate a user side crash with trace using our test crash application. Ensure there is no trace data in generated crash dump. |
|
46 //! @SYMTestExpectedResults Pass |
|
47 //! @SYMTestType CT |
|
48 //! @SYMCreationDate 26/11/2008 |
|
49 //! @SYMAuthor stephenroberts |
|
50 //! @SYMTestStatus 2. Functional |
|
51 //! @SYMPREQ PREQ1700 |
|
52 RUN_TEST_STEP 100 te_coredumpserverSuite SELFUserSideTrace \testdata\configs\te_self_trace.ini user_WithoutTrace |
|
53 END_TESTCASE DT-self-userside-0013 |
|
54 PRINT Completed te_coredumpserver.SELFTrace |
|
55 |
|
56 |