homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_moveplugins_4.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 31 Mar 2010 22:04:35 +0300
branchRCL_3
changeset 14 15e4dd19031c
parent 0 79c6a41cd166
permissions -rw-r--r--
Revision: 201011 Kit: 201013

/*
* 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 MovePlugins(4) test data
*
*/


#ifndef MT_HSPS_MOVEPLUGINS_4_H_
#define MT_HSPS_MOVEPLUGINS_4_H_

/* 
MovePlugins(4)
----------------
 
Test purpose

The purpose of this test case is to verify that the plugins order change fails 
if the plugin id list contains an id which cannot be found (plugin count mismatch)

Pre-conditions
•   There must be installed test themes for Active Idle application and Typical 
    configuration must be set as active

Test steps

Test step 1:
•   Input:
    MovePlugins(“Typical view conf 1”,”4,3,2,1”)
•   Expected output:
    Plugins order change fails
    
*/

// Test step 1 method:

const TUint8 moveplugins_4_ts_1_method[] = "MovePlugins";

// Test step 1 input:

const TUint8 moveplugins_4_ts_1_input[] = {
// MovePlugins(Input)
// - Version 1.0
// - Item count (LE)
10,
2,0,0,0,
// - MovePlugins::confId
//   - 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,
'c','o','n','f','I','d',
// - MovePlugins::confId
//   - 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,
1,0,0,0,
6,
'2',
// - MovePlugins::plugins
//   - 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,
7,0,0,0,
30,
'p','l','u','g','i','n','s',
// - MovePlugins::plugins
//   - Variant value
//     - Version 1.0
//     - Variant value type, EVariantTypeList
10,
7,
// - MovePlugins(Input)::plugins
//   - Version 1.0
//   - Item count (LE)
10,
4,0,0,0,
// - MovePlugins::plugins
//   - Version 1.0
//   - List item starts
10,
0,0,0,0,
// - plugins[0]
//   - 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,
1,0,0,0,
6,
'4',
// - MovePlugins::plugins
//   - Version 1.0
//   - List item starts
10,
0,0,0,0,
// - plugins[1]
//   - 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,
1,0,0,0,
6,
'3',
// - MovePlugins::plugins
//   - Version 1.0
//   - List item starts
10,
0,0,0,0,
// - plugins[2]
//   - 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,
1,0,0,0,
6,
'2',
// - MovePlugins::plugins
//   - Version 1.0
//   - List item starts
10,
0,0,0,0,
// - plugins[3]
//   - 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,
1,0,0,0,
6,
'1'
};

// Test step 1 output:
const TUint8 moveplugins_4_ts_1_output[] = {
// MovePlugins(Output)
// - Version 1.0
// - Item count (LE)
10,
1,0,0,0,
// - MovePlugins(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',
// - MovePlugins(Output)::status
//   - Variant value
//     - Version 1.0
//     - Variant value type, EVariantTypeTInt32
//     - Variant value, KErrArgument
10,
1,
250,255,255,255
};


#endif /*MT_HSPS_MOVEPLUGINS_4_H_*/