|
1 // Copyright (c) 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 PRINT Loading Suite texml2 |
|
17 LOAD_SUITE texml2 |
|
18 DELAY 500 |
|
19 |
|
20 // |
|
21 //! @SYMTestCaseID BASESRVCS-XML-CT-4929 |
|
22 //! @SYMTestCaseDesc Tests the APIs under different memory conditions |
|
23 //! @SYMPREQ PREQ2051 |
|
24 //! @SYMTestPriority High |
|
25 //! @SYMTestActions The following APIs are testing under various |
|
26 //! memory conditions: |
|
27 //! XmlEngOOMTestL |
|
28 //! @SYMTestExpectedResults EPass |
|
29 // |
|
30 |
|
31 START_TESTCASE BASESRVCS-XML-CT-4929 |
|
32 RUN_TEST_STEP 100 texml2 XmlEngLeaveOOMStep1 |
|
33 RUN_TEST_STEP 100 texml2 XmlEngLeaveOOMStep2 |
|
34 END_TESTCASE BASESRVCS-XML-CT-4929 |
|
35 |
|
36 // |
|
37 //! @SYMTestCaseID BASESRVCS-XML-CT-4930 |
|
38 //! @SYMTestCaseDesc Tests the APIs under different memory conditions |
|
39 //! @SYMPREQ PREQ2051 |
|
40 //! @SYMTestPriority High |
|
41 //! @SYMTestActions The following APIs are testing under various |
|
42 //! memory conditions: |
|
43 //! XmlEngXmlCharFromDesL |
|
44 //! XmlEngXmlCharFromDes8L |
|
45 //! XmlEngEscapeForXmlValueL |
|
46 //! @SYMTestExpectedResults EPass |
|
47 // |
|
48 |
|
49 START_TESTCASE BASESRVCS-XML-CT-4930 |
|
50 RUN_TEST_STEP 100 texml2 XmlEngEscapeForXmlValueStep1 |
|
51 RUN_TEST_STEP 100 texml2 XmlEngEscapeForXmlValueStep2 |
|
52 RUN_TEST_STEP 100 texml2 XmlEngXmlCharFromDes |
|
53 END_TESTCASE BASESRVCS-XML-CT-4930 |
|
54 |
|
55 // |
|
56 //! @SYMTestCaseID BASESRVCS-XML-CT-4931 |
|
57 //! @SYMTestCaseDesc Tests the APIs in xmlengineutils |
|
58 //! @SYMPREQ PREQ2051 |
|
59 //! @SYMTestPriority High |
|
60 //! @SYMTestActions The following APIs are testing under various |
|
61 //! memory conditions: |
|
62 //! XmlEnginePushL |
|
63 //! XmlEnginePopAndClose |
|
64 //! @SYMTestExpectedResults EPass |
|
65 // |
|
66 |
|
67 START_TESTCASE BASESRVCS-XML-CT-4931 |
|
68 RUN_TEST_STEP 100 texml2 XmlEnginePushAndPop |
|
69 END_TESTCASE BASESRVCS-XML-CT-4931 |
|
70 |
|
71 // |
|
72 //! @SYMTestCaseID BASESRVCS-XML-CT-49232 |
|
73 //! @SYMTestCaseDesc Tests the APIs in xmlengineutils |
|
74 //! @SYMPREQ PREQ2051 |
|
75 //! @SYMTestPriority High |
|
76 //! @SYMTestActions The following APIs are testing under various |
|
77 //! memory conditions: |
|
78 //! CopyL |
|
79 //! SetL |
|
80 //! Free |
|
81 //! PushL |
|
82 //! Set |
|
83 //! AppendL |
|
84 //! Size |
|
85 //! Copy |
|
86 //! AllocAndFreeL |
|
87 //! Alloc |
|
88 //! AllocLC |
|
89 //! @SYMTestExpectedResults EPass |
|
90 // |
|
91 |
|
92 START_TESTCASE BASESRVCS-XML-CT-4932 |
|
93 RUN_TEST_STEP 100 texml2 XmlStringCopy |
|
94 RUN_TEST_STEP 100 texml2 XmlStringSetStep1 |
|
95 RUN_TEST_STEP 100 texml2 XmlStringSetStep2 |
|
96 RUN_TEST_STEP 100 texml2 XmlStringAppend |
|
97 RUN_TEST_STEP 100 texml2 XmlStringAlloc1 |
|
98 RUN_TEST_STEP 100 texml2 XmlStringAlloc2 |
|
99 RUN_TEST_STEP 100 texml2 XmlStringAllocAndFree1 |
|
100 RUN_TEST_STEP 100 texml2 XmlStringAllocAndFree2 |
|
101 RUN_TEST_STEP 100 texml2 XmlStringCompare |
|
102 END_TESTCASE BASESRVCS-XML-CT-4932 |