sl@0: // sl@0: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: // sl@0: //! @file sl@0: //! @SYMTestSuiteName SYSLIB-ECOM-PublicAPI sl@0: //! @SYMScriptTestEnvironment This test script requires a basic ROM. sl@0: ///////////////////////////////////////////////////////////////////// sl@0: // SYSLIB-ECOM-PublicAPI.script sl@0: // sl@0: // Tests all public elements of the CImplementationInformation, REComSession and TEComResolverParams sl@0: // classes as a means of confidence that the APIs work as expected. sl@0: // sl@0: // The purpose is to provide a regression test suite of PublishedAll APIs for CImplementationInformation, sl@0: // REComSession and TEComResolverParams. The tests are fully automated. sl@0: ///////////////////////////////////////////////////////////////////// sl@0: sl@0: LOAD_SUITE T_ECOM sl@0: sl@0: sl@0: ///////////////////////////////////////////////////////////////////// sl@0: // REComSession class sl@0: ///////////////////////////////////////////////////////////////////// sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0001 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0001 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try to register for notification messages and recieve the sent message (new UID added to registry) sl@0: //! Uses API elements: OpenL(), NotifyOnChange(), Close(), FinalClose(). sl@0: //! @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: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Message recieved with no errors sl@0: //! @SYMTestType CIT sl@0: RUN_PROGRAM 10 TPCopyFileUtility \ecom\TestProduct_PlugIn.dll|\sys\bin\TestProduct_PlugIn.dll sl@0: RUN_PROGRAM 10 TPCopyFileUtility \ecom\TestProduct_PlugIn.rsc|\resource\plugins\TestProduct_PlugIn.rsc sl@0: START_TEST_BLOCK 10 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 NotifyOnChange SYSLIB-ECOM-PublicAPI-0001-001-NotifyOnChange_command02 sl@0: OUTSTANDING sl@0: COMMAND session1 CancelNotifyOnChange sl@0: OUTSTANDING sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0001 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0002 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0002 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try open connection to ECom server, then close connection and close session without memory leaks sl@0: //! Uses API elements: OpenL(), Close(), FinalClose(). sl@0: //! @SYMTestActions 1. Open connection. 2. Close connection. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Connection closed with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0002 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0003 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0003 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try close created, but not initialized session sl@0: //! Uses API elements: Clolse(), FinalClose(). sl@0: //! @SYMTestActions 1. Close session. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Session closed with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0003 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0004 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0004 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try finish using ECOM sl@0: //! Uses API elements: FinalClose(). sl@0: //! @SYMTestActions 1. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults ECOM using finished with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0004 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0005 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0005 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try de-register for notification messages sl@0: //! Uses API elements: OpenL(), NotifyOnChange(), CancelNotifyOnChange(), Close(), FinalClose(). sl@0: //! @SYMTestActions 1. Open connection. 2. Register for notification messages. 3. De-register for notification messages. sl@0: //! 4. Close connection. 5. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults De-reistration for notification messages ends with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND !AsyncError=-3 session1 NotifyOnChange sl@0: ASYNC_DELAY 10 sl@0: COMMAND session1 CancelNotifyOnChange sl@0: OUTSTANDING sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0005 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0006 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0006 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try retrieve a list of all the implementations(1) which satisfy the specified interface with sl@0: //! selection restriction to the specified parameters sl@0: //! Uses API elements: ListImplementationsL(), FinalClose(). sl@0: //! @SYMTestActions 1. Retrieve a list of existing implementations. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults List retrieved with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0006-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0006-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0006-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0006-001-ListImplementationsL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0006 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0007 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0007 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try retrieve a list of all the implementations(2) which satisfy the specified interface sl@0: //! Uses API elements: ListImplementationsL(), FinalClose(). sl@0: //! @SYMTestActions 1. Retrieve a list of existing implementations. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults List retrieved with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0007-001-ListImplementationsL_command02 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0007 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0008 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0008 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try retrieve a list of all the implementations(3) which satisfy the specified interface with sl@0: //! selection restriction to the specified parameters and overload with a client provided CResolver sl@0: //! Uses API elements: ListImplementationsL(), FinalClose(). sl@0: //! @SYMTestActions 1. Retrieve a list of existing implementations. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults List retrieved with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0008-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0008-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0008-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0008-001-ListImplementationsL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0008 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0009 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0009 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation to satisfy the specified interface (1) sl@0: //! (TUid aImplementationUid, TUid \&aDtorIDKey) sl@0: //! Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation created with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0009-001-CreateImplementationL_command02 sl@0: COMMAND session1 DestroyedImplementation sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0009 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0010 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0010 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation to satisfy the specified interface (2) sl@0: //! (TUid aImplementationUid, TInt32 aKeyOffset) sl@0: //! Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation created with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0010-001-CreateImplementationL_command02 sl@0: COMMAND session1 DestroyedImplementation sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0010 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0011 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0011 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation to satisfy the specified interface (3) sl@0: //! (TUid aImplementationUid, TUid \&aDtorIDKey, TAny *aConstructionParameters) sl@0: //! Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation created with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0011-001-CreateImplementationL_command02 sl@0: COMMAND session1 DestroyedImplementation sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0011 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0012 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0012 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation to satisfy the specified interface (4) sl@0: //! (TUid aImplementationUid, TInt32 aKeyOffset, TAny *aConstructionParameters) sl@0: //! Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation created with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0012-001-CreateImplementationL_command02 sl@0: COMMAND session1 DestroyedImplementation sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0012 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0013 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0013 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation to satisfy the specified interface (5) sl@0: //! (TUid aInterfaceUid, TUid \&aDtorIDKey, const TEComResolverParams \&aResolutionParameters) sl@0: //! Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation created with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0013-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0013-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0013-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0013-001-CreateImplementationL_command06 sl@0: COMMAND session1 DestroyedImplementation sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0013 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0014 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0014 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation to satisfy the specified interface (6) sl@0: //! (TUid aInterfaceUid, TInt32 aKeyOffset, const TEComResolverParams \&aResolutionParameters) sl@0: //! Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation created with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0014-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0014-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0014-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0014-001-CreateImplementationL_command06 sl@0: COMMAND session1 DestroyedImplementation sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0014 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0015 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0015 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation to satisfy the specified interface (7) sl@0: //! (TUid aInterfaceUid, TUid \&aDtorIDKey, TAny *aConstructionParameters, const TEComResolverParams \&aResolutionParameters)(TUid aInterfaceUid, TInt32 aKeyOffset, TAny *aConstructionParameters, const TEComResolverParams \&aResolutionParameters) sl@0: //! Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation created with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0015-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0015-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0015-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0015-001-CreateImplementationL_command06 sl@0: COMMAND session1 DestroyedImplementation sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0015 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0016 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0016 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation to satisfy the specified interface (8) sl@0: //! (TUid aInterfaceUid, TInt32 aKeyOffset, TAny *aConstructionParameters, const TEComResolverParams \&aResolutionParameters) sl@0: //! Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation created with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0016-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0016-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0016-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0016-001-CreateImplementationL_command06 sl@0: COMMAND session1 DestroyedImplementation sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0016 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0017 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0017 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation to satisfy the specified interface (9) sl@0: //! (TUid aInterfaceUid, TUid \&aDtorIDKey, const TEComResolverParams \&aResolutionParameters, TUid aResolverUid) sl@0: //! Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation created with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0017-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0017-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0017-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0017-001-CreateImplementationL_command06 sl@0: COMMAND session1 DestroyedImplementation sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0017 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0018 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0018 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation to satisfy the specified interface (10) sl@0: //! (TUid aInterfaceUid, TInt32 aKeyOffset, const TEComResolverParams \&aResolutionParameters, TUid aResolverUid) sl@0: //! Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation created with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0018-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0018-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0018-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0018-001-CreateImplementationL_command06 sl@0: COMMAND session1 DestroyedImplementation sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0018 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0019 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0019 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation to satisfy the specified interface (11) sl@0: //! (TUid aInterfaceUid, TUid \&aDtorIDKey, TAny *aConstructionParameters, const TEComResolverParams \&aResolutionParameters, TUid aResolverUid) sl@0: //! Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation created with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0019-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0019-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0019-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0019-001-CreateImplementationL_command06 sl@0: COMMAND session1 DestroyedImplementation sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0019 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0020 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0020 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation to satisfy the specified interface (12) sl@0: //! (TUid aInterfaceUid, TInt32 aKeyOffset, TAny *aConstructionParameters, const TEComResolverParams \&aResolutionParameters, TUid aResolverUid) sl@0: //! Uses API elements: CreateImplementationL(), DestroyedImplementation(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with correct arguments. 2. Destroy implementation. 3. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation created with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0020-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0020-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0020-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0020-001-CreateImplementationL_command06 sl@0: COMMAND session1 DestroyedImplementation sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0020 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0021 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0021 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try retrieve a list of all the implementations(1) with wrong interface uid sl@0: //! Uses API elements: ListImplementationsL(), FinalClose(). sl@0: //! @SYMTestActions 1. Retrieve a list of implementations with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. The implementations list isn't returned and aImplInfoArray isn't initialised. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0021-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0021-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0021-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0021-001-ListImplementationsL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0021 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0022 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0022 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try retrieve a list of all the implementations(1) with impossible parameter conditions sl@0: //! Uses API elements: ListImplementationsL(), FinalClose(). sl@0: //! @SYMTestActions 1. Retrieve a list of implementations with impossible parameter conditions. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. The implementations list isn't returned and aImplInfoArray isn't initialised. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0022-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0022-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0022-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0022-001-ListImplementationsL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0022 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0023 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0023 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try retrieve a list of all the implementations(2) with wrong interface uid sl@0: //! Uses API elements: ListImplementationsL(), FinalClose(). sl@0: //! @SYMTestActions 1. Retrieve a list of implementations with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. The implementations list isn't returned and aImplInfoArray isn't initialised. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0023-001-ListImplementationsL_command02 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0023 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0024 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0024 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try retrieve a list of all the implementations(3) with wrong interface uid sl@0: //! Uses API elements: ListImplementationsL(), FinalClose(). sl@0: //! @SYMTestActions 1. Retrieve a list of implementations with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. The implementations list isn't returned and aImplInfoArray isn't initialised. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0024-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0024-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0024-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0024-001-ListImplementationsL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0024 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0025 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0025 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try retrieve a list of all the implementations(3) with impossible parameter conditions sl@0: //! Uses API elements: ListImplementationsL(), FinalClose(). sl@0: //! @SYMTestActions 1. Retrieve a list of implementations with impossible parameter conditions. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. The implementations list isn't returned and aImplInfoArray isn't initialised. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0025-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0025-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0025-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0025-001-ListImplementationsL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0025 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0026 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0026 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try retrieve a list of all the implementations(3) with wrong resolver uid sl@0: //! Uses API elements: ListImplementationsL(), FinalClose(). sl@0: //! @SYMTestActions 1. Retrieve a list of implementations with wrong resolver uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. The implementations list isn't returned and aImplInfoArray isn't initialised. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0026-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0026-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0026-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0026-001-ListImplementationsL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0026 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0027 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0027 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(1) with wrong interface uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0027-001-CreateImplementationL_command02 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0027 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0028 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0028 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(2) with wrong interface uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0028-001-CreateImplementationL_command02 sl@0: COMMAND session1 DestroyedImplementation SYSLIB-ECOM-PublicAPI-0028-001-DestroyedImplementation_command03 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0028 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0030 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0030 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(3) with wrong sl@0: //! interface uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0030-001-CreateImplementationL_command02 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0030 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0031 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0031 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(4) with wrong sl@0: //! interface uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0031-001-CreateImplementationL_command02 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0031 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0033 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0033 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(5) with wrong sl@0: //! interface uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0033-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0033-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0033-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0033-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0033 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0034 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0034 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(5) with impossible sl@0: //! parameter conditions sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with impossible parameter conditions. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0034-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0034-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0034-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0034-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0034 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0035 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0035 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(6) with wrong sl@0: //! interface uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0035-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0035-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0035-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0035-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0035 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0037 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0037 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(6) with non discoverable sl@0: //! parameter conditions sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFOund sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0037-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0037-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0037-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-1 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0037-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0037 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0038 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0038 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(7) with wrong sl@0: //! interface uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong interface uid. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. 2. Finish using ECOM. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0038-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0038-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0038-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0038-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0038 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0039 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0039 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(7) with non discoverable sl@0: //! parameter conditions sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFOund sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0039-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0039-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0039-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-1 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0039-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0039 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0040 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0040 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(8) with wrong sl@0: //! interface uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0040-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0040-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0040-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0040-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0040 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0042 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0042 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(8) with non discoverable sl@0: //! parameter conditions sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFound sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0042-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0042-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0042-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-1 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0042-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0042 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0043 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0043 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(9) with wrong sl@0: //! interface uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0043-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0043-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0043-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0043-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0043 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0044 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0044 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(9) with non discoverable sl@0: //! parameter conditions sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFound sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0044-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0044-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0044-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-1 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0044-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0044 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0045 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0045 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(9) with wrong sl@0: //! resolver uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong resolver uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0045-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0045-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0045-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0045-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0045 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0046 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0046 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(10) with wrong sl@0: //! interface uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0046-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0046-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0046-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0046-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0046 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0048 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0048 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(10) with non discoverable sl@0: //! parameter conditions sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFound sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0048-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0048-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0048-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-1 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0048-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0048 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0049 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0049 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(10) with wrong sl@0: //! resolver uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong resolver uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0049-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0049-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0049-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0049-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0049 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0050 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0050 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(11) with wrong sl@0: //! interface uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0050-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0050-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0050-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0050-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0050 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0051 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0051 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(11) with non discoverable sl@0: //! parameter conditions sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFound sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0051-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0051-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0051-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-1 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0051-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0051 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0052 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0052 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(11) with wrong sl@0: //! resolver uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong resolver uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0052-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0052-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0052-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0052-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0052 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0053 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0053 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(12) with wrong sl@0: //! interface uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong interface uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0053-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0053-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0053-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0053-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0053 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0055 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0055 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(12) with non discoverable sl@0: //! parameter conditions sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with non discoverable parameter conditions. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFound sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0055-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0055-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0055-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-1 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0055-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0055 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0056 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0056 sl@0: //! @SYMAPI REComSession, TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 22/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try instantiate an interface implementation(12) with wrong sl@0: //! resolver uid sl@0: //! Uses API elements: CreateImplementationL(), FinalClose(). sl@0: //! @SYMTestActions 1. Create implementation with wrong resolver uid. 2. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrArgument. Creation of interface implementation has failed. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams resolver1 sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND resolver1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0056-001-SetGenericMatch_command01 sl@0: COMMAND resolver1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0056-001-SetWildcardMatch_command02 sl@0: COMMAND resolver1 SetDataType SYSLIB-ECOM-PublicAPI-0056-001-SetDataType_command03 sl@0: COMMAND session1 OpenL sl@0: COMMAND !Error=-6 session1 CreateImplementationL SYSLIB-ECOM-PublicAPI-0056-001-CreateImplementationL_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0056 sl@0: sl@0: sl@0: ///////////////////////////////////////////////////////////////////// sl@0: // TEComResolverParams class sl@0: ///////////////////////////////////////////////////////////////////// sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0072 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0072 sl@0: //! @SYMAPI TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try set the Interface Implementation plugin 'datatype' match pattern sl@0: //! Uses API elements: SetDataType(). sl@0: //! @SYMTestActions Set data type. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Impementation's data type set with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams params1 sl@0: COMMAND params1 SetDataType SYSLIB-ECOM-PublicAPI-0072-001-SetDataType_command01 sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0072 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0073 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0073 sl@0: //! @SYMAPI TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try get the Interface Implementation plugin 'datatype' match pattern sl@0: //! Uses API elements: SetDataType(), GetDataType(). sl@0: //! @SYMTestActions 1. Set data type. 2. Get data type. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Impementation's data type returned with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams params1 sl@0: COMMAND params1 SetDataType SYSLIB-ECOM-PublicAPI-0073-001-SetDataType_command01 sl@0: COMMAND params1 DataType SYSLIB-ECOM-PublicAPI-0073-001-DataType_command02 sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0073 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0074 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0074 sl@0: //! @SYMAPI TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try set indicator that a 'generic' match is required sl@0: //! Uses API elements: SetGenericMatch(). sl@0: //! @SYMTestActions Set indicator. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Indicator set with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams params1 sl@0: COMMAND params1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0074-001-SetGenericMatch_command01 sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0074 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0075 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0075 sl@0: //! @SYMAPI TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try check if 'generic' matching is allowed sl@0: //! Uses API elements: SetGenericMatch(), IsGenericMatch(). sl@0: //! @SYMTestActions 1. Set ingicator. 2. Check indicator. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Indicator state returned with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams params1 sl@0: COMMAND params1 SetGenericMatch SYSLIB-ECOM-PublicAPI-0075-001-SetGenericMatch_command01 sl@0: COMMAND params1 IsGenericMatch SYSLIB-ECOM-PublicAPI-0075-001-IsGenericMatch_command02 sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0075 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0076 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0076 sl@0: //! @SYMAPI TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try set indicator that a 'generic' match is required sl@0: //! Uses API elements: SetWildcardMatch(). sl@0: //! Deprecated method! sl@0: //! @SYMTestActions Set indicator. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Indicator set with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams params1 sl@0: COMMAND params1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0076-001-SetWildcardMatch_command01 sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0076 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0077 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0077 sl@0: //! @SYMAPI TEComResolverParams sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 10/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try check if 'generic' matching is allowed sl@0: //! Uses API elements: SetWildcardMatch(), IsWildcardMatch(). sl@0: //! Deprecated method! sl@0: //! @SYMTestActions 1. Set ingicator. 2. Check indicator. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Indicator state returned with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT TEComResolverParams params1 sl@0: COMMAND params1 SetWildcardMatch SYSLIB-ECOM-PublicAPI-0077-001-SetWildcardMatch_command01 sl@0: COMMAND params1 IsWildcardMatch SYSLIB-ECOM-PublicAPI-0077-001-IsWildcardMatch_command02 sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0077 sl@0: sl@0: ///////////////////////////////////////////////////////////////////// sl@0: // CImplementationInformation class sl@0: ///////////////////////////////////////////////////////////////////// sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0078 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0078 sl@0: //! @SYMAPI CImplementationInformation, REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 09/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try get for this implementation's human readable name sl@0: //! Uses API elements: DisplayName(). sl@0: //! @SYMTestActions 1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. 3. Get name. 4. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation's name returned with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: CREATE_OBJECT CImplementationInformation impl1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0078-001-ListImplementationsL_command02 sl@0: COMMAND impl1 DisplayName SYSLIB-ECOM-PublicAPI-0078-001-DisplayName_command04 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0078 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0079 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0079 sl@0: //! @SYMAPI CImplementationInformation, REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 08/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try get for this implementation's default binary data type sl@0: //! Uses API elements: DataType(). sl@0: //! @SYMTestActions 1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. 3. Get data type. 4. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation's default binary data type returned with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: CREATE_OBJECT CImplementationInformation impl1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0079-001-ListImplementationsL_command02 sl@0: COMMAND impl1 DataType SYSLIB-ECOM-PublicAPI-0079-001-DataType_command04 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0079 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0080 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0080 sl@0: //! @SYMAPI CImplementationInformation, REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 08/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try get for this implementation's opaque binary data sl@0: //! Uses API elements: OpaqueData(). sl@0: //! @SYMTestActions 1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. 3. Get opaque data. 4. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation's opaque binary data returned with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: CREATE_OBJECT CImplementationInformation impl1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0080-001-ListImplementationsL_command02 sl@0: COMMAND impl1 OpaqueData SYSLIB-ECOM-PublicAPI-0080-001-OpaqueData_command04 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0080 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0081 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0081 sl@0: //! @SYMAPI CImplementationInformation, REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 08/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try get for this implementation's UID sl@0: //! Uses API elements: ImplementationUid(). sl@0: //! @SYMTestActions 1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. 3. Get UID. 4. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation's UID returned with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: CREATE_OBJECT CImplementationInformation impl1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0081-001-ListImplementationsL_command02 sl@0: COMMAND impl1 ImplementationUid SYSLIB-ECOM-PublicAPI-0081-001-ImplementationUid_command04 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0081 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0082 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0082 sl@0: //! @SYMAPI CImplementationInformation, REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 08/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try get for this implementation's version number sl@0: //! Uses API elements: Version(). sl@0: //! @SYMTestActions 1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. 3. Get version number. 4. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation's version number returned with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: CREATE_OBJECT CImplementationInformation impl1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0082-001-ListImplementationsL_command02 sl@0: COMMAND impl1 Version SYSLIB-ECOM-PublicAPI-0082-001-Version_command04 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0082 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0083 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0083 sl@0: //! @SYMAPI CImplementationInformation, REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 08/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try disable/enable current implementation sl@0: //! Uses API elements: Disabled(), SetDisabled(). sl@0: //! @SYMTestActions 1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. sl@0: //! 3. Get current status. 4. Set new status. 5. Get implementation's status. 6. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation's current status returned with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: CREATE_OBJECT CImplementationInformation impl1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0083-001-ListImplementationsL_command02 sl@0: COMMAND impl1 Disabled SYSLIB-ECOM-PublicAPI-0083-001-Disabled_command04 sl@0: COMMAND impl1 SetDisabled SYSLIB-ECOM-PublicAPI-0083-001-SetDisabled_command05 sl@0: COMMAND impl1 Disabled SYSLIB-ECOM-PublicAPI-0083-001-Disabled_command06 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0083 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0084 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0084 sl@0: //! @SYMAPI CImplementationInformation, REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 09/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try get the drive that this implementation is installed sl@0: //! Uses API elements: Drive(). sl@0: //! @SYMTestActions 1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. sl@0: //! 3. Get implementation's drive. 4. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation's installation drive returned with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: CREATE_OBJECT CImplementationInformation impl1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0084-001-ListImplementationsL_command02 sl@0: COMMAND impl1 Drive SYSLIB-ECOM-PublicAPI-0084-001-Drive_command04 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0084 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0085 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0085 sl@0: //! @SYMAPI CImplementationInformation, REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 09/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try whether this implementation is to be loaded from ROM only sl@0: //! Uses API elements: RomOnly(). sl@0: //! @SYMTestActions 1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. sl@0: //! 3. Get whether this implementation is to be loaded from ROM only. 4. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation's ROM-only loading mode returned with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: CREATE_OBJECT CImplementationInformation impl1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0085-001-ListImplementationsL_command02 sl@0: COMMAND impl1 RomOnly SYSLIB-ECOM-PublicAPI-0085-001-RomOnly_command04 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0085 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0086 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0086 sl@0: //! @SYMAPI CImplementationInformation, REComSession sl@0: //! @SYMAuthor Vassili Tsvetkov sl@0: //! @SYMCreationDate 09/03/2006 sl@0: //! @SYMTestCaseDependencies setup-SYSLIB-ECOM-PublicAPI.script sl@0: //! @SYMTestCaseDesc Try whether this implementation is on ROM or is a later version of one on ROM sl@0: //! Uses API elements: RomBased(). sl@0: //! @SYMTestActions 1. Get interface implementation's array from REComSession::ListImplementationsL. 2. Select implementation. sl@0: //! 3. Get ROM-based mode. 4. Finish using ECOM. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Implementation's RAM-based location returned with no errors sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: CREATE_OBJECT CImplementationInformation impl1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 ListImplementationsL SYSLIB-ECOM-PublicAPI-0086-001-ListImplementationsL_command02 sl@0: COMMAND impl1 RomBased SYSLIB-ECOM-PublicAPI-0086-001-RomBased_command04 sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0086 sl@0: sl@0: START_TESTCASE SYSLIB-ECOM-PublicAPI-0999 sl@0: //! @SYMTestCaseID SYSLIB-ECOM-PublicAPI-0999 sl@0: //! @SYMAPI REComSession sl@0: //! @SYMAuthor Louis Henry Nayegon sl@0: //! @SYMCreationDate 10/06/2006 sl@0: //! @SYMTestCaseDependencies SYSLIB-ECOM-PublicAPI-0001 sl@0: //! @SYMTestCaseDesc Try to register for notification messages and recieve the sent message (UID removed from registry) sl@0: //! Uses API elements: OpenL(), NotifyOnChange(), Close(), FinalClose(). sl@0: //! @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: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Registered for notification messages with no errors sl@0: //! @SYMTestType CIT sl@0: RUN_PROGRAM 10 TPDeleteFileUtility \resource\plugins\TestProduct_PlugIn.rsc sl@0: RUN_PROGRAM 10 TPDeleteFileUtility \sys\bin\TestProduct_PlugIn.dll sl@0: START_TEST_BLOCK 3 T_ECOM \ecom\SYSLIB-ECOM-PublicAPI.ini sl@0: CREATE_OBJECT REComSession session1 sl@0: COMMAND session1 OpenL sl@0: COMMAND session1 NotifyOnChange SYSLIB-ECOM-PublicAPI-0999-001-NotifyOnChange_command02 sl@0: OUTSTANDING sl@0: COMMAND session1 CancelNotifyOnChange SYSLIB-ECOM-PublicAPI-0999-001-CancelNotifyOnChange_command03 sl@0: OUTSTANDING sl@0: COMMAND session1 Close sl@0: COMMAND session1 FinalClose sl@0: COMMAND session1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE SYSLIB-ECOM-PublicAPI-0999