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_SERVER te_RegBlockTestSuite
|
|
18 |
|
|
19 |
START_TESTCASE DT-TEF-TestBlock-0114
|
|
20 |
//! @SYMTestCaseID DT-TEF-TestBlock-0114
|
|
21 |
//! @SYMCreationDate 10-11-2008
|
|
22 |
//! @SYMAuthor extshuohuang
|
|
23 |
//! @SYMTestCaseDesc this test case form DPDEF129807. when panic string to long the testexecute can't handle the long panic sting.
|
|
24 |
//! So adding this test case to test.
|
|
25 |
//! @SYMTestExpectedResults the panic happened but the panic string was cut-off to 16 bytes by User::Panic().
|
|
26 |
//! in the script, expecting a long panic string. so this 2 string never match.
|
|
27 |
//! so the test case should fail.
|
|
28 |
//! @SYMTestActions 1. read panci string for ini.
|
|
29 |
//! 2. do panic.
|
|
30 |
PRINT this test case should fail. Keep the panic string length to 16 charactersor less. Please Refer to User::Panic() in SDL for more information.
|
|
31 |
START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini
|
|
32 |
CREATE_OBJECT te_RegBlockTestWrapper TestCase0114_obj
|
|
33 |
COMMAND TestCase0114_obj PanickingFunction TestCase0114_obj_Panic
|
|
34 |
END_TEST_BLOCK !PanicString="DoMediaClockStoppedState: Mutex Unheld" !PanicCode=22
|
|
35 |
START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini
|
|
36 |
CREATE_OBJECT te_RegBlockTestWrapper TestCase037_obj
|
|
37 |
COMMAND TestCase0114_obj PanickingFunction TestCase0114_obj_Panic
|
|
38 |
END_TEST_BLOCK !PanicCode=22 !PanicString="DoMediaClockStoppedState: Mutex Unheld"
|
|
39 |
END_TESTCASE DT-TEF-TestBlock-0114 |