os/ossrv/syslibsapitest/syslibssvs/ecom/scripts/SYSLIB-ECOM-PublicAPI.script
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 //
     2 // Copyright (c) 2005-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 //
    17 //! @file
    18 //! @SYMTestSuiteName		SYSLIB-ECOM-PublicAPI
    19 //! @SYMScriptTestEnvironment	This test script requires a basic ROM.
    20 /////////////////////////////////////////////////////////////////////
    21 // SYSLIB-ECOM-PublicAPI.script
    22 //
    23 // Tests all public elements of the CImplementationInformation, REComSession and TEComResolverParams
    24 // classes as a means of confidence that the APIs work as expected.
    25 //
    26 // The purpose is to provide a regression test suite of PublishedAll APIs for CImplementationInformation,
    27 // REComSession and TEComResolverParams.  The tests are fully automated.
    28 /////////////////////////////////////////////////////////////////////
    29 
    30 LOAD_SUITE	T_ECOM
    31 
    32 
    33 /////////////////////////////////////////////////////////////////////
    34 // REComSession class
    35 /////////////////////////////////////////////////////////////////////
    36 
    37 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0001
    38 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0001
    39 //! @SYMAPI			REComSession
    40 //! @SYMAuthor			Vassili Tsvetkov
    41 //! @SYMCreationDate		10/03/2006
    42 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
    43 //! @SYMTestCaseDesc		Try to register for notification messages and recieve the sent message (new UID added to registry)
    44 //!				Uses API elements: OpenL(), NotifyOnChange(), Close(), FinalClose().
    45 //! @SYMTestActions    		1. Open connection. 2. Register for notification messages. 3. Send message (install new plug-in). 4. Recieve message. 5. Close connection. 6. Finish using ECOM.
    46 //! @SYMTestStatus		Implemented
    47 //! @SYMTestPriority		High
    48 //! @SYMTestExpectedResults  	Message recieved with no errors
    49 //! @SYMTestType		CIT
    50 RUN_PROGRAM			10		TPCopyFileUtility	\ecom\TestProduct_PlugIn.dll|\sys\bin\TestProduct_PlugIn.dll
    51 RUN_PROGRAM			10		TPCopyFileUtility	\ecom\TestProduct_PlugIn.rsc|\resource\plugins\TestProduct_PlugIn.rsc
    52 	START_TEST_BLOCK	10		T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
    53 		CREATE_OBJECT	REComSession	session1
    54 		COMMAND		session1	OpenL		 
    55 		COMMAND		session1	NotifyOnChange		SYSLIB-ECOM-PublicAPI-0001-001-NotifyOnChange_command02
    56 		OUTSTANDING
    57 		COMMAND		session1	CancelNotifyOnChange		 
    58 		OUTSTANDING
    59 		COMMAND		session1	Close		 
    60 		COMMAND		session1	FinalClose		 
    61 		COMMAND		session1	~		
    62 	END_TEST_BLOCK	
    63 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0001
    64 
    65 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0002
    66 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0002
    67 //! @SYMAPI			REComSession
    68 //! @SYMAuthor			Vassili Tsvetkov
    69 //! @SYMCreationDate		10/03/2006
    70 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
    71 //! @SYMTestCaseDesc		Try open connection to ECom server, then close connection and close session without memory leaks
    72 //!				Uses API elements: OpenL(), Close(), FinalClose().
    73 //! @SYMTestActions    		1. Open connection. 2. Close connection. 3. Finish using ECOM.
    74 //! @SYMTestStatus		Implemented
    75 //! @SYMTestPriority		High
    76 //! @SYMTestExpectedResults  	Connection closed with no errors
    77 //! @SYMTestType		CIT
    78 	START_TEST_BLOCK	3		T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
    79 		CREATE_OBJECT	REComSession	session1
    80 		COMMAND		session1	OpenL		 
    81 		COMMAND		session1	Close		 
    82 		COMMAND		session1	FinalClose		 
    83 		COMMAND		session1	~		
    84 	END_TEST_BLOCK	
    85 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0002
    86 
    87 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0003
    88 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0003
    89 //! @SYMAPI			REComSession
    90 //! @SYMAuthor			Vassili Tsvetkov
    91 //! @SYMCreationDate		22/03/2006
    92 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
    93 //! @SYMTestCaseDesc		Try close created, but not initialized session
    94 //!				Uses API elements: Clolse(), FinalClose().
    95 //! @SYMTestActions		1. Close session. 2. Finish using ECOM.
    96 //! @SYMTestStatus		Implemented
    97 //! @SYMTestPriority		High
    98 //! @SYMTestExpectedResults  	Session closed with no errors
    99 //! @SYMTestType		CIT
   100 	START_TEST_BLOCK	3		T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   101 		CREATE_OBJECT	REComSession	session1
   102 		COMMAND		session1	Close		 
   103 		COMMAND		session1	FinalClose		 
   104 		COMMAND		session1	~		
   105 	END_TEST_BLOCK	
   106 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0003
   107 
   108 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0004
   109 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0004
   110 //! @SYMAPI			REComSession
   111 //! @SYMAuthor			Vassili Tsvetkov
   112 //! @SYMCreationDate		10/03/2006
   113 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   114 //! @SYMTestCaseDesc		Try finish using ECOM
   115 //!				Uses API elements: FinalClose().
   116 //! @SYMTestActions    		1. Finish using ECOM.
   117 //! @SYMTestStatus		Implemented
   118 //! @SYMTestPriority		High
   119 //! @SYMTestExpectedResults  	ECOM using finished with no errors
   120 //! @SYMTestType		CIT
   121 	START_TEST_BLOCK	3		T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   122 		CREATE_OBJECT	REComSession	session1
   123 		COMMAND		session1	FinalClose		 
   124 		COMMAND		session1	~		
   125 	END_TEST_BLOCK	
   126 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0004
   127 
   128 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0005
   129 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0005
   130 //! @SYMAPI			REComSession
   131 //! @SYMAuthor			Vassili Tsvetkov
   132 //! @SYMCreationDate		10/03/2006
   133 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   134 //! @SYMTestCaseDesc		Try de-register for notification messages
   135 //!				Uses API elements: OpenL(), NotifyOnChange(), CancelNotifyOnChange(), Close(), FinalClose().
   136 //! @SYMTestActions    		1. Open connection. 2. Register for notification messages. 3. De-register for notification messages.
   137 //!				4. Close connection. 5. Finish using ECOM.
   138 //! @SYMTestStatus		Implemented
   139 //! @SYMTestPriority		High
   140 //! @SYMTestExpectedResults  	De-reistration for notification messages ends with no errors
   141 //! @SYMTestType		CIT
   142 	START_TEST_BLOCK	3		T_ECOM					\ecom\SYSLIB-ECOM-PublicAPI.ini 
   143 		CREATE_OBJECT			REComSession	session1
   144 		COMMAND				session1	OpenL		 
   145 		COMMAND		!AsyncError=-3	session1	NotifyOnChange		 
   146 		ASYNC_DELAY	10
   147 		COMMAND				session1	CancelNotifyOnChange		 
   148 		OUTSTANDING
   149 		COMMAND				session1	Close		 
   150 		COMMAND				session1	FinalClose		 
   151 		COMMAND				session1	~		
   152 	END_TEST_BLOCK	
   153 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0005
   154 
   155 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0006
   156 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0006
   157 //! @SYMAPI			REComSession, TEComResolverParams
   158 //! @SYMAuthor			Vassili Tsvetkov
   159 //! @SYMCreationDate		10/03/2006
   160 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   161 //! @SYMTestCaseDesc		Try retrieve a list of all the implementations(1) which satisfy the specified interface with
   162 //!				selection restriction to the specified parameters
   163 //!				Uses API elements: ListImplementationsL(), FinalClose().
   164 //! @SYMTestActions    		1. Retrieve a list of existing implementations. 2. Finish using ECOM.
   165 //! @SYMTestStatus		Implemented
   166 //! @SYMTestPriority		High
   167 //! @SYMTestExpectedResults  	List retrieved with no errors
   168 //! @SYMTestType		CIT
   169 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   170 		CREATE_OBJECT	TEComResolverParams	resolver1
   171 		CREATE_OBJECT	REComSession		session1
   172 		COMMAND		resolver1		SetGenericMatch		SYSLIB-ECOM-PublicAPI-0006-001-SetGenericMatch_command01
   173 		COMMAND		resolver1		SetWildcardMatch	SYSLIB-ECOM-PublicAPI-0006-001-SetWildcardMatch_command02
   174 		COMMAND		resolver1		SetDataType		SYSLIB-ECOM-PublicAPI-0006-001-SetDataType_command03
   175 		COMMAND		session1		OpenL		
   176 		COMMAND		session1		ListImplementationsL	SYSLIB-ECOM-PublicAPI-0006-001-ListImplementationsL_command06
   177 		COMMAND		session1		Close		
   178 		COMMAND		session1		FinalClose		
   179 		COMMAND		session1		~		
   180 	END_TEST_BLOCK	
   181 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0006
   182 
   183 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0007
   184 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0007
   185 //! @SYMAPI			REComSession
   186 //! @SYMAuthor			Vassili Tsvetkov
   187 //! @SYMCreationDate		10/03/2006
   188 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   189 //! @SYMTestCaseDesc		Try retrieve a list of all the implementations(2) which satisfy the specified interface
   190 //!				Uses API elements: ListImplementationsL(), FinalClose().
   191 //! @SYMTestActions    		1. Retrieve a list of existing implementations. 2. Finish using ECOM.
   192 //! @SYMTestStatus		Implemented
   193 //! @SYMTestPriority		High
   194 //! @SYMTestExpectedResults  	List retrieved with no errors
   195 //! @SYMTestType		CIT
   196 	START_TEST_BLOCK	3		T_ECOM				\ecom\SYSLIB-ECOM-PublicAPI.ini 
   197 		CREATE_OBJECT	REComSession	session1
   198 		COMMAND		session1	OpenL		
   199 		COMMAND		session1	ListImplementationsL		SYSLIB-ECOM-PublicAPI-0007-001-ListImplementationsL_command02
   200 		COMMAND		session1	Close		
   201 		COMMAND		session1	FinalClose		
   202 		COMMAND		session1	~		
   203 	END_TEST_BLOCK	
   204 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0007
   205 
   206 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0008
   207 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0008
   208 //! @SYMAPI			REComSession, TEComResolverParams
   209 //! @SYMAuthor			Vassili Tsvetkov
   210 //! @SYMCreationDate		10/03/2006
   211 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   212 //! @SYMTestCaseDesc		Try retrieve a list of all the implementations(3) which satisfy the specified interface with
   213 //!				selection restriction to the specified parameters and overload with a client provided CResolver
   214 //!				Uses API elements: ListImplementationsL(), FinalClose().
   215 //! @SYMTestActions    		1. Retrieve a list of existing implementations. 2. Finish using ECOM.
   216 //! @SYMTestStatus		Implemented
   217 //! @SYMTestPriority		High
   218 //! @SYMTestExpectedResults  	List retrieved with no errors
   219 //! @SYMTestType		CIT
   220 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   221 		CREATE_OBJECT	TEComResolverParams	resolver1
   222 		CREATE_OBJECT	REComSession		session1
   223 		COMMAND		resolver1		SetGenericMatch		SYSLIB-ECOM-PublicAPI-0008-001-SetGenericMatch_command01
   224 		COMMAND		resolver1		SetWildcardMatch	SYSLIB-ECOM-PublicAPI-0008-001-SetWildcardMatch_command02
   225 		COMMAND		resolver1		SetDataType		SYSLIB-ECOM-PublicAPI-0008-001-SetDataType_command03
   226 		COMMAND		session1		OpenL		
   227 		COMMAND		session1		ListImplementationsL	SYSLIB-ECOM-PublicAPI-0008-001-ListImplementationsL_command06
   228 		COMMAND		session1		Close		
   229 		COMMAND		session1		FinalClose		
   230 		COMMAND		session1		~		
   231 	END_TEST_BLOCK	
   232 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0008
   233 
   234 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0009
   235 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0009
   236 //! @SYMAPI			REComSession
   237 //! @SYMAuthor			Vassili Tsvetkov
   238 //! @SYMCreationDate		10/03/2006
   239 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   240 //! @SYMTestCaseDesc		Try instantiate an interface implementation to satisfy the specified interface (1)
   241 //!				(TUid aImplementationUid, TUid \&aDtorIDKey)
   242 //!				Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose().
   243 //! @SYMTestActions    		1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM.
   244 //! @SYMTestStatus		Implemented
   245 //! @SYMTestPriority		High
   246 //! @SYMTestExpectedResults  	Implementation created with no errors
   247 //! @SYMTestType		CIT
   248 	START_TEST_BLOCK	3		T_ECOM				\ecom\SYSLIB-ECOM-PublicAPI.ini 
   249 		CREATE_OBJECT	REComSession	session1
   250 		COMMAND		session1	OpenL		
   251 		COMMAND		session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0009-001-CreateImplementationL_command02
   252 		COMMAND		session1	DestroyedImplementation		
   253 		COMMAND		session1	Close		
   254 		COMMAND		session1	FinalClose		
   255 		COMMAND		session1	~		
   256 	END_TEST_BLOCK	
   257 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0009
   258 
   259 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0010
   260 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0010
   261 //! @SYMAPI			REComSession
   262 //! @SYMAuthor			Vassili Tsvetkov
   263 //! @SYMCreationDate		10/03/2006
   264 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   265 //! @SYMTestCaseDesc		Try instantiate an interface implementation to satisfy the specified interface (2)
   266 //!				(TUid aImplementationUid, TInt32 aKeyOffset)
   267 //!				Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose().
   268 //! @SYMTestActions    		1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM.
   269 //! @SYMTestStatus		Implemented
   270 //! @SYMTestPriority		High
   271 //! @SYMTestExpectedResults  	Implementation created with no errors
   272 //! @SYMTestType		CIT
   273 	START_TEST_BLOCK	3		T_ECOM				\ecom\SYSLIB-ECOM-PublicAPI.ini 
   274 		CREATE_OBJECT	REComSession	session1
   275 		COMMAND		session1	OpenL		
   276 		COMMAND		session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0010-001-CreateImplementationL_command02
   277 		COMMAND		session1	DestroyedImplementation		
   278 		COMMAND		session1	Close		
   279 		COMMAND		session1	FinalClose		
   280 		COMMAND		session1	~		
   281 	END_TEST_BLOCK	
   282 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0010
   283 
   284 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0011
   285 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0011
   286 //! @SYMAPI			REComSession
   287 //! @SYMAuthor			Vassili Tsvetkov
   288 //! @SYMCreationDate		10/03/2006
   289 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   290 //! @SYMTestCaseDesc		Try instantiate an interface implementation to satisfy the specified interface (3)
   291 //!				(TUid aImplementationUid, TUid \&aDtorIDKey, TAny *aConstructionParameters)
   292 //!				Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose().
   293 //! @SYMTestActions    		1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM.
   294 //! @SYMTestStatus		Implemented
   295 //! @SYMTestPriority		High
   296 //! @SYMTestExpectedResults  	Implementation created with no errors
   297 //! @SYMTestType		CIT
   298 	START_TEST_BLOCK	3		T_ECOM				\ecom\SYSLIB-ECOM-PublicAPI.ini 
   299 		CREATE_OBJECT	REComSession	session1
   300 		COMMAND		session1	OpenL		
   301 		COMMAND		session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0011-001-CreateImplementationL_command02
   302 		COMMAND		session1	DestroyedImplementation		
   303 		COMMAND		session1	Close		
   304 		COMMAND		session1	FinalClose		
   305 		COMMAND		session1	~		
   306 	END_TEST_BLOCK	
   307 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0011
   308 
   309 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0012
   310 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0012
   311 //! @SYMAPI			REComSession
   312 //! @SYMAuthor			Vassili Tsvetkov
   313 //! @SYMCreationDate		10/03/2006
   314 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   315 //! @SYMTestCaseDesc		Try instantiate an interface implementation to satisfy the specified interface (4)
   316 //!				(TUid aImplementationUid, TInt32 aKeyOffset, TAny *aConstructionParameters)
   317 //!				Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose().
   318 //! @SYMTestActions    		1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM.
   319 //! @SYMTestStatus		Implemented
   320 //! @SYMTestPriority		High
   321 //! @SYMTestExpectedResults  	Implementation created with no errors
   322 //! @SYMTestType		CIT
   323 	START_TEST_BLOCK	3		T_ECOM				\ecom\SYSLIB-ECOM-PublicAPI.ini 
   324 		CREATE_OBJECT	REComSession	session1
   325 		COMMAND		session1	OpenL		
   326 		COMMAND		session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0012-001-CreateImplementationL_command02
   327 		COMMAND		session1	DestroyedImplementation		
   328 		COMMAND		session1	Close		
   329 		COMMAND		session1	FinalClose		
   330 		COMMAND		session1	~		
   331 	END_TEST_BLOCK	
   332 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0012
   333 
   334 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0013
   335 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0013
   336 //! @SYMAPI			REComSession, TEComResolverParams
   337 //! @SYMAuthor			Vassili Tsvetkov
   338 //! @SYMCreationDate		10/03/2006
   339 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   340 //! @SYMTestCaseDesc		Try instantiate an interface implementation to satisfy the specified interface (5)
   341 //!				(TUid aInterfaceUid, TUid \&aDtorIDKey, const TEComResolverParams \&aResolutionParameters)
   342 //!				Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose().
   343 //! @SYMTestActions    		1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM.
   344 //! @SYMTestStatus		Implemented
   345 //! @SYMTestPriority		High
   346 //! @SYMTestExpectedResults  	Implementation created with no errors
   347 //! @SYMTestType		CIT
   348 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   349 		CREATE_OBJECT	TEComResolverParams	resolver1
   350 		CREATE_OBJECT	REComSession		session1
   351 		COMMAND		resolver1		SetGenericMatch		SYSLIB-ECOM-PublicAPI-0013-001-SetGenericMatch_command01
   352 		COMMAND		resolver1		SetWildcardMatch	SYSLIB-ECOM-PublicAPI-0013-001-SetWildcardMatch_command02
   353 		COMMAND		resolver1		SetDataType		SYSLIB-ECOM-PublicAPI-0013-001-SetDataType_command03
   354 		COMMAND		session1		OpenL		
   355 		COMMAND		session1		CreateImplementationL	SYSLIB-ECOM-PublicAPI-0013-001-CreateImplementationL_command06
   356 		COMMAND		session1		DestroyedImplementation		
   357 		COMMAND		session1		Close		
   358 		COMMAND		session1		FinalClose		
   359 		COMMAND		session1		~		
   360 	END_TEST_BLOCK	
   361 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0013
   362 
   363 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0014
   364 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0014
   365 //! @SYMAPI			REComSession, TEComResolverParams
   366 //! @SYMAuthor			Vassili Tsvetkov
   367 //! @SYMCreationDate		10/03/2006
   368 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   369 //! @SYMTestCaseDesc		Try instantiate an interface implementation to satisfy the specified interface (6)
   370 //!				(TUid aInterfaceUid, TInt32 aKeyOffset, const TEComResolverParams \&aResolutionParameters)
   371 //!				Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose().
   372 //! @SYMTestActions    		1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM.
   373 //! @SYMTestStatus		Implemented
   374 //! @SYMTestPriority		High
   375 //! @SYMTestExpectedResults  	Implementation created with no errors
   376 //! @SYMTestType		CIT
   377 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   378 		CREATE_OBJECT	TEComResolverParams	resolver1
   379 		CREATE_OBJECT	REComSession		session1
   380 		COMMAND		resolver1		SetGenericMatch		SYSLIB-ECOM-PublicAPI-0014-001-SetGenericMatch_command01
   381 		COMMAND		resolver1		SetWildcardMatch	SYSLIB-ECOM-PublicAPI-0014-001-SetWildcardMatch_command02
   382 		COMMAND		resolver1		SetDataType		SYSLIB-ECOM-PublicAPI-0014-001-SetDataType_command03
   383 		COMMAND		session1		OpenL		
   384 		COMMAND		session1		CreateImplementationL	SYSLIB-ECOM-PublicAPI-0014-001-CreateImplementationL_command06
   385 		COMMAND		session1		DestroyedImplementation		
   386 		COMMAND		session1		Close		
   387 		COMMAND		session1		FinalClose		
   388 		COMMAND		session1		~		
   389 	END_TEST_BLOCK	
   390 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0014
   391 
   392 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0015
   393 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0015
   394 //! @SYMAPI			REComSession, TEComResolverParams
   395 //! @SYMAuthor			Vassili Tsvetkov
   396 //! @SYMCreationDate		10/03/2006
   397 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   398 //! @SYMTestCaseDesc		Try instantiate an interface implementation to satisfy the specified interface (7)
   399 //!				(TUid aInterfaceUid, TUid \&aDtorIDKey, TAny *aConstructionParameters, const TEComResolverParams \&aResolutionParameters)(TUid aInterfaceUid, TInt32 aKeyOffset, TAny *aConstructionParameters, const TEComResolverParams \&aResolutionParameters)
   400 //!				Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose().
   401 //! @SYMTestActions    		1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM.
   402 //! @SYMTestStatus		Implemented
   403 //! @SYMTestPriority		High
   404 //! @SYMTestExpectedResults  	Implementation created with no errors
   405 //! @SYMTestType		CIT
   406 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   407 		CREATE_OBJECT	TEComResolverParams	resolver1
   408 		CREATE_OBJECT	REComSession		session1
   409 		COMMAND		resolver1		SetGenericMatch		SYSLIB-ECOM-PublicAPI-0015-001-SetGenericMatch_command01
   410 		COMMAND		resolver1		SetWildcardMatch	SYSLIB-ECOM-PublicAPI-0015-001-SetWildcardMatch_command02
   411 		COMMAND		resolver1		SetDataType		SYSLIB-ECOM-PublicAPI-0015-001-SetDataType_command03
   412 		COMMAND		session1		OpenL		
   413 		COMMAND		session1		CreateImplementationL	SYSLIB-ECOM-PublicAPI-0015-001-CreateImplementationL_command06
   414 		COMMAND		session1		DestroyedImplementation		
   415 		COMMAND		session1		Close		
   416 		COMMAND		session1		FinalClose		
   417 		COMMAND		session1		~		
   418 	END_TEST_BLOCK	
   419 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0015
   420 
   421 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0016
   422 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0016
   423 //! @SYMAPI			REComSession, TEComResolverParams
   424 //! @SYMAuthor			Vassili Tsvetkov
   425 //! @SYMCreationDate		10/03/2006
   426 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   427 //! @SYMTestCaseDesc		Try instantiate an interface implementation to satisfy the specified interface (8)
   428 //!				(TUid aInterfaceUid, TInt32 aKeyOffset, TAny *aConstructionParameters, const TEComResolverParams \&aResolutionParameters)
   429 //!				Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose().
   430 //! @SYMTestActions    		1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM.
   431 //! @SYMTestStatus		Implemented
   432 //! @SYMTestPriority		High
   433 //! @SYMTestExpectedResults  	Implementation created with no errors
   434 //! @SYMTestType		CIT
   435 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   436 		CREATE_OBJECT	TEComResolverParams	resolver1
   437 		CREATE_OBJECT	REComSession		session1
   438 		COMMAND		resolver1		SetGenericMatch		SYSLIB-ECOM-PublicAPI-0016-001-SetGenericMatch_command01
   439 		COMMAND		resolver1		SetWildcardMatch	SYSLIB-ECOM-PublicAPI-0016-001-SetWildcardMatch_command02
   440 		COMMAND		resolver1		SetDataType		SYSLIB-ECOM-PublicAPI-0016-001-SetDataType_command03
   441 		COMMAND		session1		OpenL		
   442 		COMMAND		session1		CreateImplementationL	SYSLIB-ECOM-PublicAPI-0016-001-CreateImplementationL_command06
   443 		COMMAND		session1		DestroyedImplementation		
   444 		COMMAND		session1		Close		
   445 		COMMAND		session1		FinalClose		
   446 		COMMAND		session1		~		
   447 	END_TEST_BLOCK	
   448 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0016
   449 
   450 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0017
   451 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0017
   452 //! @SYMAPI			REComSession, TEComResolverParams
   453 //! @SYMAuthor			Vassili Tsvetkov
   454 //! @SYMCreationDate		10/03/2006
   455 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   456 //! @SYMTestCaseDesc		Try instantiate an interface implementation to satisfy the specified interface (9)
   457 //!				(TUid aInterfaceUid, TUid \&aDtorIDKey, const TEComResolverParams \&aResolutionParameters, TUid aResolverUid)
   458 //!				Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose().
   459 //! @SYMTestActions    		1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM.
   460 //! @SYMTestStatus		Implemented
   461 //! @SYMTestPriority		High
   462 //! @SYMTestExpectedResults  	Implementation created with no errors
   463 //! @SYMTestType		CIT
   464 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   465 		CREATE_OBJECT	TEComResolverParams	resolver1
   466 		CREATE_OBJECT	REComSession		session1
   467 		COMMAND		resolver1		SetGenericMatch		SYSLIB-ECOM-PublicAPI-0017-001-SetGenericMatch_command01
   468 		COMMAND		resolver1		SetWildcardMatch	SYSLIB-ECOM-PublicAPI-0017-001-SetWildcardMatch_command02
   469 		COMMAND		resolver1		SetDataType		SYSLIB-ECOM-PublicAPI-0017-001-SetDataType_command03
   470 		COMMAND		session1		OpenL		
   471 		COMMAND		session1		CreateImplementationL	SYSLIB-ECOM-PublicAPI-0017-001-CreateImplementationL_command06
   472 		COMMAND		session1		DestroyedImplementation		
   473 		COMMAND		session1		Close		
   474 		COMMAND		session1		FinalClose		
   475 		COMMAND		session1		~		
   476 	END_TEST_BLOCK	
   477 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0017
   478 
   479 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0018
   480 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0018
   481 //! @SYMAPI			REComSession, TEComResolverParams
   482 //! @SYMAuthor			Vassili Tsvetkov
   483 //! @SYMCreationDate		10/03/2006
   484 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   485 //! @SYMTestCaseDesc		Try instantiate an interface implementation to satisfy the specified interface (10)
   486 //!				(TUid aInterfaceUid, TInt32 aKeyOffset, const TEComResolverParams \&aResolutionParameters, TUid aResolverUid)
   487 //!				Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose().
   488 //! @SYMTestActions    		1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM.
   489 //! @SYMTestStatus		Implemented
   490 //! @SYMTestPriority		High
   491 //! @SYMTestExpectedResults  	Implementation created with no errors
   492 //! @SYMTestType		CIT
   493 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   494 		CREATE_OBJECT	TEComResolverParams	resolver1
   495 		CREATE_OBJECT	REComSession		session1
   496 		COMMAND		resolver1		SetGenericMatch		SYSLIB-ECOM-PublicAPI-0018-001-SetGenericMatch_command01
   497 		COMMAND		resolver1		SetWildcardMatch	SYSLIB-ECOM-PublicAPI-0018-001-SetWildcardMatch_command02
   498 		COMMAND		resolver1		SetDataType		SYSLIB-ECOM-PublicAPI-0018-001-SetDataType_command03
   499 		COMMAND		session1		OpenL		
   500 		COMMAND		session1		CreateImplementationL	SYSLIB-ECOM-PublicAPI-0018-001-CreateImplementationL_command06
   501 		COMMAND		session1		DestroyedImplementation		
   502 		COMMAND		session1		Close		
   503 		COMMAND		session1		FinalClose		
   504 		COMMAND		session1		~		
   505 	END_TEST_BLOCK	
   506 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0018
   507 
   508 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0019
   509 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0019
   510 //! @SYMAPI			REComSession, TEComResolverParams
   511 //! @SYMAuthor			Vassili Tsvetkov
   512 //! @SYMCreationDate		10/03/2006
   513 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   514 //! @SYMTestCaseDesc		Try instantiate an interface implementation to satisfy the specified interface (11)
   515 //!				(TUid aInterfaceUid, TUid \&aDtorIDKey, TAny *aConstructionParameters, const TEComResolverParams \&aResolutionParameters, TUid aResolverUid)
   516 //!				Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose().
   517 //! @SYMTestActions    		1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM.
   518 //! @SYMTestStatus		Implemented
   519 //! @SYMTestPriority		High
   520 //! @SYMTestExpectedResults  	Implementation created with no errors
   521 //! @SYMTestType		CIT
   522 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   523 		CREATE_OBJECT	TEComResolverParams	resolver1
   524 		CREATE_OBJECT	REComSession	session1
   525 		COMMAND		resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0019-001-SetGenericMatch_command01
   526 		COMMAND		resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0019-001-SetWildcardMatch_command02
   527 		COMMAND		resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0019-001-SetDataType_command03
   528 		COMMAND		session1	OpenL		
   529 		COMMAND		session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0019-001-CreateImplementationL_command06
   530 		COMMAND		session1	DestroyedImplementation		
   531 		COMMAND		session1	Close		
   532 		COMMAND		session1	FinalClose		
   533 		COMMAND		session1	~		
   534 	END_TEST_BLOCK	
   535 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0019
   536 
   537 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0020
   538 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0020
   539 //! @SYMAPI			REComSession, TEComResolverParams
   540 //! @SYMAuthor			Vassili Tsvetkov
   541 //! @SYMCreationDate		10/03/2006
   542 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   543 //! @SYMTestCaseDesc		Try instantiate an interface implementation to satisfy the specified interface (12)
   544 //!				(TUid aInterfaceUid, TInt32 aKeyOffset, TAny *aConstructionParameters, const TEComResolverParams \&aResolutionParameters, TUid aResolverUid)
   545 //!				Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose().
   546 //! @SYMTestActions    		1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM.
   547 //! @SYMTestStatus		Implemented
   548 //! @SYMTestPriority		High
   549 //! @SYMTestExpectedResults  	Implementation created with no errors
   550 //! @SYMTestType		CIT
   551 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   552 		CREATE_OBJECT	TEComResolverParams	resolver1
   553 		CREATE_OBJECT	REComSession	session1
   554 		COMMAND		resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0020-001-SetGenericMatch_command01
   555 		COMMAND		resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0020-001-SetWildcardMatch_command02
   556 		COMMAND		resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0020-001-SetDataType_command03
   557 		COMMAND		session1	OpenL		
   558 		COMMAND		session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0020-001-CreateImplementationL_command06
   559 		COMMAND		session1	DestroyedImplementation		
   560 		COMMAND		session1	Close		
   561 		COMMAND		session1	FinalClose		
   562 		COMMAND		session1	~		
   563 	END_TEST_BLOCK	
   564 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0020
   565 
   566 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0021
   567 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0021
   568 //! @SYMAPI			REComSession, TEComResolverParams
   569 //! @SYMAuthor			Vassili Tsvetkov
   570 //! @SYMCreationDate		22/03/2006
   571 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   572 //! @SYMTestCaseDesc		Try retrieve a list of all the implementations(1) with wrong interface uid
   573 //!				Uses API elements: ListImplementationsL(), FinalClose().
   574 //! @SYMTestActions		1. Retrieve a list of implementations with  wrong interface uid. 2. Finish using ECOM.
   575 //! @SYMTestStatus		Implemented
   576 //! @SYMTestPriority		High
   577 //! @SYMTestExpectedResults  	KErrArgument. The implementations list isn't returned and aImplInfoArray isn't initialised.
   578 //! @SYMTestType		CIT
   579 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   580 		CREATE_OBJECT	TEComResolverParams	resolver1
   581 		CREATE_OBJECT	REComSession	session1
   582 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0021-001-SetGenericMatch_command01
   583 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0021-001-SetWildcardMatch_command02
   584 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0021-001-SetDataType_command03
   585 		COMMAND			session1	OpenL		
   586 		COMMAND	!Error=-6	session1	ListImplementationsL		SYSLIB-ECOM-PublicAPI-0021-001-ListImplementationsL_command06
   587 		COMMAND			session1	Close		
   588 		COMMAND			session1	FinalClose		
   589 		COMMAND			session1	~		
   590 	END_TEST_BLOCK	
   591 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0021
   592 
   593 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0022
   594 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0022
   595 //! @SYMAPI			REComSession, TEComResolverParams
   596 //! @SYMAuthor			Vassili Tsvetkov
   597 //! @SYMCreationDate		22/03/2006
   598 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   599 //! @SYMTestCaseDesc		Try retrieve a list of all the implementations(1) with impossible parameter conditions
   600 //!				Uses API elements: ListImplementationsL(), FinalClose().
   601 //! @SYMTestActions		1. Retrieve a list of implementations with impossible parameter conditions. 2. Finish using ECOM.
   602 //! @SYMTestStatus		Implemented
   603 //! @SYMTestPriority		High
   604 //! @SYMTestExpectedResults  	KErrArgument. The implementations list isn't returned and aImplInfoArray isn't initialised.
   605 //! @SYMTestType		CIT
   606 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   607 		CREATE_OBJECT	TEComResolverParams	resolver1
   608 		CREATE_OBJECT	REComSession	session1
   609 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0022-001-SetGenericMatch_command01
   610 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0022-001-SetWildcardMatch_command02
   611 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0022-001-SetDataType_command03
   612 		COMMAND			session1	OpenL		
   613 		COMMAND	!Error=-6	session1	ListImplementationsL		SYSLIB-ECOM-PublicAPI-0022-001-ListImplementationsL_command06
   614 		COMMAND			session1	Close		
   615 		COMMAND			session1	FinalClose		
   616 		COMMAND			session1	~		
   617 	END_TEST_BLOCK	
   618 END_TESTCASE			SYSLIB-ECOM-PublicAPI-0022
   619 
   620 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0023
   621 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0023
   622 //! @SYMAPI			REComSession
   623 //! @SYMAuthor			Vassili Tsvetkov
   624 //! @SYMCreationDate		22/03/2006
   625 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   626 //! @SYMTestCaseDesc		Try retrieve a list of all the implementations(2) with wrong interface uid
   627 //!				Uses API elements: ListImplementationsL(), FinalClose().
   628 //! @SYMTestActions		1. Retrieve a list of implementations with wrong interface uid. 2. Finish using ECOM.
   629 //! @SYMTestStatus		Implemented
   630 //! @SYMTestPriority		High
   631 //! @SYMTestExpectedResults  	KErrArgument. The implementations list isn't returned and aImplInfoArray isn't initialised.
   632 //! @SYMTestType		CIT
   633 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   634 		CREATE_OBJECT	REComSession	session1
   635 		COMMAND			session1	OpenL		
   636 		COMMAND	!Error=-6	session1	ListImplementationsL		SYSLIB-ECOM-PublicAPI-0023-001-ListImplementationsL_command02
   637 		COMMAND			session1	Close		
   638 		COMMAND			session1	FinalClose		
   639 		COMMAND			session1	~		
   640 	END_TEST_BLOCK	
   641 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0023
   642 
   643 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0024
   644 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0024
   645 //! @SYMAPI			REComSession, TEComResolverParams
   646 //! @SYMAuthor			Vassili Tsvetkov
   647 //! @SYMCreationDate		22/03/2006
   648 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   649 //! @SYMTestCaseDesc		Try retrieve a list of all the implementations(3) with wrong interface uid
   650 //!				Uses API elements: ListImplementationsL(), FinalClose().
   651 //! @SYMTestActions		1. Retrieve a list of implementations with wrong interface uid. 2. Finish using ECOM.
   652 //! @SYMTestStatus		Implemented
   653 //! @SYMTestPriority		High
   654 //! @SYMTestExpectedResults  	KErrArgument. The implementations list isn't returned and aImplInfoArray isn't initialised.
   655 //! @SYMTestType		CIT
   656 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   657 		CREATE_OBJECT	TEComResolverParams	resolver1
   658 		CREATE_OBJECT	REComSession	session1
   659 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0024-001-SetGenericMatch_command01
   660 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0024-001-SetWildcardMatch_command02
   661 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0024-001-SetDataType_command03
   662 		COMMAND			session1	OpenL		
   663 		COMMAND	!Error=-6	session1	ListImplementationsL		SYSLIB-ECOM-PublicAPI-0024-001-ListImplementationsL_command06
   664 		COMMAND			session1	Close		
   665 		COMMAND			session1	FinalClose		
   666 		COMMAND			session1	~		
   667 	END_TEST_BLOCK	
   668 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0024
   669 
   670 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0025
   671 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0025
   672 //! @SYMAPI			REComSession, TEComResolverParams
   673 //! @SYMAuthor			Vassili Tsvetkov
   674 //! @SYMCreationDate		22/03/2006
   675 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   676 //! @SYMTestCaseDesc		Try retrieve a list of all the implementations(3) with impossible parameter conditions
   677 //!				Uses API elements: ListImplementationsL(), FinalClose().
   678 //! @SYMTestActions		1. Retrieve a list of implementations with impossible parameter conditions. 2. Finish using ECOM.
   679 //! @SYMTestStatus		Implemented
   680 //! @SYMTestPriority		High
   681 //! @SYMTestExpectedResults  	KErrArgument. The implementations list isn't returned and aImplInfoArray isn't initialised.
   682 //! @SYMTestType		CIT
   683 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   684 		CREATE_OBJECT	TEComResolverParams	resolver1
   685 		CREATE_OBJECT	REComSession	session1
   686 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0025-001-SetGenericMatch_command01
   687 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0025-001-SetWildcardMatch_command02
   688 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0025-001-SetDataType_command03
   689 		COMMAND			session1	OpenL		
   690 		COMMAND	!Error=-6	session1	ListImplementationsL		SYSLIB-ECOM-PublicAPI-0025-001-ListImplementationsL_command06
   691 		COMMAND			session1	Close		
   692 		COMMAND			session1	FinalClose		
   693 		COMMAND			session1	~		
   694 	END_TEST_BLOCK	
   695 END_TESTCASE			SYSLIB-ECOM-PublicAPI-0025
   696 
   697 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0026
   698 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0026
   699 //! @SYMAPI			REComSession, TEComResolverParams
   700 //! @SYMAuthor			Vassili Tsvetkov
   701 //! @SYMCreationDate		22/03/2006
   702 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   703 //! @SYMTestCaseDesc		Try retrieve a list of all the implementations(3) with wrong resolver uid
   704 //!				Uses API elements: ListImplementationsL(), FinalClose().
   705 //! @SYMTestActions		1. Retrieve a list of implementations with wrong resolver uid. 2. Finish using ECOM.
   706 //! @SYMTestStatus		Implemented
   707 //! @SYMTestPriority		High
   708 //! @SYMTestExpectedResults  	KErrArgument. The implementations list isn't returned and aImplInfoArray isn't initialised.
   709 //! @SYMTestType		CIT
   710 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   711 		CREATE_OBJECT	TEComResolverParams	resolver1
   712 		CREATE_OBJECT	REComSession	session1
   713 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0026-001-SetGenericMatch_command01
   714 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0026-001-SetWildcardMatch_command02
   715 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0026-001-SetDataType_command03
   716 		COMMAND			session1	OpenL		
   717 		COMMAND	!Error=-6	session1	ListImplementationsL		SYSLIB-ECOM-PublicAPI-0026-001-ListImplementationsL_command06
   718 		COMMAND			session1	Close		
   719 		COMMAND			session1	FinalClose		
   720 		COMMAND			session1	~		
   721 	END_TEST_BLOCK	
   722 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0026
   723 
   724 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0027
   725 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0027
   726 //! @SYMAPI			REComSession
   727 //! @SYMAuthor			Vassili Tsvetkov
   728 //! @SYMCreationDate		22/03/2006
   729 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   730 //! @SYMTestCaseDesc		Try instantiate an interface implementation(1) with wrong interface uid
   731 //!				Uses API elements: CreateImplementationL(), FinalClose().
   732 //! @SYMTestActions		1. Create implementation with wrong interface uid. 2. Finish using ECOM.
   733 //! @SYMTestStatus		Implemented
   734 //! @SYMTestPriority		High
   735 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
   736 //! @SYMTestType		CIT
   737 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   738 		CREATE_OBJECT	REComSession	session1
   739 		COMMAND			session1	OpenL		
   740 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0027-001-CreateImplementationL_command02
   741 		COMMAND			session1	Close		
   742 		COMMAND			session1	FinalClose		
   743 		COMMAND			session1	~		
   744 	END_TEST_BLOCK	
   745 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0027
   746 
   747 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0028
   748 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0028
   749 //! @SYMAPI			REComSession
   750 //! @SYMAuthor			Vassili Tsvetkov
   751 //! @SYMCreationDate		22/03/2006
   752 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   753 //! @SYMTestCaseDesc		Try instantiate an interface implementation(2) with wrong interface uid
   754 //!				Uses API elements: CreateImplementationL(), FinalClose().
   755 //! @SYMTestActions		1. Create implementation with wrong interface uid. 2. Finish using ECOM.
   756 //! @SYMTestStatus		Implemented
   757 //! @SYMTestPriority		High
   758 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
   759 //! @SYMTestType		CIT
   760 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   761 		CREATE_OBJECT	REComSession	session1
   762 		COMMAND			session1	OpenL		
   763 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0028-001-CreateImplementationL_command02
   764 		COMMAND			session1	DestroyedImplementation		SYSLIB-ECOM-PublicAPI-0028-001-DestroyedImplementation_command03
   765 		COMMAND			session1	Close		
   766 		COMMAND			session1	FinalClose		
   767 		COMMAND			session1	~		
   768 	END_TEST_BLOCK	
   769 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0028
   770 
   771 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0030
   772 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0030
   773 //! @SYMAPI			REComSession
   774 //! @SYMAuthor			Vassili Tsvetkov
   775 //! @SYMCreationDate		22/03/2006
   776 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   777 //! @SYMTestCaseDesc		Try instantiate an interface implementation(3) with wrong
   778 //!				interface uid
   779 //!				Uses API elements: CreateImplementationL(), FinalClose().
   780 //! @SYMTestActions		1. Create implementation with wrong interface uid. 2. Finish using ECOM.
   781 //! @SYMTestStatus		Implemented
   782 //! @SYMTestPriority		High
   783 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
   784 //! @SYMTestType		CIT
   785 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   786 		CREATE_OBJECT	REComSession	session1
   787 		COMMAND			session1	OpenL		
   788 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0030-001-CreateImplementationL_command02
   789 		COMMAND			session1	Close		
   790 		COMMAND			session1	FinalClose		
   791 		COMMAND			session1	~		
   792 	END_TEST_BLOCK	
   793 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0030
   794 
   795 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0031
   796 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0031
   797 //! @SYMAPI			REComSession
   798 //! @SYMAuthor			Vassili Tsvetkov
   799 //! @SYMCreationDate		22/03/2006
   800 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   801 //! @SYMTestCaseDesc		Try instantiate an interface implementation(4) with wrong
   802 //!				interface uid
   803 //!				Uses API elements: CreateImplementationL(), FinalClose().
   804 //! @SYMTestActions		1. Create implementation with wrong interface uid. 2. Finish using ECOM.
   805 //! @SYMTestStatus		Implemented
   806 //! @SYMTestPriority		High
   807 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
   808 //! @SYMTestType		CIT
   809 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   810 		CREATE_OBJECT	REComSession	session1
   811 		COMMAND			session1	OpenL		
   812 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0031-001-CreateImplementationL_command02
   813 		COMMAND			session1	Close		
   814 		COMMAND			session1	FinalClose		
   815 		COMMAND			session1	~		
   816 	END_TEST_BLOCK	
   817 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0031
   818 
   819 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0033
   820 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0033
   821 //! @SYMAPI			REComSession, TEComResolverParams
   822 //! @SYMAuthor			Vassili Tsvetkov
   823 //! @SYMCreationDate		22/03/2006
   824 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   825 //! @SYMTestCaseDesc		Try instantiate an interface implementation(5) with wrong
   826 //!				interface uid
   827 //!				Uses API elements: CreateImplementationL(), FinalClose().
   828 //! @SYMTestActions		1. Create implementation with wrong interface uid. 2. Finish using ECOM.
   829 //! @SYMTestStatus		Implemented
   830 //! @SYMTestPriority		High
   831 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
   832 //! @SYMTestType		CIT
   833 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   834 		CREATE_OBJECT	TEComResolverParams	resolver1
   835 		CREATE_OBJECT	REComSession	session1
   836 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0033-001-SetGenericMatch_command01
   837 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0033-001-SetWildcardMatch_command02
   838 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0033-001-SetDataType_command03
   839 		COMMAND			session1	OpenL		
   840 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0033-001-CreateImplementationL_command06
   841 		COMMAND			session1	Close		
   842 		COMMAND			session1	FinalClose		
   843 		COMMAND			session1	~		
   844 	END_TEST_BLOCK	
   845 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0033
   846 
   847 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0034
   848 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0034
   849 //! @SYMAPI			REComSession, TEComResolverParams
   850 //! @SYMAuthor			Vassili Tsvetkov
   851 //! @SYMCreationDate		22/03/2006
   852 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   853 //! @SYMTestCaseDesc		Try instantiate an interface implementation(5) with impossible
   854 //!				parameter conditions
   855 //!				Uses API elements: CreateImplementationL(), FinalClose().
   856 //! @SYMTestActions		1. Create implementation with impossible parameter conditions. 2. Finish using ECOM.
   857 //! @SYMTestStatus		Implemented
   858 //! @SYMTestPriority		High
   859 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
   860 //! @SYMTestType		CIT
   861 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   862 		CREATE_OBJECT	TEComResolverParams	resolver1
   863 		CREATE_OBJECT	REComSession	session1
   864 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0034-001-SetGenericMatch_command01
   865 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0034-001-SetWildcardMatch_command02
   866 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0034-001-SetDataType_command03
   867 		COMMAND			session1	OpenL		
   868 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0034-001-CreateImplementationL_command06
   869 		COMMAND			session1	Close		
   870 		COMMAND			session1	FinalClose		
   871 		COMMAND			session1	~		
   872 	END_TEST_BLOCK	
   873 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0034
   874 
   875 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0035
   876 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0035
   877 //! @SYMAPI			REComSession, TEComResolverParams
   878 //! @SYMAuthor			Vassili Tsvetkov
   879 //! @SYMCreationDate		22/03/2006
   880 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   881 //! @SYMTestCaseDesc		Try instantiate an interface implementation(6) with wrong
   882 //!				interface uid
   883 //!				Uses API elements: CreateImplementationL(), FinalClose().
   884 //! @SYMTestActions		1. Create implementation with wrong interface uid. 2. Finish using ECOM.
   885 //! @SYMTestStatus		Implemented
   886 //! @SYMTestPriority		High
   887 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
   888 //! @SYMTestType		CIT
   889 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   890 		CREATE_OBJECT	TEComResolverParams	resolver1
   891 		CREATE_OBJECT	REComSession	session1
   892 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0035-001-SetGenericMatch_command01
   893 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0035-001-SetWildcardMatch_command02
   894 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0035-001-SetDataType_command03
   895 		COMMAND			session1	OpenL		
   896 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0035-001-CreateImplementationL_command06
   897 		COMMAND			session1	Close		
   898 		COMMAND			session1	FinalClose		
   899 		COMMAND			session1	~		
   900 	END_TEST_BLOCK	
   901 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0035
   902 
   903 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0037
   904 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0037
   905 //! @SYMAPI			REComSession, TEComResolverParams
   906 //! @SYMAuthor			Vassili Tsvetkov
   907 //! @SYMCreationDate		22/03/2006
   908 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   909 //! @SYMTestCaseDesc		Try instantiate an interface implementation(6) with non discoverable
   910 //!				parameter conditions
   911 //!				Uses API elements: CreateImplementationL(), FinalClose().
   912 //! @SYMTestActions		1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM.
   913 //! @SYMTestStatus		Implemented
   914 //! @SYMTestPriority		High
   915 //! @SYMTestExpectedResults  	KErrNotFOund
   916 //! @SYMTestType		CIT
   917 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   918 		CREATE_OBJECT	TEComResolverParams	resolver1
   919 		CREATE_OBJECT	REComSession	session1
   920 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0037-001-SetGenericMatch_command01
   921 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0037-001-SetWildcardMatch_command02
   922 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0037-001-SetDataType_command03
   923 		COMMAND			session1	OpenL		
   924 		COMMAND	!Error=-1	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0037-001-CreateImplementationL_command06
   925 		COMMAND			session1	Close		
   926 		COMMAND			session1	FinalClose		
   927 		COMMAND			session1	~		
   928 	END_TEST_BLOCK	
   929 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0037
   930 
   931 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0038
   932 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0038
   933 //! @SYMAPI			REComSession, TEComResolverParams
   934 //! @SYMAuthor			Vassili Tsvetkov
   935 //! @SYMCreationDate		22/03/2006
   936 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   937 //! @SYMTestCaseDesc		Try instantiate an interface implementation(7) with wrong
   938 //!				interface uid
   939 //!				Uses API elements: CreateImplementationL(), FinalClose(), FinalClose().
   940 //! @SYMTestActions		1. Create implementation with wrong interface uid.
   941 //! @SYMTestStatus		Implemented
   942 //! @SYMTestPriority		High
   943 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed. 2. Finish using ECOM.
   944 //! @SYMTestType		CIT
   945 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   946 		CREATE_OBJECT	TEComResolverParams	resolver1
   947 		CREATE_OBJECT	REComSession	session1
   948 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0038-001-SetGenericMatch_command01
   949 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0038-001-SetWildcardMatch_command02
   950 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0038-001-SetDataType_command03
   951 		COMMAND			session1	OpenL		
   952 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0038-001-CreateImplementationL_command06
   953 		COMMAND			session1	Close		
   954 		COMMAND			session1	FinalClose		
   955 		COMMAND			session1	~		
   956 	END_TEST_BLOCK	
   957 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0038
   958 
   959 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0039
   960 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0039
   961 //! @SYMAPI			REComSession, TEComResolverParams
   962 //! @SYMAuthor			Vassili Tsvetkov
   963 //! @SYMCreationDate		22/03/2006
   964 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   965 //! @SYMTestCaseDesc		Try instantiate an interface implementation(7) with non discoverable
   966 //!				parameter conditions
   967 //!				Uses API elements: CreateImplementationL(), FinalClose().
   968 //! @SYMTestActions		1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM.
   969 //! @SYMTestStatus		Implemented
   970 //! @SYMTestPriority		High
   971 //! @SYMTestExpectedResults  	KErrNotFOund
   972 //! @SYMTestType		CIT
   973 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
   974 		CREATE_OBJECT	TEComResolverParams	resolver1
   975 		CREATE_OBJECT	REComSession	session1
   976 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0039-001-SetGenericMatch_command01
   977 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0039-001-SetWildcardMatch_command02
   978 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0039-001-SetDataType_command03
   979 		COMMAND			session1	OpenL		
   980 		COMMAND	!Error=-1	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0039-001-CreateImplementationL_command06
   981 		COMMAND			session1	Close		
   982 		COMMAND			session1	FinalClose		
   983 		COMMAND			session1	~		
   984 	END_TEST_BLOCK	
   985 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0039
   986 
   987 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0040
   988 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0040
   989 //! @SYMAPI			REComSession, TEComResolverParams
   990 //! @SYMAuthor			Vassili Tsvetkov
   991 //! @SYMCreationDate		22/03/2006
   992 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
   993 //! @SYMTestCaseDesc		Try instantiate an interface implementation(8) with wrong
   994 //!				interface uid
   995 //!				Uses API elements: CreateImplementationL(), FinalClose().
   996 //! @SYMTestActions		1. Create implementation with wrong interface uid. 2. Finish using ECOM.
   997 //! @SYMTestStatus		Implemented
   998 //! @SYMTestPriority		High
   999 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
  1000 //! @SYMTestType		CIT
  1001 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1002 		CREATE_OBJECT	TEComResolverParams	resolver1
  1003 		CREATE_OBJECT	REComSession	session1
  1004 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0040-001-SetGenericMatch_command01
  1005 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0040-001-SetWildcardMatch_command02
  1006 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0040-001-SetDataType_command03
  1007 		COMMAND			session1	OpenL		
  1008 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0040-001-CreateImplementationL_command06
  1009 		COMMAND			session1	Close		
  1010 		COMMAND			session1	FinalClose		
  1011 		COMMAND			session1	~		
  1012 	END_TEST_BLOCK	
  1013 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0040
  1014 
  1015 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0042
  1016 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0042
  1017 //! @SYMAPI			REComSession, TEComResolverParams
  1018 //! @SYMAuthor			Vassili Tsvetkov
  1019 //! @SYMCreationDate		22/03/2006
  1020 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1021 //! @SYMTestCaseDesc		Try instantiate an interface implementation(8) with non discoverable
  1022 //!				parameter conditions
  1023 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1024 //! @SYMTestActions		1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM.
  1025 //! @SYMTestStatus		Implemented
  1026 //! @SYMTestPriority		High
  1027 //! @SYMTestExpectedResults  	KErrNotFound
  1028 //! @SYMTestType		CIT
  1029 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1030 		CREATE_OBJECT	TEComResolverParams	resolver1
  1031 		CREATE_OBJECT	REComSession	session1
  1032 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0042-001-SetGenericMatch_command01
  1033 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0042-001-SetWildcardMatch_command02
  1034 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0042-001-SetDataType_command03
  1035 		COMMAND			session1	OpenL		
  1036 		COMMAND	!Error=-1	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0042-001-CreateImplementationL_command06
  1037 		COMMAND			session1	Close		
  1038 		COMMAND			session1	FinalClose		
  1039 		COMMAND			session1	~		
  1040 	END_TEST_BLOCK	
  1041 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0042
  1042 
  1043 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0043
  1044 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0043
  1045 //! @SYMAPI			REComSession, TEComResolverParams
  1046 //! @SYMAuthor			Vassili Tsvetkov
  1047 //! @SYMCreationDate		22/03/2006
  1048 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1049 //! @SYMTestCaseDesc		Try instantiate an interface implementation(9) with wrong
  1050 //!				interface uid
  1051 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1052 //! @SYMTestActions		1. Create implementation with wrong interface uid. 2. Finish using ECOM.
  1053 //! @SYMTestStatus		Implemented
  1054 //! @SYMTestPriority		High
  1055 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
  1056 //! @SYMTestType		CIT
  1057 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1058 		CREATE_OBJECT	TEComResolverParams	resolver1
  1059 		CREATE_OBJECT	REComSession	session1
  1060 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0043-001-SetGenericMatch_command01
  1061 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0043-001-SetWildcardMatch_command02
  1062 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0043-001-SetDataType_command03
  1063 		COMMAND			session1	OpenL		
  1064 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0043-001-CreateImplementationL_command06
  1065 		COMMAND			session1	Close		
  1066 		COMMAND			session1	FinalClose		
  1067 		COMMAND			session1	~		
  1068 	END_TEST_BLOCK	
  1069 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0043
  1070 
  1071 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0044
  1072 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0044
  1073 //! @SYMAPI			REComSession, TEComResolverParams
  1074 //! @SYMAuthor			Vassili Tsvetkov
  1075 //! @SYMCreationDate		22/03/2006
  1076 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1077 //! @SYMTestCaseDesc		Try instantiate an interface implementation(9) with non discoverable
  1078 //!				parameter conditions
  1079 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1080 //! @SYMTestActions		1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM.
  1081 //! @SYMTestStatus		Implemented
  1082 //! @SYMTestPriority		High
  1083 //! @SYMTestExpectedResults  	KErrNotFound
  1084 //! @SYMTestType		CIT
  1085 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1086 		CREATE_OBJECT	TEComResolverParams	resolver1
  1087 		CREATE_OBJECT	REComSession	session1
  1088 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0044-001-SetGenericMatch_command01
  1089 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0044-001-SetWildcardMatch_command02
  1090 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0044-001-SetDataType_command03
  1091 		COMMAND			session1	OpenL		
  1092 		COMMAND	!Error=-1	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0044-001-CreateImplementationL_command06
  1093 		COMMAND			session1	Close		
  1094 		COMMAND			session1	FinalClose		
  1095 		COMMAND			session1	~		
  1096 	END_TEST_BLOCK	
  1097 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0044
  1098 
  1099 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0045
  1100 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0045
  1101 //! @SYMAPI			REComSession, TEComResolverParams
  1102 //! @SYMAuthor			Vassili Tsvetkov
  1103 //! @SYMCreationDate		22/03/2006
  1104 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1105 //! @SYMTestCaseDesc		Try instantiate an interface implementation(9) with wrong
  1106 //!				resolver uid
  1107 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1108 //! @SYMTestActions		1. Create implementation with wrong resolver uid. 2. Finish using ECOM.
  1109 //! @SYMTestStatus		Implemented
  1110 //! @SYMTestPriority		High
  1111 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
  1112 //! @SYMTestType		CIT
  1113 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1114 		CREATE_OBJECT	TEComResolverParams	resolver1
  1115 		CREATE_OBJECT	REComSession	session1
  1116 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0045-001-SetGenericMatch_command01
  1117 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0045-001-SetWildcardMatch_command02
  1118 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0045-001-SetDataType_command03
  1119 		COMMAND			session1	OpenL		
  1120 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0045-001-CreateImplementationL_command06
  1121 		COMMAND			session1	Close		
  1122 		COMMAND			session1	FinalClose		
  1123 		COMMAND			session1	~		
  1124 	END_TEST_BLOCK	
  1125 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0045
  1126 
  1127 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0046
  1128 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0046
  1129 //! @SYMAPI			REComSession, TEComResolverParams
  1130 //! @SYMAuthor			Vassili Tsvetkov
  1131 //! @SYMCreationDate		22/03/2006
  1132 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1133 //! @SYMTestCaseDesc		Try instantiate an interface implementation(10) with wrong
  1134 //!				interface uid
  1135 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1136 //! @SYMTestActions		1. Create implementation with wrong interface uid. 2. Finish using ECOM.
  1137 //! @SYMTestStatus		Implemented
  1138 //! @SYMTestPriority		High
  1139 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
  1140 //! @SYMTestType		CIT
  1141 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1142 		CREATE_OBJECT	TEComResolverParams	resolver1
  1143 		CREATE_OBJECT	REComSession	session1
  1144 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0046-001-SetGenericMatch_command01
  1145 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0046-001-SetWildcardMatch_command02
  1146 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0046-001-SetDataType_command03
  1147 		COMMAND			session1	OpenL		
  1148 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0046-001-CreateImplementationL_command06
  1149 		COMMAND			session1	Close		
  1150 		COMMAND			session1	FinalClose		
  1151 		COMMAND			session1	~		
  1152 	END_TEST_BLOCK	
  1153 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0046
  1154 
  1155 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0048
  1156 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0048
  1157 //! @SYMAPI			REComSession, TEComResolverParams
  1158 //! @SYMAuthor			Vassili Tsvetkov
  1159 //! @SYMCreationDate		22/03/2006
  1160 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1161 //! @SYMTestCaseDesc		Try instantiate an interface implementation(10) with non discoverable
  1162 //!				parameter conditions
  1163 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1164 //! @SYMTestActions		1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM.
  1165 //! @SYMTestStatus		Implemented
  1166 //! @SYMTestPriority		High
  1167 //! @SYMTestExpectedResults  	KErrNotFound
  1168 //! @SYMTestType		CIT
  1169 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1170 		CREATE_OBJECT	TEComResolverParams	resolver1
  1171 		CREATE_OBJECT	REComSession	session1
  1172 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0048-001-SetGenericMatch_command01
  1173 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0048-001-SetWildcardMatch_command02
  1174 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0048-001-SetDataType_command03
  1175 		COMMAND			session1	OpenL		
  1176 		COMMAND	!Error=-1	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0048-001-CreateImplementationL_command06
  1177 		COMMAND			session1	Close		
  1178 		COMMAND			session1	FinalClose		
  1179 		COMMAND			session1	~		
  1180 	END_TEST_BLOCK	
  1181 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0048
  1182 
  1183 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0049
  1184 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0049
  1185 //! @SYMAPI			REComSession, TEComResolverParams
  1186 //! @SYMAuthor			Vassili Tsvetkov
  1187 //! @SYMCreationDate		22/03/2006
  1188 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1189 //! @SYMTestCaseDesc		Try instantiate an interface implementation(10) with wrong
  1190 //!				resolver uid
  1191 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1192 //! @SYMTestActions		1. Create implementation with wrong resolver uid. 2. Finish using ECOM.
  1193 //! @SYMTestStatus		Implemented
  1194 //! @SYMTestPriority		High
  1195 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
  1196 //! @SYMTestType		CIT
  1197 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1198 		CREATE_OBJECT	TEComResolverParams	resolver1
  1199 		CREATE_OBJECT	REComSession	session1
  1200 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0049-001-SetGenericMatch_command01
  1201 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0049-001-SetWildcardMatch_command02
  1202 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0049-001-SetDataType_command03
  1203 		COMMAND			session1	OpenL		
  1204 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0049-001-CreateImplementationL_command06
  1205 		COMMAND			session1	Close		
  1206 		COMMAND			session1	FinalClose		
  1207 		COMMAND			session1	~		
  1208 	END_TEST_BLOCK	
  1209 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0049
  1210 
  1211 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0050
  1212 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0050
  1213 //! @SYMAPI			REComSession, TEComResolverParams
  1214 //! @SYMAuthor			Vassili Tsvetkov
  1215 //! @SYMCreationDate		22/03/2006
  1216 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1217 //! @SYMTestCaseDesc		Try instantiate an interface implementation(11) with wrong
  1218 //!				interface uid
  1219 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1220 //! @SYMTestActions		1. Create implementation with wrong interface uid. 2. Finish using ECOM.
  1221 //! @SYMTestStatus		Implemented
  1222 //! @SYMTestPriority		High
  1223 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
  1224 //! @SYMTestType		CIT
  1225 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1226 		CREATE_OBJECT	TEComResolverParams	resolver1
  1227 		CREATE_OBJECT	REComSession	session1
  1228 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0050-001-SetGenericMatch_command01
  1229 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0050-001-SetWildcardMatch_command02
  1230 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0050-001-SetDataType_command03
  1231 		COMMAND			session1	OpenL		
  1232 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0050-001-CreateImplementationL_command06
  1233 		COMMAND			session1	Close		
  1234 		COMMAND			session1	FinalClose		
  1235 		COMMAND			session1	~		
  1236 	END_TEST_BLOCK	
  1237 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0050
  1238 
  1239 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0051
  1240 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0051
  1241 //! @SYMAPI			REComSession, TEComResolverParams
  1242 //! @SYMAuthor			Vassili Tsvetkov
  1243 //! @SYMCreationDate		22/03/2006
  1244 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1245 //! @SYMTestCaseDesc		Try instantiate an interface implementation(11) with non discoverable
  1246 //!				parameter conditions
  1247 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1248 //! @SYMTestActions		1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM.
  1249 //! @SYMTestStatus		Implemented
  1250 //! @SYMTestPriority		High
  1251 //! @SYMTestExpectedResults  	KErrNotFound
  1252 //! @SYMTestType		CIT
  1253 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1254 		CREATE_OBJECT	TEComResolverParams	resolver1
  1255 		CREATE_OBJECT	REComSession	session1
  1256 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0051-001-SetGenericMatch_command01
  1257 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0051-001-SetWildcardMatch_command02
  1258 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0051-001-SetDataType_command03
  1259 		COMMAND			session1	OpenL		
  1260 		COMMAND	!Error=-1	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0051-001-CreateImplementationL_command06
  1261 		COMMAND			session1	Close		
  1262 		COMMAND			session1	FinalClose		
  1263 		COMMAND			session1	~		
  1264 	END_TEST_BLOCK	
  1265 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0051
  1266 
  1267 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0052
  1268 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0052
  1269 //! @SYMAPI			REComSession, TEComResolverParams
  1270 //! @SYMAuthor			Vassili Tsvetkov
  1271 //! @SYMCreationDate		22/03/2006
  1272 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1273 //! @SYMTestCaseDesc		Try instantiate an interface implementation(11) with wrong
  1274 //!				resolver uid
  1275 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1276 //! @SYMTestActions		1. Create implementation with wrong resolver uid. 2. Finish using ECOM.
  1277 //! @SYMTestStatus		Implemented
  1278 //! @SYMTestPriority		High
  1279 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
  1280 //! @SYMTestType		CIT
  1281 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1282 		CREATE_OBJECT	TEComResolverParams	resolver1
  1283 		CREATE_OBJECT	REComSession	session1
  1284 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0052-001-SetGenericMatch_command01
  1285 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0052-001-SetWildcardMatch_command02
  1286 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0052-001-SetDataType_command03
  1287 		COMMAND			session1	OpenL		
  1288 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0052-001-CreateImplementationL_command06
  1289 		COMMAND			session1	Close		
  1290 		COMMAND			session1	FinalClose		
  1291 		COMMAND			session1	~		 
  1292 	END_TEST_BLOCK	
  1293 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0052
  1294 
  1295 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0053
  1296 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0053
  1297 //! @SYMAPI			REComSession, TEComResolverParams
  1298 //! @SYMAuthor			Vassili Tsvetkov
  1299 //! @SYMCreationDate		22/03/2006
  1300 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1301 //! @SYMTestCaseDesc		Try instantiate an interface implementation(12) with wrong
  1302 //!				interface uid
  1303 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1304 //! @SYMTestActions		1. Create implementation with wrong interface uid. 2. Finish using ECOM.
  1305 //! @SYMTestStatus		Implemented
  1306 //! @SYMTestPriority		High
  1307 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
  1308 //! @SYMTestType		CIT
  1309 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1310 		CREATE_OBJECT	TEComResolverParams	resolver1
  1311 		CREATE_OBJECT	REComSession	session1
  1312 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0053-001-SetGenericMatch_command01
  1313 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0053-001-SetWildcardMatch_command02
  1314 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0053-001-SetDataType_command03
  1315 		COMMAND			session1	OpenL		
  1316 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0053-001-CreateImplementationL_command06
  1317 		COMMAND			session1	Close		
  1318 		COMMAND			session1	FinalClose		
  1319 		COMMAND			session1	~		
  1320 	END_TEST_BLOCK	
  1321 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0053
  1322 
  1323 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0055
  1324 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0055
  1325 //! @SYMAPI			REComSession, TEComResolverParams
  1326 //! @SYMAuthor			Vassili Tsvetkov
  1327 //! @SYMCreationDate		22/03/2006
  1328 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1329 //! @SYMTestCaseDesc		Try instantiate an interface implementation(12) with non discoverable
  1330 //!				parameter conditions
  1331 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1332 //! @SYMTestActions		1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM.
  1333 //! @SYMTestStatus		Implemented
  1334 //! @SYMTestPriority		High
  1335 //! @SYMTestExpectedResults  	KErrNotFound
  1336 //! @SYMTestType		CIT
  1337 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1338 		CREATE_OBJECT	TEComResolverParams	resolver1
  1339 		CREATE_OBJECT	REComSession	session1
  1340 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0055-001-SetGenericMatch_command01
  1341 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0055-001-SetWildcardMatch_command02
  1342 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0055-001-SetDataType_command03
  1343 		COMMAND			session1	OpenL		
  1344 		COMMAND	!Error=-1	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0055-001-CreateImplementationL_command06
  1345 		COMMAND			session1	Close		
  1346 		COMMAND			session1	FinalClose		
  1347 		COMMAND			session1	~		
  1348 	END_TEST_BLOCK	
  1349 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0055
  1350 
  1351 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0056
  1352 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0056
  1353 //! @SYMAPI			REComSession, TEComResolverParams
  1354 //! @SYMAuthor			Vassili Tsvetkov
  1355 //! @SYMCreationDate		22/03/2006
  1356 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1357 //! @SYMTestCaseDesc		Try instantiate an interface implementation(12) with wrong
  1358 //!				resolver uid
  1359 //!				Uses API elements: CreateImplementationL(), FinalClose().
  1360 //! @SYMTestActions		1. Create implementation with wrong resolver uid. 2. Finish using ECOM.
  1361 //! @SYMTestStatus		Implemented
  1362 //! @SYMTestPriority		High
  1363 //! @SYMTestExpectedResults  	KErrArgument. Creation of interface implementation has failed.
  1364 //! @SYMTestType		CIT
  1365 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1366 		CREATE_OBJECT	TEComResolverParams	resolver1
  1367 		CREATE_OBJECT	REComSession	session1
  1368 		COMMAND			resolver1	SetGenericMatch		SYSLIB-ECOM-PublicAPI-0056-001-SetGenericMatch_command01
  1369 		COMMAND			resolver1	SetWildcardMatch		SYSLIB-ECOM-PublicAPI-0056-001-SetWildcardMatch_command02
  1370 		COMMAND			resolver1	SetDataType		SYSLIB-ECOM-PublicAPI-0056-001-SetDataType_command03
  1371 		COMMAND			session1	OpenL		
  1372 		COMMAND	!Error=-6	session1	CreateImplementationL		SYSLIB-ECOM-PublicAPI-0056-001-CreateImplementationL_command06
  1373 		COMMAND			session1	Close		
  1374 		COMMAND			session1	FinalClose		
  1375 		COMMAND			session1	~		
  1376 	END_TEST_BLOCK	
  1377 END_TESTCASE                    SYSLIB-ECOM-PublicAPI-0056
  1378 
  1379 
  1380 /////////////////////////////////////////////////////////////////////
  1381 // TEComResolverParams class
  1382 /////////////////////////////////////////////////////////////////////
  1383 
  1384 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0072
  1385 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0072
  1386 //! @SYMAPI			TEComResolverParams
  1387 //! @SYMAuthor			Vassili Tsvetkov
  1388 //! @SYMCreationDate		10/03/2006
  1389 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1390 //! @SYMTestCaseDesc		Try set the Interface Implementation plugin 'datatype' match pattern
  1391 //!				Uses API elements: SetDataType().
  1392 //! @SYMTestActions    		Set data type.
  1393 //! @SYMTestStatus		Implemented
  1394 //! @SYMTestPriority		High
  1395 //! @SYMTestExpectedResults  	Impementation's data type set with no errors
  1396 //! @SYMTestType		CIT
  1397 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1398 		CREATE_OBJECT	TEComResolverParams	params1
  1399 		COMMAND		params1	SetDataType		SYSLIB-ECOM-PublicAPI-0072-001-SetDataType_command01
  1400 	END_TEST_BLOCK	
  1401 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0072
  1402 
  1403 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0073
  1404 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0073
  1405 //! @SYMAPI			TEComResolverParams
  1406 //! @SYMAuthor			Vassili Tsvetkov
  1407 //! @SYMCreationDate		10/03/2006
  1408 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1409 //! @SYMTestCaseDesc		Try get the Interface Implementation plugin 'datatype' match pattern
  1410 //!				Uses API elements: SetDataType(), GetDataType().
  1411 //! @SYMTestActions    		1. Set data type. 2. Get data type.
  1412 //! @SYMTestStatus		Implemented
  1413 //! @SYMTestPriority		High
  1414 //! @SYMTestExpectedResults  	Impementation's data type returned with no errors
  1415 //! @SYMTestType		CIT
  1416 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1417 		CREATE_OBJECT	TEComResolverParams	params1
  1418 		COMMAND		params1	SetDataType		SYSLIB-ECOM-PublicAPI-0073-001-SetDataType_command01
  1419 		COMMAND		params1	DataType		SYSLIB-ECOM-PublicAPI-0073-001-DataType_command02
  1420 	END_TEST_BLOCK	
  1421 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0073
  1422 
  1423 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0074
  1424 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0074
  1425 //! @SYMAPI			TEComResolverParams
  1426 //! @SYMAuthor			Vassili Tsvetkov
  1427 //! @SYMCreationDate		10/03/2006
  1428 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1429 //! @SYMTestCaseDesc		Try set indicator that a 'generic' match is required
  1430 //!				Uses API elements: SetGenericMatch().
  1431 //! @SYMTestActions    		Set indicator.
  1432 //! @SYMTestStatus		Implemented
  1433 //! @SYMTestPriority		High
  1434 //! @SYMTestExpectedResults  	Indicator set with no errors
  1435 //! @SYMTestType		CIT
  1436 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1437 		CREATE_OBJECT	TEComResolverParams	params1
  1438 		COMMAND		params1			SetGenericMatch		SYSLIB-ECOM-PublicAPI-0074-001-SetGenericMatch_command01
  1439 	END_TEST_BLOCK	
  1440 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0074
  1441 
  1442 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0075
  1443 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0075
  1444 //! @SYMAPI			TEComResolverParams
  1445 //! @SYMAuthor			Vassili Tsvetkov
  1446 //! @SYMCreationDate		10/03/2006
  1447 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1448 //! @SYMTestCaseDesc		Try check if 'generic' matching is allowed
  1449 //!				Uses API elements: SetGenericMatch(), IsGenericMatch().
  1450 //! @SYMTestActions    		1. Set ingicator. 2. Check indicator.
  1451 //! @SYMTestStatus		Implemented
  1452 //! @SYMTestPriority		High
  1453 //! @SYMTestExpectedResults  	Indicator state returned with no errors
  1454 //! @SYMTestType		CIT
  1455 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1456 		CREATE_OBJECT	TEComResolverParams	params1
  1457 		COMMAND		params1			SetGenericMatch		SYSLIB-ECOM-PublicAPI-0075-001-SetGenericMatch_command01
  1458 		COMMAND		params1			IsGenericMatch		SYSLIB-ECOM-PublicAPI-0075-001-IsGenericMatch_command02
  1459 	END_TEST_BLOCK	
  1460 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0075
  1461 
  1462 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0076
  1463 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0076
  1464 //! @SYMAPI			TEComResolverParams
  1465 //! @SYMAuthor			Vassili Tsvetkov
  1466 //! @SYMCreationDate		10/03/2006
  1467 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1468 //! @SYMTestCaseDesc		Try set indicator that a 'generic' match is required
  1469 //!				Uses API elements: SetWildcardMatch().
  1470 //!				Deprecated method!
  1471 //! @SYMTestActions    		Set indicator.
  1472 //! @SYMTestStatus		Implemented
  1473 //! @SYMTestPriority		High
  1474 //! @SYMTestExpectedResults  	Indicator set with no errors
  1475 //! @SYMTestType		CIT
  1476 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1477 		CREATE_OBJECT	TEComResolverParams	params1
  1478 		COMMAND		params1			SetWildcardMatch	SYSLIB-ECOM-PublicAPI-0076-001-SetWildcardMatch_command01
  1479 	END_TEST_BLOCK	
  1480 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0076
  1481 
  1482 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0077
  1483 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0077
  1484 //! @SYMAPI			TEComResolverParams
  1485 //! @SYMAuthor			Vassili Tsvetkov
  1486 //! @SYMCreationDate		10/03/2006
  1487 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1488 //! @SYMTestCaseDesc		Try check if 'generic' matching is allowed
  1489 //!				Uses API elements: SetWildcardMatch(), IsWildcardMatch().
  1490 //!				Deprecated method!
  1491 //! @SYMTestActions    		1. Set ingicator. 2. Check indicator.
  1492 //! @SYMTestStatus		Implemented
  1493 //! @SYMTestPriority		High
  1494 //! @SYMTestExpectedResults  	Indicator state returned with no errors
  1495 //! @SYMTestType		CIT
  1496 	START_TEST_BLOCK	3			T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1497 		CREATE_OBJECT	TEComResolverParams	params1
  1498 		COMMAND		params1			SetWildcardMatch	SYSLIB-ECOM-PublicAPI-0077-001-SetWildcardMatch_command01
  1499 		COMMAND		params1			IsWildcardMatch		SYSLIB-ECOM-PublicAPI-0077-001-IsWildcardMatch_command02
  1500 	END_TEST_BLOCK	
  1501 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0077
  1502 
  1503 /////////////////////////////////////////////////////////////////////
  1504 // CImplementationInformation class
  1505 /////////////////////////////////////////////////////////////////////
  1506 
  1507 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0078
  1508 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0078
  1509 //! @SYMAPI			CImplementationInformation, REComSession
  1510 //! @SYMAuthor			Vassili Tsvetkov
  1511 //! @SYMCreationDate		09/03/2006
  1512 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1513 //! @SYMTestCaseDesc		Try get for this implementation's human readable name
  1514 //!				Uses API elements: DisplayName().
  1515 //! @SYMTestActions    		1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. 3. Get name. 4. Finish using ECOM.
  1516 //! @SYMTestStatus		Implemented
  1517 //! @SYMTestPriority		High
  1518 //! @SYMTestExpectedResults  	Implementation's name returned with no errors
  1519 //! @SYMTestType		CIT
  1520 	START_TEST_BLOCK	3				T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1521 		CREATE_OBJECT	REComSession			session1
  1522 		CREATE_OBJECT	CImplementationInformation	impl1
  1523 		COMMAND		session1			OpenL		
  1524 		COMMAND		session1			ListImplementationsL	SYSLIB-ECOM-PublicAPI-0078-001-ListImplementationsL_command02
  1525 		COMMAND		impl1				DisplayName		SYSLIB-ECOM-PublicAPI-0078-001-DisplayName_command04
  1526 		COMMAND		session1			Close		
  1527 		COMMAND		session1			FinalClose		
  1528 		COMMAND		session1			~		
  1529 	END_TEST_BLOCK	
  1530 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0078
  1531 
  1532 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0079
  1533 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0079
  1534 //! @SYMAPI			CImplementationInformation, REComSession
  1535 //! @SYMAuthor			Vassili Tsvetkov
  1536 //! @SYMCreationDate		08/03/2006
  1537 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1538 //! @SYMTestCaseDesc		Try get for this implementation's default binary data type
  1539 //!				Uses API elements: DataType().
  1540 //! @SYMTestActions    		1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. 3. Get data type. 4. Finish using ECOM.
  1541 //! @SYMTestStatus		Implemented
  1542 //! @SYMTestPriority		High
  1543 //! @SYMTestExpectedResults  	Implementation's default binary data type returned with no errors
  1544 //! @SYMTestType		CIT
  1545 	START_TEST_BLOCK	3				T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1546 		CREATE_OBJECT	REComSession			session1
  1547 		CREATE_OBJECT	CImplementationInformation	impl1
  1548 		COMMAND		session1			OpenL		
  1549 		COMMAND		session1			ListImplementationsL	SYSLIB-ECOM-PublicAPI-0079-001-ListImplementationsL_command02
  1550 		COMMAND		impl1				DataType		SYSLIB-ECOM-PublicAPI-0079-001-DataType_command04
  1551 		COMMAND		session1			Close		
  1552 		COMMAND		session1			FinalClose		
  1553 		COMMAND		session1			~		
  1554 	END_TEST_BLOCK	
  1555 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0079
  1556 
  1557 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0080
  1558 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0080
  1559 //! @SYMAPI			CImplementationInformation, REComSession
  1560 //! @SYMAuthor			Vassili Tsvetkov
  1561 //! @SYMCreationDate		08/03/2006
  1562 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1563 //! @SYMTestCaseDesc		Try get for this implementation's opaque binary data
  1564 //!				Uses API elements: OpaqueData().
  1565 //! @SYMTestActions    		1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. 3. Get opaque data. 4. Finish using ECOM.
  1566 //! @SYMTestStatus		Implemented
  1567 //! @SYMTestPriority		High
  1568 //! @SYMTestExpectedResults  	Implementation's opaque binary data returned with no errors
  1569 //! @SYMTestType		CIT
  1570 	START_TEST_BLOCK	3				T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1571 		CREATE_OBJECT	REComSession			session1
  1572 		CREATE_OBJECT	CImplementationInformation	impl1
  1573 		COMMAND		session1			OpenL		
  1574 		COMMAND		session1			ListImplementationsL	SYSLIB-ECOM-PublicAPI-0080-001-ListImplementationsL_command02
  1575 		COMMAND		impl1				OpaqueData		SYSLIB-ECOM-PublicAPI-0080-001-OpaqueData_command04
  1576 		COMMAND		session1			Close		
  1577 		COMMAND		session1			FinalClose		
  1578 		COMMAND		session1			~		
  1579 	END_TEST_BLOCK	
  1580 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0080
  1581 
  1582 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0081
  1583 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0081
  1584 //! @SYMAPI			CImplementationInformation, REComSession
  1585 //! @SYMAuthor			Vassili Tsvetkov
  1586 //! @SYMCreationDate		08/03/2006
  1587 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1588 //! @SYMTestCaseDesc		Try get for this implementation's UID
  1589 //!				Uses API elements: ImplementationUid().
  1590 //! @SYMTestActions    		1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. 3. Get UID. 4. Finish using ECOM.
  1591 //! @SYMTestStatus		Implemented
  1592 //! @SYMTestPriority		High
  1593 //! @SYMTestExpectedResults  	Implementation's UID returned with no errors
  1594 //! @SYMTestType		CIT
  1595 	START_TEST_BLOCK	3				T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1596 		CREATE_OBJECT	REComSession			session1
  1597 		CREATE_OBJECT	CImplementationInformation	impl1
  1598 		COMMAND		session1			OpenL		
  1599 		COMMAND		session1			ListImplementationsL	SYSLIB-ECOM-PublicAPI-0081-001-ListImplementationsL_command02
  1600 		COMMAND		impl1				ImplementationUid	SYSLIB-ECOM-PublicAPI-0081-001-ImplementationUid_command04
  1601 		COMMAND		session1			Close		
  1602 		COMMAND		session1			FinalClose		
  1603 		COMMAND		session1			~		
  1604 	END_TEST_BLOCK	
  1605 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0081
  1606 
  1607 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0082
  1608 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0082
  1609 //! @SYMAPI			CImplementationInformation, REComSession
  1610 //! @SYMAuthor			Vassili Tsvetkov
  1611 //! @SYMCreationDate		08/03/2006
  1612 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1613 //! @SYMTestCaseDesc		Try get for this implementation's version number
  1614 //!				Uses API elements: Version().
  1615 //! @SYMTestActions    		1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. 3. Get version number. 4. Finish using ECOM.
  1616 //! @SYMTestStatus		Implemented
  1617 //! @SYMTestPriority		High
  1618 //! @SYMTestExpectedResults  	Implementation's version number returned with no errors
  1619 //! @SYMTestType		CIT
  1620 	START_TEST_BLOCK	3				T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1621 		CREATE_OBJECT	REComSession			session1
  1622 		CREATE_OBJECT	CImplementationInformation	impl1
  1623 		COMMAND		session1			OpenL		
  1624 		COMMAND		session1			ListImplementationsL	SYSLIB-ECOM-PublicAPI-0082-001-ListImplementationsL_command02
  1625 		COMMAND		impl1				Version			SYSLIB-ECOM-PublicAPI-0082-001-Version_command04
  1626 		COMMAND		session1			Close		
  1627 		COMMAND		session1			FinalClose		
  1628 		COMMAND		session1			~		
  1629 	END_TEST_BLOCK	
  1630 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0082
  1631 
  1632 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0083
  1633 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0083
  1634 //! @SYMAPI			CImplementationInformation, REComSession
  1635 //! @SYMAuthor			Vassili Tsvetkov
  1636 //! @SYMCreationDate		08/03/2006
  1637 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1638 //! @SYMTestCaseDesc		Try disable/enable current implementation
  1639 //!				Uses API elements: Disabled(), SetDisabled().
  1640 //! @SYMTestActions    		1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation.
  1641 //!				3. Get current status. 4. Set new status. 5. Get implementation's status. 6. Finish using ECOM.
  1642 //! @SYMTestStatus		Implemented
  1643 //! @SYMTestPriority		High
  1644 //! @SYMTestExpectedResults  	Implementation's current status returned with no errors
  1645 //! @SYMTestType		CIT
  1646 	START_TEST_BLOCK	3				T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1647 		CREATE_OBJECT	REComSession			session1
  1648 		CREATE_OBJECT	CImplementationInformation	impl1
  1649 		COMMAND		session1			OpenL		
  1650 		COMMAND		session1			ListImplementationsL	SYSLIB-ECOM-PublicAPI-0083-001-ListImplementationsL_command02
  1651 		COMMAND		impl1				Disabled		SYSLIB-ECOM-PublicAPI-0083-001-Disabled_command04
  1652 		COMMAND		impl1				SetDisabled		SYSLIB-ECOM-PublicAPI-0083-001-SetDisabled_command05
  1653 		COMMAND		impl1				Disabled		SYSLIB-ECOM-PublicAPI-0083-001-Disabled_command06
  1654 		COMMAND		session1			Close		
  1655 		COMMAND		session1			FinalClose		
  1656 		COMMAND		session1			~		
  1657 	END_TEST_BLOCK	
  1658 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0083
  1659 
  1660 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0084
  1661 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0084
  1662 //! @SYMAPI			CImplementationInformation, REComSession
  1663 //! @SYMAuthor			Vassili Tsvetkov
  1664 //! @SYMCreationDate		09/03/2006
  1665 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1666 //! @SYMTestCaseDesc		Try get the drive that this implementation is installed
  1667 //!				Uses API elements: Drive().
  1668 //! @SYMTestActions    		1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation.
  1669 //!				3. Get implementation's drive. 4. Finish using ECOM.
  1670 //! @SYMTestStatus		Implemented
  1671 //! @SYMTestPriority		High
  1672 //! @SYMTestExpectedResults  	Implementation's installation drive returned with no errors
  1673 //! @SYMTestType		CIT
  1674 	START_TEST_BLOCK	3				T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1675 		CREATE_OBJECT	REComSession			session1
  1676 		CREATE_OBJECT	CImplementationInformation	impl1
  1677 		COMMAND		session1			OpenL		
  1678 		COMMAND		session1			ListImplementationsL	SYSLIB-ECOM-PublicAPI-0084-001-ListImplementationsL_command02
  1679 		COMMAND		impl1				Drive			SYSLIB-ECOM-PublicAPI-0084-001-Drive_command04
  1680 		COMMAND		session1			Close		
  1681 		COMMAND		session1			FinalClose		
  1682 		COMMAND		session1			~		
  1683 	END_TEST_BLOCK	
  1684 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0084
  1685 
  1686 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0085
  1687 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0085
  1688 //! @SYMAPI			CImplementationInformation, REComSession
  1689 //! @SYMAuthor			Vassili Tsvetkov
  1690 //! @SYMCreationDate		09/03/2006
  1691 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1692 //! @SYMTestCaseDesc		Try whether this implementation is to be loaded from ROM only
  1693 //!				Uses API elements: RomOnly().
  1694 //! @SYMTestActions    		1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation.
  1695 //!				3. Get whether this implementation is to be loaded from ROM only. 4. Finish using ECOM.
  1696 //! @SYMTestStatus		Implemented
  1697 //! @SYMTestPriority		High
  1698 //! @SYMTestExpectedResults  	Implementation's ROM-only loading mode returned with no errors
  1699 //! @SYMTestType		CIT
  1700 	START_TEST_BLOCK	3				T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1701 		CREATE_OBJECT	REComSession			session1
  1702 		CREATE_OBJECT	CImplementationInformation	impl1
  1703 		COMMAND		session1			OpenL		
  1704 		COMMAND		session1			ListImplementationsL	SYSLIB-ECOM-PublicAPI-0085-001-ListImplementationsL_command02
  1705 		COMMAND		impl1				RomOnly			SYSLIB-ECOM-PublicAPI-0085-001-RomOnly_command04
  1706 		COMMAND		session1			Close		
  1707 		COMMAND		session1			FinalClose		
  1708 		COMMAND		session1			~		
  1709 	END_TEST_BLOCK	
  1710 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0085
  1711 
  1712 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0086
  1713 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0086
  1714 //! @SYMAPI			CImplementationInformation, REComSession
  1715 //! @SYMAuthor			Vassili Tsvetkov
  1716 //! @SYMCreationDate		09/03/2006
  1717 //! @SYMTestCaseDependencies	setup-SYSLIB-ECOM-PublicAPI.script
  1718 //! @SYMTestCaseDesc		Try whether this implementation is on ROM or is a later version of one on ROM
  1719 //!				Uses API elements: RomBased().
  1720 //! @SYMTestActions    		1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation.
  1721 //!				3. Get ROM-based mode. 4. Finish using ECOM.
  1722 //! @SYMTestStatus		Implemented
  1723 //! @SYMTestPriority		High
  1724 //! @SYMTestExpectedResults  	Implementation's RAM-based location returned with no errors
  1725 //! @SYMTestType		CIT
  1726 	START_TEST_BLOCK	3				T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1727 		CREATE_OBJECT	REComSession			session1
  1728 		CREATE_OBJECT	CImplementationInformation	impl1
  1729 		COMMAND		session1			OpenL		
  1730 		COMMAND		session1			ListImplementationsL	SYSLIB-ECOM-PublicAPI-0086-001-ListImplementationsL_command02
  1731 		COMMAND		impl1				RomBased		SYSLIB-ECOM-PublicAPI-0086-001-RomBased_command04
  1732 		COMMAND		session1			Close		
  1733 		COMMAND		session1			FinalClose		
  1734 		COMMAND		session1			~		
  1735 	END_TEST_BLOCK	
  1736 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0086
  1737 
  1738 START_TESTCASE 			SYSLIB-ECOM-PublicAPI-0999
  1739 //! @SYMTestCaseID		SYSLIB-ECOM-PublicAPI-0999
  1740 //! @SYMAPI			REComSession
  1741 //! @SYMAuthor			Louis Henry Nayegon
  1742 //! @SYMCreationDate		10/06/2006
  1743 //! @SYMTestCaseDependencies	SYSLIB-ECOM-PublicAPI-0001
  1744 //! @SYMTestCaseDesc		Try to register for notification messages and recieve the sent message (UID removed from registry)
  1745 //!				Uses API elements: OpenL(), NotifyOnChange(), Close(), FinalClose().
  1746 //! @SYMTestActions    		1. Open connection. 2. Register for notification messages. 3. Send notification message (remove plug-in). 4. Recieve a message. 5. Close connection. 6. Finish using ECOM.
  1747 //! @SYMTestStatus		Implemented
  1748 //! @SYMTestPriority		High
  1749 //! @SYMTestExpectedResults  	Registered for notification messages with no errors
  1750 //! @SYMTestType		CIT
  1751 RUN_PROGRAM			10		TPDeleteFileUtility	\resource\plugins\TestProduct_PlugIn.rsc
  1752 RUN_PROGRAM			10		TPDeleteFileUtility	\sys\bin\TestProduct_PlugIn.dll
  1753 	START_TEST_BLOCK	3		T_ECOM			\ecom\SYSLIB-ECOM-PublicAPI.ini 
  1754 		CREATE_OBJECT	REComSession	session1
  1755 		COMMAND		session1	OpenL		
  1756 		COMMAND		session1	NotifyOnChange		SYSLIB-ECOM-PublicAPI-0999-001-NotifyOnChange_command02
  1757 		OUTSTANDING
  1758 		COMMAND		session1	CancelNotifyOnChange	SYSLIB-ECOM-PublicAPI-0999-001-CancelNotifyOnChange_command03
  1759 		OUTSTANDING
  1760 		COMMAND		session1	Close		
  1761 		COMMAND		session1	FinalClose		
  1762 		COMMAND		session1	~		
  1763 	END_TEST_BLOCK	
  1764 END_TESTCASE 			SYSLIB-ECOM-PublicAPI-0999