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