testexecfw/tef/test/regressiontest/teststep/testdata/scripts/dt-tef-teststep-0003.script
author Johnson Ma <johnson.ma@nokia.com>
Mon, 08 Mar 2010 15:03:44 +0800
changeset 0 3e07fef1e154
permissions -rw-r--r--
Initial EPL Contribution
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     1
//
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     2
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     3
// All rights reserved.
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     4
// This component and the accompanying materials are made available
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     5
// under the terms of "Eclipse Public License v1.0"
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     6
// which accompanies this distribution, and is available
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     7
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     8
//
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     9
// Initial Contributors:
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    10
// Nokia Corporation - initial contribution.
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    11
//
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    12
// Contributors:
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    13
//
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    14
// Description: 
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    15
//
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    16
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    17
LOAD_SUITE	te_RegStepTestSuite
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    18
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    19
START_TESTCASE DT-TEF-TestStep-0003
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    20
//! @SYMTestCaseID          DT-TEF-TestStep-0003
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    21
//! @SYMCreationDate        26-06-2008
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    22
//! @SYMAuthor              DavidZhang
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    23
//! @SYMTestType            CT
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    24
//! @SYMTestPriority        Medium
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    25
//! @SYMTestCaseDesc        Test function "SetTestStepResult" and "SetTestStepError" of class "CTestStep".
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    26
//! @SYMTestExpectedResults Test case is passed and the error value is as expected.
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    27
//! @SYMTestActions         Sets the test step error and check if the error set by test step is as expected.
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    28
//! @SYMPREQ                PREQ2261
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    29
//! @SYMREQ                 REQ10438
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    30
//!                         REQ10440
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    31
//! @SYMTestStatus          1. Under Development
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    32
	RUN_TEST_STEP !Error=-1 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error1
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    33
	RUN_TEST_STEP !Error=-2 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error2
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    34
	RUN_TEST_STEP !Error=-3 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error3
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    35
	RUN_TEST_STEP !Error=-4 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error4
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    36
	RUN_TEST_STEP !Error=-5 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error5
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    37
	RUN_TEST_STEP !Error=-6 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error6
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    38
	RUN_TEST_STEP !Error=-7 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error7
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    39
	RUN_TEST_STEP !Error=-8 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error8
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    40
	RUN_TEST_STEP !Error=-9 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error9
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    41
	RUN_TEST_STEP !Error=-10 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error10
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    42
	RUN_TEST_STEP !Error=-11 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error11
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    43
	RUN_TEST_STEP !Error=-12 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error12
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    44
	RUN_TEST_STEP !Error=-13 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error13
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    45
	RUN_TEST_STEP !Error=-14 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error14
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    46
	RUN_TEST_STEP !Error=-15 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error15
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    47
	RUN_TEST_STEP !Error=-16 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error16
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    48
	RUN_TEST_STEP !Error=-17 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error17
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    49
	RUN_TEST_STEP !Error=-18 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error18
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    50
	RUN_TEST_STEP !Error=-19 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error19
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    51
	RUN_TEST_STEP !Error=-20 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error20
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    52
	RUN_TEST_STEP !Error=-21 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error21
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    53
	RUN_TEST_STEP !Error=-22 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error22
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    54
	RUN_TEST_STEP !Error=-23 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error23
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    55
	RUN_TEST_STEP !Error=-24 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error24
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    56
	RUN_TEST_STEP !Error=-25 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error25
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    57
	RUN_TEST_STEP !Error=-26 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error26
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    58
	RUN_TEST_STEP !Error=-27 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error27
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    59
	RUN_TEST_STEP !Error=-28 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error28
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    60
	RUN_TEST_STEP !Error=-29 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error29
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    61
	RUN_TEST_STEP !Error=-30 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error30
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    62
	RUN_TEST_STEP !Error=-31 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error31
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    63
	RUN_TEST_STEP !Error=-32 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error32
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    64
	RUN_TEST_STEP !Error=-33 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error33
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    65
	RUN_TEST_STEP !Error=-34 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error34
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    66
	RUN_TEST_STEP !Error=-35 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error35
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    67
	RUN_TEST_STEP !Error=-36 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error36
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    68
	RUN_TEST_STEP !Error=-37 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error37
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    69
	RUN_TEST_STEP !Error=-38 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error38
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    70
	RUN_TEST_STEP !Error=-39 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error39
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    71
	RUN_TEST_STEP !Error=-40 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error40
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    72
	RUN_TEST_STEP !Error=-41 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error41
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    73
	RUN_TEST_STEP !Error=-42 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error42
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    74
	RUN_TEST_STEP !Error=-43 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error43
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    75
	RUN_TEST_STEP !Error=-44 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error44
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    76
	RUN_TEST_STEP !Error=-45 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error45
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    77
	RUN_TEST_STEP !Error=-46 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error46
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    78
	RUN_TEST_STEP !Error=-47 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error47
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    79
	RUN_TEST_STEP !Error=-48 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini Error48
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    80
	
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    81
	RUN_TEST_STEP !Result=Pass 100 te_RegStepTestSuite SetErrorStep ${SYSDRIVE}\testdata\configs\Error_codes.ini ResultPass
3e07fef1e154 Initial EPL Contribution
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    82
END_TESTCASE DT-TEF-TestStep-0003