applayerpluginsandutils/bookmarksupport/test/Integration/TestBookmarksSuite/TestBookmarksSuite.script
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 //
       
     2 // Copyright (c) 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 //Script file for running File URI Tests
       
    17 
       
    18 PRINT Running_Bookmarks_Test
       
    19 
       
    20 // Load the test
       
    21 LOAD_SUITE TestBookmarksServer -SharedData
       
    22 
       
    23 // Start afresh
       
    24 RUN_TEST_STEP 100 	 TestBookmarksServer	TestDeleteItemsInFolderStep 	c:\testdata\ini\TestBookmarksSuite.ini 	Delete_Root_Children
       
    25 
       
    26 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0001-HP-0001
       
    27 //	HomeMenuText
       
    28 
       
    29 //! @file			TestBookmarksSuite.script
       
    30 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0001-HP-0001
       
    31 //! @SYMTestCaseDesc 		Set and Get Home page text
       
    32 //! @SYMFssID			Application-Protocols/Bookmarks/DATABASE.2
       
    33 //! @SYMTestStatus 		Released
       
    34 //! @SYMTestPriority 		High
       
    35 //! @SYMTestActions 		1. Set the home page text using RBookmarkDatabase::SetHomePageTextL
       
    36 //!				2. Get the home page text using RBookmarkDatabase::HomePageText
       
    37 //! @SYMTestExpectedResults 	The home menu text is stored correctly in the database and retrieved.
       
    38 //! @SYMTestType 		Integration
       
    39 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	DB_SetHomePageText
       
    40 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	DB_GetHomePageText
       
    41 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0001-HP-0001
       
    42 
       
    43 // General steps
       
    44 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestDeleteFolderStep		c:\testdata\ini\TestBookmarksSuite.ini 	Delete_MainFolder_All_Mode
       
    45 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCreateBookmarkItemsStep 	c:\testdata\ini\TestBookmarksSuite.ini 	MainFolder
       
    46 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCreateBookmarkItemsStep 	c:\testdata\ini\TestBookmarksSuite.ini 	Folder1
       
    47 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCreateBookmarkItemsStep 	c:\testdata\ini\TestBookmarksSuite.ini 	Folder2
       
    48 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCreateBookmarkItemsStep 	c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark1
       
    49 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCreateBookmarkItemsStep 	c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark2
       
    50 // General steps
       
    51 
       
    52 
       
    53 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0012-CP-0001
       
    54 //	FolderTitlesGloballyUnique
       
    55 
       
    56 //! @file			TestBookmarksSuite.script
       
    57 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0012-CP-0001
       
    58 //! @SYMTestCaseDesc 		Folder titles should be globally unique
       
    59 //! @SYMFssID			Application-Protocols/Bookmarks/ITEMDATA.1
       
    60 //! @SYMTestStatus 		Released
       
    61 //! @SYMTestPriority 		Critical
       
    62 //! @SYMTestActions 		1. Try to create more than one folder with the same name.
       
    63 //!				2. Try to set the title of a folder to that of an existing folder.
       
    64 //! @SYMTestExpectedResults 	An error should be returned when there is a clash in the titles.
       
    65 //! @SYMTestType 		Integration
       
    66 RUN_TEST_STEP 	!Error=-7162	100 	 TestBookmarksServer	TestCreateBookmarkItemsStep 	c:\testdata\ini\TestBookmarksSuite.ini 	Folder1
       
    67 RUN_TEST_STEP 	!Error=-7162	100 	 TestBookmarksServer	TestCreateBookmarkItemsStep 	c:\testdata\ini\TestBookmarksSuite.ini 	Folder2
       
    68 RUN_TEST_STEP 	!Error=-7162	100 	 TestBookmarksServer	TestCreateBookmarkItemsStep 	c:\testdata\ini\TestBookmarksSuite.ini 	Create_Folder2_Under_Root
       
    69 
       
    70 // Try renaming Folder2 to Folder1
       
    71 RUN_TEST_STEP 	!Error=-7162	100 	 TestBookmarksServer	TestSetPropertyStep		c:\testdata\ini\TestBookmarksSuite.ini 	Rename_Folder2_To_Folder1
       
    72 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0012-CP-0001
       
    73 
       
    74 
       
    75 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0033-HP-0002
       
    76 //	Top_Folder_Uneditable
       
    77 
       
    78 //! @file			TestBookmarksSuite.script
       
    79 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0033-HP-0002
       
    80 //! @SYMTestCaseDesc 		The top of the bookmark folder tree is uneditable and has no properties
       
    81 //! @SYMFssID			Application-Protocols/Bookmarks/TREE.2
       
    82 //! @SYMTestStatus 		Released
       
    83 //! @SYMTestPriority 		High
       
    84 //! @SYMTestActions 		1. Try to set the properties like Title, Parent, Description, Writeable etc. of the root folder
       
    85 //! @SYMTestExpectedResults 	An error should be returned when the properties of the root folder are requested to be modified.
       
    86 //! @SYMTestType 		Integration
       
    87 RUN_TEST_STEP 	!Error=-7163	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Root_SetTitle
       
    88 RUN_TEST_STEP 	!Error=-7163	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Root_SetDescription
       
    89 RUN_TEST_STEP 	!Error=-7163	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Root_SetParent
       
    90 RUN_TEST_STEP 	!Error=-7163	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Root_SetWritable
       
    91 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0033-HP-0002
       
    92 
       
    93 
       
    94 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0035-HP-0002
       
    95 //	Home_Page_Bookmark
       
    96 
       
    97 //! @file			TestBookmarksSuite.script
       
    98 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0035-HP-0002
       
    99 //! @SYMTestCaseDesc 		Getting and Setting the home page bookmark
       
   100 //! @SYMFssID			Application-Protocols/Bookmarks/HOME.1, Application-Protocols/Bookmarks/HOME.2
       
   101 //! @SYMTestStatus 		Released
       
   102 //! @SYMTestPriority 		High
       
   103 //! @SYMTestActions 		1. Set and get the home page bookmark.
       
   104 //!				2. Verify that there can only be one homepage bookmark at a time.
       
   105 //! @SYMTestExpectedResults 	The setting and getting of homepage bookmark is consistent and when a new bookmark is set as the homepage, the old one's "IsHome" flag becomes false.
       
   106 //! @SYMTestType 		Integration
       
   107 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCreateBookmarkItemsStep 	c:\testdata\ini\TestBookmarksSuite.ini 	Folder_HomePageTest
       
   108 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCreateBookmarkItemsStep 	c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark8
       
   109 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCreateBookmarkItemsStep 	c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark9
       
   110 
       
   111 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Home_Page_Bookmark_Bookmark8
       
   112 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Home_Page_Bookmark_DefaultMode
       
   113 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Home_Page_Bookmark_PublicMode
       
   114 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Home_Page_Bookmark_PrivateMode
       
   115 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Home_Page_Bookmark_AllMode
       
   116 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark8_IsHomePage_True
       
   117 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Home_Page_Bookmark_Bookmark9
       
   118 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark8_IsHomePage_False
       
   119 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark9_IsHomePage_True
       
   120 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0035-HP-0002
       
   121 
       
   122 // Cleanup Home Page Test Folder
       
   123 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestDeleteFolderStep		c:\testdata\ini\TestBookmarksSuite.ini 	Folder_HomePageTest
       
   124 
       
   125 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0037-HP-0001
       
   126 //	Search_Uri
       
   127 
       
   128 //! @file			TestBookmarksSuite.script
       
   129 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0037-HP-0001
       
   130 //! @SYMTestCaseDesc 		Getting and setting search uri
       
   131 //! @SYMFssID			Application-Protocols/Bookmarks/DATABASE.5
       
   132 //! @SYMTestStatus 		Released
       
   133 //! @SYMTestPriority 		High
       
   134 //! @SYMTestActions 		1. Set and get the search uri
       
   135 //! @SYMTestExpectedResults 	The setting and getting of search uri is consistent.
       
   136 //! @SYMTestType 		Integration
       
   137 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Search_Uri
       
   138 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Search_Uri
       
   139 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0037-HP-0001
       
   140 
       
   141 
       
   142 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0038-HP-0001
       
   143 //	Version_Number
       
   144 
       
   145 //! @file			TestBookmarksSuite.script
       
   146 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0038-HP-0001
       
   147 //! @SYMTestCaseDesc 		Get the version no. from the DB
       
   148 //! @SYMFssID			Application-Protocols/Bookmarks/VERSION.1
       
   149 //! @SYMTestStatus 		Released
       
   150 //! @SYMTestPriority 		High
       
   151 //! @SYMTestActions 		1. Get the version no. of the database.
       
   152 //! @SYMTestExpectedResults 	The major, minor and build versions are correctly stored and returned by the database.
       
   153 //! @SYMTestType 		Integration
       
   154 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestVersionStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Version_Number
       
   155 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0038-HP-0001
       
   156 
       
   157 
       
   158 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0039-HP-0001
       
   159 //	Proxy
       
   160 
       
   161 //! @file			TestBookmarksSuite.script
       
   162 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0039-HP-0001
       
   163 //! @SYMTestCaseDesc 		Set and get Bookmark and DB Proxy
       
   164 //! @SYMFssID			Application-Protocols/Bookmarks/DATABASE.7, Application-Protocols/Bookmarks/BOOKMARK.6
       
   165 //! @SYMTestStatus 		Released
       
   166 //! @SYMTestPriority 		High
       
   167 //! @SYMTestActions 		1. Set and get the default proxy in the database.
       
   168 //!				2. Set and get the proxy attribute of a bookmark.
       
   169 //! @SYMTestExpectedResults 	The proxy reference is stored and retreived consistently.
       
   170 //! @SYMTestType 		Integration
       
   171 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark2_SetProxy
       
   172 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark2_GetProxy
       
   173 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	DB_SetProxy
       
   174 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	DB_GetProxy
       
   175 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0039-HP-0001
       
   176 
       
   177 
       
   178 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0040-HP-0001
       
   179 //	Nap
       
   180 
       
   181 //! @file			TestBookmarksSuite.script
       
   182 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0040-HP-0001
       
   183 //! @SYMTestCaseDesc 		Set and get Bookmark and DB NAP
       
   184 //! @SYMFssID			Application-Protocols/Bookmarks/DATABASE.8, Application-Protocols/Bookmarks/BOOKMARK.8
       
   185 //! @SYMTestStatus 		Released
       
   186 //! @SYMTestPriority 		High
       
   187 //! @SYMTestActions 		1. Set and get the default NAP in the database.
       
   188 //!				2. Set and get the NAP attribute of a bookmark.
       
   189 //! @SYMTestExpectedResults 	The NAP reference is stored and retreived consistently.
       
   190 //! @SYMTestType 		Integration
       
   191 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark2_SetNap
       
   192 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark2_GetNap
       
   193 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	DB_SetNap
       
   194 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	DB_GetNap
       
   195 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0040-HP-0001
       
   196 
       
   197 
       
   198 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0051-HP-0001
       
   199 //	Storage_Of_Uri
       
   200 
       
   201 //! @file			TestBookmarksSuite.script
       
   202 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0051-HP-0001
       
   203 //! @SYMTestCaseDesc 		Storage of Uri
       
   204 //! @SYMFssID			Application-Protocols/Bookmarks/BOOKMARK.1
       
   205 //! @SYMTestStatus 		Released
       
   206 //! @SYMTestPriority 		High
       
   207 //! @SYMTestActions 		1. Set and get the URI of a bookmark.
       
   208 //! @SYMTestExpectedResults 	The URI is stored and retreived consistently.
       
   209 //! @SYMTestType 		Integration
       
   210 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark1_SetUri
       
   211 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark1_GetUri
       
   212 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0051-HP-0001
       
   213 
       
   214 
       
   215 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0052-HP-0001
       
   216 //	Storage_Of_Uri_And_Auth_Data
       
   217 
       
   218 //! @file			TestBookmarksSuite.script
       
   219 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0052-HP-0001
       
   220 //! @SYMTestCaseDesc 		Storage of URI and authentication data
       
   221 //! @SYMFssID			Application-Protocols/Bookmarks/BOOKMARK.2, Application-Protocols/Bookmarks/BOOKMARK.3
       
   222 //! @SYMTestStatus 		Released
       
   223 //! @SYMTestPriority 		High
       
   224 //! @SYMTestActions 		1. Set the URI of a bookmark to a URI with authentication details.
       
   225 //!				2. Get the URI of the bookmark.
       
   226 //!				3. Get the authentication details of the bookmark.	
       
   227 //! @SYMTestExpectedResults 	1. The URI is normalised when stored, that is, the authentication information is stripped off the URI while storing.
       
   228 //!				2. The authentication details are correctly associated with the bookmark object.
       
   229 //! @SYMTestType 		Integration
       
   230 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark1_SetUri_With_Auth
       
   231 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark1_GetUri_With_Auth
       
   232 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark1_GetAuth
       
   233 
       
   234 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark1_SetUri_With_Auth2
       
   235 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark1_GetUri_With_Auth2
       
   236 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark1_GetAuth2
       
   237 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0052-HP-0001
       
   238 
       
   239 
       
   240 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0053-HP-0001
       
   241 //	Set_And_Get_Auth_Data
       
   242 
       
   243 //! @file			TestBookmarksSuite.script
       
   244 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0053-HP-0001
       
   245 //! @SYMTestCaseDesc 		Set and get authentication data
       
   246 //! @SYMFssID			Application-Protocols/Bookmarks/BOOKMARK.3
       
   247 //! @SYMTestStatus 		Released
       
   248 //! @SYMTestPriority 		High
       
   249 //! @SYMTestActions 		1. Set the and get the authentication details of the bookmark.	
       
   250 //! @SYMTestExpectedResults 	The authentication details are correctly associated with the bookmark object.
       
   251 //! @SYMTestType 		Integration
       
   252 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestSetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark1_Auth2
       
   253 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestGetPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Bookmark1_Auth2
       
   254 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0053-HP-0001
       
   255 
       
   256 
       
   257 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0056-HP-0004
       
   258 //	Update_Visited
       
   259 
       
   260 //! @file			TestBookmarksSuite.script
       
   261 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0056-HP-0004
       
   262 //! @SYMTestCaseDesc 		Update last visited time of a bookmark.
       
   263 //! @SYMFssID			Application-Protocols/Bookmarks/BOOKMARK.5
       
   264 //! @SYMTestStatus 		Released
       
   265 //! @SYMTestPriority 		High
       
   266 //! @SYMTestActions 		1. Update the last visited time of a bookmark and verify whether the update is done correctly.
       
   267 //! @SYMTestExpectedResults 	The last visited time is updated correctly.
       
   268 //! @SYMTestType 		Integration
       
   269 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestUpdateVisitedStep
       
   270 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0056-HP-0004
       
   271 
       
   272 
       
   273 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0026-HP-0001
       
   274 //	Custom_Db_Property
       
   275 
       
   276 //! @file			TestBookmarksSuite.script
       
   277 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0026-HP-0001
       
   278 //! @SYMTestCaseDesc 		Register, access and deregister custom database properties
       
   279 //! @SYMFssID			Application-Protocols/Bookmarks/CUSTOM.1, Application-Protocols/Bookmarks/CUSTOM.4
       
   280 //! @SYMTestStatus 		Released
       
   281 //! @SYMTestPriority 		High
       
   282 //! @SYMTestActions 		1. Register a custom database property of type TInt
       
   283 //!				2. Register a custom database property of type TReal
       
   284 //!				3. Register a custom database property of type TDes8
       
   285 //!				4. Register a custom database property of type TDes16
       
   286 //!				5. Set and get each of these properties.
       
   287 //!				6. De-register all the above properties.
       
   288 //! @SYMTestExpectedResults 	The custom properties are registered, set, retreived and de-registered consistently.
       
   289 //! @SYMTestType 		Integration
       
   290 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Register_Custom_Db_Int
       
   291 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Register_Custom_Db_Real
       
   292 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Register_Custom_Db_Des8
       
   293 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Register_Custom_Db_Des16
       
   294 
       
   295 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Custom_Db_Int
       
   296 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Custom_Db_Real
       
   297 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Custom_Db_Des8
       
   298 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Custom_Db_Des16
       
   299 
       
   300 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Custom_Db_Int
       
   301 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Custom_Db_Real
       
   302 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Custom_Db_Des8
       
   303 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Custom_Db_Des16
       
   304 
       
   305 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Deregister_Custom_Db_Int
       
   306 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Deregister_Custom_Db_Real
       
   307 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Deregister_Custom_Db_Des8
       
   308 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Deregister_Custom_Db_Des16
       
   309 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0026-HP-0001
       
   310 
       
   311 
       
   312 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0027-HP-0001
       
   313 //	Custom_Folder_Property
       
   314 
       
   315 //! @file			TestBookmarksSuite.script
       
   316 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0027-HP-0001
       
   317 //! @SYMTestCaseDesc 		Register, access and deregister custom folder properties
       
   318 //! @SYMFssID			Application-Protocols/Bookmarks/CUSTOM.2, Application-Protocols/Bookmarks/CUSTOM.5
       
   319 //! @SYMTestStatus 		Released
       
   320 //! @SYMTestPriority 		High
       
   321 //! @SYMTestActions 		1. Register a custom folder property of type TInt
       
   322 //!				2. Register a custom folder property of type TReal
       
   323 //!				3. Register a custom folder property of type TDes8
       
   324 //!				4. Register a custom folder property of type TDes16
       
   325 //!				5. Set and get each of these properties.
       
   326 //!				6. De-register all the above properties.
       
   327 //! @SYMTestExpectedResults 	The custom properties are registered, set, retreived and de-registered consistently.
       
   328 //! @SYMTestType 		Integration
       
   329 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Register_Custom_Folder_Int
       
   330 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Register_Custom_Folder_Real
       
   331 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Register_Custom_Folder_Des8
       
   332 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Register_Custom_Folder_Des16
       
   333 
       
   334 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Custom_Folder_Int
       
   335 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Custom_Folder_Real
       
   336 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Custom_Folder_Des8
       
   337 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Custom_Folder_Des16
       
   338 
       
   339 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Custom_Folder_Int
       
   340 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Custom_Folder_Real
       
   341 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Custom_Folder_Des8
       
   342 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Custom_Folder_Des16
       
   343 
       
   344 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Deregister_Custom_Folder_Int
       
   345 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Deregister_Custom_Folder_Real
       
   346 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Deregister_Custom_Folder_Des8
       
   347 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Deregister_Custom_Folder_Des16
       
   348 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0027-HP-0001
       
   349 
       
   350 
       
   351 START_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0028-HP-0001
       
   352 //	Custom_Bookmark_Property
       
   353 
       
   354 //! @file			TestBookmarksSuite.script
       
   355 //! @SYMTestCaseID		IWS-APPPROT-BM-PREQ171-I-0028-HP-0001
       
   356 //! @SYMTestCaseDesc 		Register, access and deregister custom bookmark properties
       
   357 //! @SYMFssID			Application-Protocols/Bookmarks/CUSTOM.2, Application-Protocols/Bookmarks/CUSTOM.5
       
   358 //! @SYMTestStatus 		Released
       
   359 //! @SYMTestPriority 		High
       
   360 //! @SYMTestActions 		1. Register a custom bookmark property of type TInt
       
   361 //!				2. Register a custom bookmark property of type TReal
       
   362 //!				3. Register a custom bookmark property of type TDes8
       
   363 //!				4. Register a custom bookmark property of type TDes16
       
   364 //!				5. Set and get each of these properties.
       
   365 //!				6. De-register all the above properties.
       
   366 //! @SYMTestExpectedResults 	The custom properties are registered, set, retreived and de-registered consistently.
       
   367 //! @SYMTestType 		Integration
       
   368 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Register_Custom_Bookmark_Int
       
   369 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Register_Custom_Bookmark_Real
       
   370 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Register_Custom_Bookmark_Des8
       
   371 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Register_Custom_Bookmark_Des16
       
   372 
       
   373 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Custom_Bookmark_Int
       
   374 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Custom_Bookmark_Real
       
   375 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Custom_Bookmark_Des8
       
   376 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Set_Custom_Bookmark_Des16
       
   377 
       
   378 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Custom_Bookmark_Int
       
   379 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Custom_Bookmark_Real
       
   380 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Custom_Bookmark_Des8
       
   381 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Get_Custom_Bookmark_Des16
       
   382 
       
   383 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Deregister_Custom_Bookmark_Int
       
   384 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Deregister_Custom_Bookmark_Real
       
   385 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Deregister_Custom_Bookmark_Des8
       
   386 RUN_TEST_STEP 	100 	 TestBookmarksServer	TestCustomPropertyStep 		c:\testdata\ini\TestBookmarksSuite.ini 	Deregister_Custom_Bookmark_Des16
       
   387 END_TESTCASE	IWS-APPPROT-BM-PREQ171-I-0028-HP-0001
       
   388 
       
   389 // Cleanup all items created
       
   390 RUN_TEST_STEP 100 	 TestBookmarksServer	TestDeleteItemsInFolderStep 	c:\testdata\ini\TestBookmarksSuite.ini 	Delete_Root_Children
       
   391 
       
   392 PRINT Completed_Bookmarks_Test