--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_setactiveplugin_5.h Thu Dec 17 08:54:17 2009 +0200
@@ -0,0 +1,117 @@
+/*
+* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test case SetActivePlugin(5) test data
+*
+*/
+
+
+#ifndef C_MT_HSPS_SETACTIVEPLUGIN_5_H
+#define C_MT_HSPS_SETACTIVEPLUGIN_5_H
+
+/*
+SetActivePlugin(5)
+------------------
+
+Test purpose
+
+The purpose of this test case is to verify that status element with KErrNotFound
+error code is returned when defined plugin id is not found from active
+configuration.
+
+Pre-conditions
+
+There must be installed test themes for Active Idle application and Typical
+configuration must be set as active (Typical view 1 is set as active).
+
+Test steps
+
+Test step 1:
+• Input:
+ SetActivePlugin(“Not found plugin”)
+• Expected output:
+ Status element with KErrNotFound error code
+
+*/
+
+// Test step 1 method:
+
+const TUint8 setactiveplugin_5_ts_1_method[] = "SetActivePlugin";
+
+// Test step 1 input:
+
+const TUint8 setactiveplugin_5_ts_1_input[] = {
+// SetActivePlugin(Input)
+// - Version 1.0
+// - Item count (LE)
+10,
+1,0,0,0,
+// - SetActivePlugin(Input)::pluginId
+// - Variant name
+// - Version 1.0
+// - Semantic ID (LE)
+// - Variant name length (LE)
+// - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
+// - Variant name
+10,
+12,0,0,0,
+8,0,0,0,
+34,
+'p','l','u','g','i','n','I','d',
+// - SetActivePlugin(Input)::pluginId
+// - Variant value
+// - Version 1.0
+// - Variant value type, EVariantTypeDesC
+// - Variant value length (LE)
+// - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
+// - Variant value
+10,
+5,
+2,0,0,0,
+10,
+'9','9'
+};
+
+// Test step 1 output:
+
+const TUint8 setactiveplugin_5_ts_1_output[] = {
+// SetActivePlugin(Output)
+// - Version 1.0
+// - Item count (LE)
+10,
+1,0,0,0,
+// - SetActivePlugin(Output)::status
+// - Variant name
+// - Version 1.0
+// - Semantic ID (LE)
+// - Variant name length (LE)
+// - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
+// - Variant name
+10,
+12,0,0,0,
+6,0,0,0,
+26,
+'s','t','a','t','u','s',
+// - RemovePlugin(Input)::status
+// - Variant value
+// - Version 1.0
+// - Variant value type, EVariantTypeTInt32
+// - Variant value length (LE)
+// - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
+// - Variant value
+10,
+1,
+255,255,255,255
+};
+
+#endif // C_MT_HSPS_SETACTIVEPLUGIN_5_H