0
|
1 |
//
|
|
2 |
// Copyright (c) 2005-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 TEF_LoggerTestStep
|
|
18 |
START_TESTCASE DT-TEF-Logger-0026
|
|
19 |
//! @SYMTestCaseID DT-TEF-Logger-0026
|
|
20 |
//! @SYMCreationDate 09-07-2008
|
|
21 |
//! @SYMAuthor extShuoHuang
|
|
22 |
//! @SYMTestCaseDesc This test logger compare panic related information. This 7 steps are all about test result compare so group them all together.
|
|
23 |
//!
|
|
24 |
//! TEF will compare the test result with expected result. The test result comes form the run time result and the expected result comes form scripts.
|
|
25 |
//! When test case/step finished, TEF will compare test result and expected result, at last print out test case/step pass or fail information.
|
|
26 |
//! The compare function is one of the most important parts. And this codes are writing under TEF logger component.
|
|
27 |
//! So this result compare test case are located here.
|
|
28 |
//!
|
|
29 |
//! XML log test
|
|
30 |
//! @SYMTestExpectedResults COMMAND is paniced so the command result is INCONCLUSIVE.
|
|
31 |
//! This case should pass.
|
|
32 |
//!
|
|
33 |
//! when the parameter !PanicString= is empty TEF will take whatever expeted panic string as actrual string. this kinds of usage NOT recommand.
|
|
34 |
//! the rest steps the panic codes and panic string are all exactly same. so the test result will pass.
|
|
35 |
RUN_TEST_STEP !PanicCode=110 !PanicString= 1000 TEF_LoggerTestStep TEFPanicBugStep
|
|
36 |
RUN_TEST_STEP !PanicCode=110 1000 TEF_LoggerTestStep TEFPanicBugStep
|
|
37 |
RUN_TEST_STEP !PanicString= 1000 TEF_LoggerTestStep TEFPanicBugStep
|
|
38 |
RUN_TEST_STEP !PanicCode=110 !PanicString=SomeThing 1000 TEF_LoggerTestStep TEFPanicSomeThingStep
|
|
39 |
RUN_TEST_STEP 1000 TEF_LoggerTestStep TEFPassStep
|
|
40 |
RUN_TEST_STEP !PanicCode=110 1000 TEF_LoggerTestStep TEFPanicSomeThingStep
|
|
41 |
RUN_TEST_STEP !PanicCode=110 1000 TEF_LoggerTestStep TEFPanicEmptyStep
|
|
42 |
RUN_TEST_STEP !PanicCode=110 !PanicString= 1000 TEF_LoggerTestStep TEFPanicEmptyStep
|
|
43 |
END_TESTCASE DT-TEF-Logger-0026
|