1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
|
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
PRINT Run all TestImpExvCard Suite Tests
//
LOAD_SUITE TestImpExvCardSuite
//
START_TESTCASE PIM-CIT-Cntmodel-234AP-0003
//! @SYMTestCaseID PIM-CIT-Cntmodel-234AP-0003
//! @SYMTestType Component Test
//! @SYMTestPriority low
//! @SYMPREQ 234
//! @SYMFssID <App-Engines>/<CntModel>/IE.3
//! @SYMTestStatus Implemented
//! @SYMTestCaseDesc Import VCard with REV property set to local
//! @SYMTestActions A VCard with REV property in local time format and a TZ property present is imported to a Contact database using the CntModel converter
//! @SYMTestExpectedResults The imported contact entry has LastModified() equal to the VCard's REV property after beign adjusted by the TZ property
RUN_TEST_STEP 100 TestImpExvCardSuite TestImpRevLocalTZ c:\CITExImvCard\testdata\ImportREVLocalTZ\ExpectedUTC.ini
END_TESTCASE PIM-CIT-Cntmodel-234AP-0003
START_TESTCASE PIM-CIT-Cntmodel-234AP-0002
//! @SYMTestCaseID PIM-CIT-Cntmodel-234AP-0002
//! @SYMTestType Component Test
//! @SYMTestPriority low
//! @SYMPREQ 234
//! @SYMFssID <App-Engines>/<CntModel>/IE.3
//! @SYMTestStatus Implemented
//! @SYMTestCaseDesc Import VCard wtih REV property set to local, but no TZ property set
//! @SYMTestActions A VCard with REV property in local time format is imported to a Contact database using the Cnt Model converter
//! @SYMTestExpectedResults The imported contact entry has LastModified() equal to the VCard's REV property. The Vcard's REV property is converted to UTC time with offset=0
RUN_TEST_STEP 100 TestImpExvCardSuite TestImpRevLocal c:\CITExImvCard\testdata\ImportREVLocal\ExpectedUTC.ini
END_TESTCASE PIM-CIT-Cntmodel-234AP-0002
START_TESTCASE PIM-CIT-Cntmodel-234AP-0004
//! @SYMTestCaseID PIM-CIT-Cntmodel-234AP-0004
//! @SYMTestType Component Test
//! @SYMTestPriority med
//! @SYMPREQ 234
//! @SYMFssID <App-Engines>/<CntModel>/IE.3
//! @SYMTestStatus Implemented
//! @SYMTestCaseDesc Import VCard with no REV property
//! @SYMTestActions A VCard with no REV property is imported to a Contact database using the CntModel converter
//! @SYMTestExpectedResults The imported contact entry has LastModified() equal to NULL
RUN_TEST_STEP 100 TestImpExvCardSuite TestImpNoRev
END_TESTCASE PIM-CIT-Cntmodel-234AP-0004
START_TESTCASE PIM-CIT-Cntmodel-234AP-0001
//! @SYMTestCaseID PIM-CIT-Cntmodel-234AP-0001
//! @SYMTestType Component Test
//! @SYMTestPriority low
//! @SYMPREQ 234
//! @SYMFssID <App-Engines>/<CntModel>/IE.3
//! @SYMTestStatus Implemented
//! @SYMTestCaseDesc Import VCard with REV in UTC format
//! @SYMTestActions A VCard with REV property in UTC format is imported to a Contact database using the Cnt Model converter
//! @SYMTestExpectedResults The imported contact entry has LastModified() equal to the VCard's REV property
RUN_TEST_STEP 100 TestImpExvCardSuite TestImpRevUTC c:\CITExImvCard\testdata\ImportRevUTC\ExpectedUTC.ini
END_TESTCASE PIM-CIT-Cntmodel-234AP-0002
START_TESTCASE PIM-CIT-Cntmodel-234AP-0005
//! @SYMTestCaseID PIM-CIT-Cntmodel-234AP-0005
//! @SYMTestType Component Test
//! @SYMTestPriority low
//! @SYMPREQ 234
//! @SYMFssID <App-Engines>/<CntModel>/IE.3
//! @SYMTestStatus Implemented
//! @SYMTestCaseDesc Import VCard with BDAY property in local date/time format
//! @SYMTestActions A Vcard with BDAY property is imported to a Contact database using the Cnt Model converter.
//! @SYMTestExpectedResults The imported contact entry has the birthday field equal to the VCards BDAY property. No adjustement is made for UTC Offset.
RUN_TEST_STEP 100 TestImpExvCardSuite TestImpBDay c:\CITExImvCard\testdata\ImportBDay\ExpectedBDAY.ini
END_TESTCASE PIM-CIT-Cntmodel-234AP-0005
START_TESTCASE PIM-CIT-Cntmodel-234AP-0006
//! @SYMTestCaseID PIM-CIT-Cntmodel-234AP-0006
//! @SYMTestType Component Test
//! @SYMTestPriority low
//! @SYMPREQ 234
//! @SYMFssID <App-Engines>/<CntModel>/IE.3
//! @SYMTestStatus Implemented
//! @SYMTestCaseDesc Import VCard with no BDAY property
//! @SYMTestActions A Vcard with no BDAY property is imported to a Contact database using the Cnt Model converter.
//! @SYMTestExpectedResults The imported contact entry has the birthday field equal to TDateTime::Null
RUN_TEST_STEP 100 TestImpExvCardSuite TestImpNoBDay
END_TESTCASE PIM-CIT-Cntmodel-234AP-0006
START_TESTCASE PIM-CIT-Cntmodel-234AP-0007
//! @SYMTestCaseID PIM-CIT-Cntmodel-234AP-0007
//! @SYMTestType Component Test
//! @SYMTestPriority low
//! @SYMPREQ 234
//! @SYMFssID <App-Engines>/<CntModel>/IE.3
//! @SYMTestStatus Implemented
//! @SYMTestCaseDesc Export to VCard with REV in UTC format
//! @SYMTestActions A Contact database is exported to VCards using the CntModel converter
//! @SYMTestExpectedResults The exported VCard's REV property is set to UTC value, and is equal to the contact entry's LastModified() value.
RUN_TEST_STEP 100 TestImpExvCardSuite TestExRevUTC
END_TESTCASE PIM-CIT-Cntmodel-234AP-0007
START_TESTCASE PIM-CIT-Cntmodel-234AP-0008
//! @SYMTestCaseID PIM-CIT-Cntmodel-234AP-0008
//! @SYMTestType Component Test
//! @SYMTestPriority low
//! @SYMPREQ 234
//! @SYMFssID <App-Engines>/<CntModel>/IE.3
//! @SYMTestStatus Implemented
//! @SYMTestCaseDesc Export to VCard with BDAY property in local date/time format
//! @SYMTestActions A VCard with BDAY property is exported from a Contact database using the CntModel converter.
//! @SYMTestExpectedResults The exported VCard's BDAY property is equal to the contact entry's birthday field, and is in Local Time format.
RUN_TEST_STEP 100 TestImpExvCardSuite TestExBDayLocal c:\CITExImvCard\testdata\ExportBDayLocal\ExportBDayLocal.ini
END_TESTCASE PIM-CIT-Cntmodel-234AP-0008
START_TESTCASE PIM-CIT-Cntmodel-234AP-0009
//! @SYMTestCaseID PIM-CIT-Cntmodel-234AP-0009
//! @SYMTestType Component Test
//! @SYMTestPriority low
//! @SYMPREQ 234
//! @SYMFssID <App-Engines>/<CntModel>/IE.3
//! @SYMTestStatus Implemented
//! @SYMTestCaseDesc Export to VCard with no BDAY property
//! @SYMTestActions A VCard with no BDAY property is exported from a Contact database using the CntModel converter.
//! @SYMTestExpectedResults The exported VCard's BDAY property is equal to TDateTime::Null
RUN_TEST_STEP 100 TestImpExvCardSuite TestExNoBDay
END_TESTCASE PIM-CIT-Cntmodel-234AP-0009
START_TESTCASE PIM-CIT-Cntmodel-234AP-0010
//! @SYMTestCaseID PIM-CIT-Cntmodel-234AP-0010
//! @SYMTestType Component Test
//! @SYMTestPriority low
//! @SYMPREQ 234
//! @SYMFssID <App-Engines>/<CntModel>/IE.3
//! @SYMTestStatus Implemented
//! @SYMTestCaseDesc Import VCard in OOM
//! @SYMTestActions A Vcard is imported in an OOM loop.
//! @SYMTestExpectedResults Contacts Import must be successful
RUN_TEST_STEP 100 TestImpExvCardSuite TestImpOOM
END_TESTCASE PIM-CIT-Cntmodel-234AP-0010
PRINT Complate_TestImpExvCard_Tests
|