sl@0
|
1 |
//
|
sl@0
|
2 |
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
3 |
// All rights reserved.
|
sl@0
|
4 |
// This component and the accompanying materials are made available
|
sl@0
|
5 |
// under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
6 |
// which accompanies this distribution, and is available
|
sl@0
|
7 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
8 |
//
|
sl@0
|
9 |
// Initial Contributors:
|
sl@0
|
10 |
// Nokia Corporation - initial contribution.
|
sl@0
|
11 |
//
|
sl@0
|
12 |
// Contributors:
|
sl@0
|
13 |
//
|
sl@0
|
14 |
// Description:
|
sl@0
|
15 |
//
|
sl@0
|
16 |
|
sl@0
|
17 |
PRINT Run all te_ruleselection Suite Tests
|
sl@0
|
18 |
|
sl@0
|
19 |
//
|
sl@0
|
20 |
LOAD_SUITE Te_CryptoSpi
|
sl@0
|
21 |
//
|
sl@0
|
22 |
|
sl@0
|
23 |
RUN_PROGRAM cryptospisetup.exe 3
|
sl@0
|
24 |
|
sl@0
|
25 |
//! @SYMTestCaseID SEC-CRYPTOSPI-RULE-0001
|
sl@0
|
26 |
//! @SYMTestCaseDesc RuleSelection_Interface
|
sl@0
|
27 |
|
sl@0
|
28 |
START_TESTCASE SEC-CRYPTOSPI-RULE-0001
|
sl@0
|
29 |
|
sl@0
|
30 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_interface.ini SymmetricCipherInterface
|
sl@0
|
31 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_interface.ini AsymmetricCipherInterface
|
sl@0
|
32 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_interface.ini HashInterface
|
sl@0
|
33 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_interface.ini RandomInterface
|
sl@0
|
34 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_interface.ini SignerInterface
|
sl@0
|
35 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_interface.ini VerifierInterface
|
sl@0
|
36 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_interface.ini KeyPairGenInterface
|
sl@0
|
37 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_interface.ini KeyAgreementInterface
|
sl@0
|
38 |
|
sl@0
|
39 |
END_TESTCASE SEC-CRYPTOSPI-RULE-0001
|
sl@0
|
40 |
|
sl@0
|
41 |
//**************************************************************************************
|
sl@0
|
42 |
|
sl@0
|
43 |
//! @SYMTestCaseID SEC-CRYPTOSPI-RULE-0002
|
sl@0
|
44 |
//! @SYMTestCaseDesc RuleSelection_AllChars
|
sl@0
|
45 |
|
sl@0
|
46 |
START_TESTCASE SEC-CRYPTOSPI-RULE-0002
|
sl@0
|
47 |
|
sl@0
|
48 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_allchars.ini SymmetricCipherAllChars
|
sl@0
|
49 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_allchars.ini AsymmetricCipherAllChars
|
sl@0
|
50 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_allchars.ini HashAllChars
|
sl@0
|
51 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_allchars.ini RandomAllChars
|
sl@0
|
52 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_allchars.ini SignerAllChars
|
sl@0
|
53 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_allchars.ini VerifierAllChars
|
sl@0
|
54 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_allchars.ini KeyPairGenAllChars
|
sl@0
|
55 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_allchars.ini KeyAgreementAllChars
|
sl@0
|
56 |
|
sl@0
|
57 |
END_TESTCASE SEC-CRYPTOSPI-RULE-0002
|
sl@0
|
58 |
|
sl@0
|
59 |
//**************************************************************************************
|
sl@0
|
60 |
|
sl@0
|
61 |
//! @SYMTestCaseID SEC-CRYPTOSPI-RULE-0003
|
sl@0
|
62 |
//! @SYMTestCaseDesc RuleSelection_Ascend
|
sl@0
|
63 |
|
sl@0
|
64 |
START_TESTCASE SEC-CRYPTOSPI-RULE-0003
|
sl@0
|
65 |
|
sl@0
|
66 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini CreatorName
|
sl@0
|
67 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini MaxConcurrency
|
sl@0
|
68 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini Latency
|
sl@0
|
69 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini Throughput
|
sl@0
|
70 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini HashBlockSize
|
sl@0
|
71 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini HashOutputSize
|
sl@0
|
72 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini SymmetricCipherKeyLength
|
sl@0
|
73 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini SymmetricCipherBlockSize
|
sl@0
|
74 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini SymmetricCipherKeySupport
|
sl@0
|
75 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini AsymmetricCipherKeyLength
|
sl@0
|
76 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini AsymmetricCipherKeySupport
|
sl@0
|
77 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini SignatureKeyLength
|
sl@0
|
78 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini SignatureKeySupport
|
sl@0
|
79 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini RandomBlockingMode
|
sl@0
|
80 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_ascend.ini KeyPairGenKeyLength
|
sl@0
|
81 |
|
sl@0
|
82 |
END_TESTCASE SEC-CRYPTOSPI-RULE-0003
|
sl@0
|
83 |
|
sl@0
|
84 |
//**************************************************************************************
|
sl@0
|
85 |
|
sl@0
|
86 |
//! @SYMTestCaseID SEC-CRYPTOSPI-RULE-0004
|
sl@0
|
87 |
//! @SYMTestCaseDesc RuleSelection_Descend
|
sl@0
|
88 |
|
sl@0
|
89 |
START_TESTCASE SEC-CRYPTOSPI-RULE-0004
|
sl@0
|
90 |
|
sl@0
|
91 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini CreatorName
|
sl@0
|
92 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini MaxConcurrency
|
sl@0
|
93 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini Latency
|
sl@0
|
94 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini Throughput
|
sl@0
|
95 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini HashBlockSize
|
sl@0
|
96 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini HashOutputSize
|
sl@0
|
97 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini SymmetricCipherKeyLength
|
sl@0
|
98 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini SymmetricCipherBlockSize
|
sl@0
|
99 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini SymmetricCipherKeySupport
|
sl@0
|
100 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini AsymmetricCipherKeyLength
|
sl@0
|
101 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini AsymmetricCipherKeySupport
|
sl@0
|
102 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini SignatureKeyLength
|
sl@0
|
103 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini SignatureKeySupport
|
sl@0
|
104 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini RandomBlockingMode
|
sl@0
|
105 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_descend.ini KeyPairGenKeyLength
|
sl@0
|
106 |
|
sl@0
|
107 |
END_TESTCASE SEC-CRYPTOSPI-RULE-0004
|
sl@0
|
108 |
|
sl@0
|
109 |
//**************************************************************************************
|
sl@0
|
110 |
|
sl@0
|
111 |
//! @SYMTestCaseID SEC-CRYPTOSPI-RULE-0005
|
sl@0
|
112 |
//! @SYMTestCaseDesc RuleSelection_Matrix
|
sl@0
|
113 |
|
sl@0
|
114 |
START_TESTCASE SEC-CRYPTOSPI-RULE-0005
|
sl@0
|
115 |
|
sl@0
|
116 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini HashValid
|
sl@0
|
117 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini RandomValid
|
sl@0
|
118 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini SymmetricCipherValid
|
sl@0
|
119 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini AsymmetricCipherValid
|
sl@0
|
120 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini SignerValid
|
sl@0
|
121 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini VerifierValid
|
sl@0
|
122 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini KeyAgreementValid
|
sl@0
|
123 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini KeyPairGeneratorValid
|
sl@0
|
124 |
RUN_TEST_STEP !Result=-5 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini HashInvalid
|
sl@0
|
125 |
RUN_TEST_STEP !Result=-5 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini RandomInvalid
|
sl@0
|
126 |
RUN_TEST_STEP !Result=-5 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini SymmetricCipherInvalid
|
sl@0
|
127 |
RUN_TEST_STEP !Result=-5 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini AsymmetricCipherInvalid
|
sl@0
|
128 |
RUN_TEST_STEP !Result=-5 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini SignerInvalid
|
sl@0
|
129 |
RUN_TEST_STEP !Result=-5 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini VerifierInvalid
|
sl@0
|
130 |
RUN_TEST_STEP !Result=-5 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini KeyAgreementInvalid
|
sl@0
|
131 |
RUN_TEST_STEP !Result=-5 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini KeyPairGeneratorInvalid
|
sl@0
|
132 |
RUN_TEST_STEP !Result=-6 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini RuleInvalid01
|
sl@0
|
133 |
RUN_TEST_STEP !Result=-6 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini RuleInvalid02
|
sl@0
|
134 |
RUN_TEST_STEP !Result=-6 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini RuleInvalid03
|
sl@0
|
135 |
RUN_TEST_STEP !Result=-6 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini RuleInvalid04
|
sl@0
|
136 |
RUN_TEST_STEP !Result=-6 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini RuleInvalid05
|
sl@0
|
137 |
RUN_TEST_STEP !Result=-6 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini RuleInvalid06
|
sl@0
|
138 |
RUN_TEST_STEP !Result=-6 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_matrix.ini RuleInvalid07
|
sl@0
|
139 |
|
sl@0
|
140 |
END_TESTCASE SEC-CRYPTOSPI-RULE-0005
|
sl@0
|
141 |
|
sl@0
|
142 |
//**************************************************************************************
|
sl@0
|
143 |
|
sl@0
|
144 |
//! @SYMTestCaseID SEC-CRYPTOSPI-RULE-0006
|
sl@0
|
145 |
//! @SYMTestCaseDesc RuleSelection_Extended
|
sl@0
|
146 |
|
sl@0
|
147 |
START_TESTCASE SEC-CRYPTOSPI-RULE-0006
|
sl@0
|
148 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_extended.ini ExtendedAllChars1
|
sl@0
|
149 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_extended.ini ExtendedAllChars2
|
sl@0
|
150 |
RUN_TEST_STEP !Result=-6 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_extended.ini ExtendedAscend
|
sl@0
|
151 |
RUN_TEST_STEP !Result=-6 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_extended.ini ExtendedDescend
|
sl@0
|
152 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_extended.ini ExtendedGreaterThan
|
sl@0
|
153 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_extended.ini ExtendedGreaterThanOrEqual
|
sl@0
|
154 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_extended.ini ExtendedLessThan
|
sl@0
|
155 |
RUN_TEST_STEP 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_extended.ini ExtendedLessThanOrEqual
|
sl@0
|
156 |
RUN_TEST_STEP !Result=-5 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_extended.ini ExtendedInvalid1
|
sl@0
|
157 |
RUN_TEST_STEP !Result=-5 100 Te_CryptoSpi RuleSelectCommonStep c:\testdata\tcryptospi\configs\ruleselection_extended.ini ExtendedInvalid2
|
sl@0
|
158 |
|
sl@0
|
159 |
END_TESTCASE SEC-CRYPTOSPI-RULE-0006
|
sl@0
|
160 |
|
sl@0
|
161 |
//**************************************************************************************
|
sl@0
|
162 |
|
sl@0
|
163 |
RUN_PROGRAM cryptospisetup.exe
|
sl@0
|
164 |
|
sl@0
|
165 |
PRINT Complete te_ruleselection_Tests
|