author | victorp@symbian.org |
Wed, 03 Feb 2010 17:01:52 +0000 | |
branch | Symbian3 |
changeset 6 | c108117318cb |
parent 1 | 8758140453c0 |
permissions | -rw-r--r-- |
1
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
1 |
/* |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
2 |
* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies). |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
3 |
* All rights reserved. |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
6 | 5 |
* under the terms of the License "Eclipse Public License v1.0" |
1
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
6 | 7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
1
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
8 |
* |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
11 |
* |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
12 |
* Contributors: |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
13 |
* |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
14 |
* Description: Test AknsItemData.h |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
15 |
* |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
16 |
*/ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
17 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
18 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
19 |
#include <aknsitemdata.h> |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
20 |
#include <aknsimageattributedata.h> |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
21 |
#include <aknsitemdef.h> |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
22 |
#include <aknsconstants.h> |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
23 |
#include <eikcolor.hrh> |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
24 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
25 |
#include "testsdkskins.h" |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
26 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
27 |
const TInt KLength = 10; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
28 |
// ============================ MEMBER FUNCTIONS =============================== |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
29 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
30 |
// CTestSDKSkins::TestIDTypeL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
31 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
32 |
TInt CTestSDKSkins::TestIDTypeL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
33 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
34 |
CAknsBitmapItemData* itemData = CAknsBitmapItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
35 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
36 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
37 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
38 |
TAknsItemType typeGet = itemData->Type(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
39 |
STIF_ASSERT_TRUE( typeGet == EAknsITBitmap ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
40 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
41 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
42 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
43 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
44 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
45 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
46 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
47 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
48 |
// CTestSDKSkins::TestIIDSetAttributesL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
49 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
50 |
TInt CTestSDKSkins::TestIIDSetAttributesL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
51 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
52 |
CAknsBitmapItemData* itemData = CAknsBitmapItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
53 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
54 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
55 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
56 |
TAknsImageAttributeData attributeData; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
57 |
itemData->SetAttributesL( attributeData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
58 |
STIF_ASSERT_NOT_NULL( itemData->Attributes() ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
59 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
60 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
61 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
62 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
63 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
64 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
65 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
66 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
67 |
// CTestSDKSkins::TestIIDAttributesL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
68 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
69 |
TInt CTestSDKSkins::TestIIDAttributesL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
70 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
71 |
return TestIIDSetAttributesL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
72 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
73 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
74 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
75 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
76 |
// CTestSDKSkins::TestIIDSetParentIIDL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
77 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
78 |
TInt CTestSDKSkins::TestIIDSetParentIIDL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
79 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
80 |
CAknsBitmapItemData* itemData = CAknsBitmapItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
81 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
82 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
83 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
84 |
TAknsItemID itemID; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
85 |
itemData->SetParentIID( itemID ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
86 |
STIF_ASSERT_TRUE( itemID.iMajor == itemData->ParentIID().iMajor ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
87 |
STIF_ASSERT_TRUE( itemID.iMinor == itemData->ParentIID().iMinor ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
88 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
89 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
90 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
91 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
92 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
93 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
94 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
95 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
96 |
// CTestSDKSkins::TestIIDSetDrawRectL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
97 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
98 |
TInt CTestSDKSkins::TestIIDSetDrawRectL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
99 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
100 |
CAknsBitmapItemData* itemData = CAknsBitmapItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
101 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
102 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
103 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
104 |
TPoint pointTL( 0, 0 ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
105 |
TPoint pointBR( KLength, KLength ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
106 |
TRect rect( pointTL, pointBR ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
107 |
itemData->SetDrawRect( rect ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
108 |
STIF_ASSERT_TRUE( rect == itemData->DrawRect() ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
109 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
110 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
111 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
112 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
113 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
114 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
115 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
116 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
117 |
// CTestSDKSkins::TestIIDParentIIDL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
118 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
119 |
TInt CTestSDKSkins::TestIIDParentIIDL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
120 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
121 |
return TestIIDSetParentIIDL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
122 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
123 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
124 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
125 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
126 |
// CTestSDKSkins::TestIIDDrawRectL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
127 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
128 |
TInt CTestSDKSkins::TestIIDDrawRectL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
129 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
130 |
return TestIIDSetDrawRectL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
131 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
132 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
133 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
134 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
135 |
// CTestSDKSkins::TestBIDNewL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
136 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
137 |
TInt CTestSDKSkins::TestBIDNewL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
138 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
139 |
CAknsBitmapItemData* itemData = CAknsBitmapItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
140 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
141 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
142 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
143 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
144 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
145 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
146 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
147 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
148 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
149 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
150 |
// CTestSDKSkins::TestBIDSetBitmapL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
151 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
152 |
TInt CTestSDKSkins::TestBIDSetBitmapL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
153 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
154 |
CAknsBitmapItemData* itemData = CAknsBitmapItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
155 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
156 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
157 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
158 |
CFbsBitmap* bitMap = new (ELeave) CFbsBitmap; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
159 |
CleanupStack::PushL( bitMap ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
160 |
itemData->SetBitmap( bitMap ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
161 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
162 |
STIF_ASSERT_TRUE( bitMap == itemData->Bitmap() ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
163 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
164 |
CleanupStack::Pop( bitMap ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
165 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
166 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
167 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
168 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
169 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
170 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
171 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
172 |
// CTestSDKSkins::TestBIDDestroyAndSetBitmapL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
173 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
174 |
TInt CTestSDKSkins::TestBIDDestroyAndSetBitmapL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
175 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
176 |
CAknsBitmapItemData* itemData = CAknsBitmapItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
177 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
178 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
179 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
180 |
CFbsBitmap* bitMap = new (ELeave) CFbsBitmap; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
181 |
CleanupStack::PushL( bitMap ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
182 |
itemData->DestroyAndSetBitmap( bitMap ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
183 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
184 |
CleanupStack::Pop( bitMap ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
185 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
186 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
187 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
188 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
189 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
190 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
191 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
192 |
// CTestSDKSkins::TestBIDBitmapL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
193 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
194 |
TInt CTestSDKSkins::TestBIDBitmapL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
195 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
196 |
return TestBIDSetBitmapL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
197 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
198 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
199 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
200 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
201 |
// CTestSDKSkins::TestMBIDNewL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
202 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
203 |
TInt CTestSDKSkins::TestMBIDNewL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
204 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
205 |
CAknsMaskedBitmapItemData* itemData = CAknsMaskedBitmapItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
206 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
207 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
208 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
209 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
210 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
211 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
212 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
213 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
214 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
215 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
216 |
// CTestSDKSkins::TestMBIDSetMaskL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
217 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
218 |
TInt CTestSDKSkins::TestMBIDSetMaskL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
219 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
220 |
CAknsMaskedBitmapItemData* itemData = CAknsMaskedBitmapItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
221 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
222 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
223 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
224 |
CFbsBitmap* bitMapMask = new (ELeave) CFbsBitmap; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
225 |
CleanupStack::PushL( bitMapMask ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
226 |
itemData->SetMask( bitMapMask ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
227 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
228 |
STIF_ASSERT_TRUE( bitMapMask == itemData->Mask() ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
229 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
230 |
CleanupStack::Pop( bitMapMask ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
231 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
232 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
233 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
234 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
235 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
236 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
237 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
238 |
// CTestSDKSkins::TestMBIDDestroyAndSetMaskL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
239 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
240 |
TInt CTestSDKSkins::TestMBIDDestroyAndSetMaskL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
241 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
242 |
CAknsMaskedBitmapItemData* itemData = CAknsMaskedBitmapItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
243 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
244 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
245 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
246 |
CFbsBitmap* bitMapMask = new (ELeave) CFbsBitmap; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
247 |
CleanupStack::PushL( bitMapMask ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
248 |
itemData->DestroyAndSetBitmap( bitMapMask ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
249 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
250 |
CleanupStack::Pop( bitMapMask ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
251 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
252 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
253 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
254 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
255 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
256 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
257 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
258 |
// CTestSDKSkins::TestMBIDMaskL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
259 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
260 |
TInt CTestSDKSkins::TestMBIDMaskL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
261 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
262 |
return TestMBIDSetMaskL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
263 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
264 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
265 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
266 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
267 |
// CTestSDKSkins::TestCTIDNewL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
268 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
269 |
TInt CTestSDKSkins::TestCTIDNewL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
270 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
271 |
CAknsColorTableItemData* itemData = CAknsColorTableItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
272 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
273 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
274 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
275 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
276 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
277 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
278 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
279 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
280 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
281 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
282 |
// CTestSDKSkins::TestCTIDSetColorsL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
283 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
284 |
TInt CTestSDKSkins::TestCTIDSetColorsL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
285 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
286 |
CAknsColorTableItemData* itemData = CAknsColorTableItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
287 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
288 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
289 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
290 |
TAknsColorTableEntry* color = new (ELeave) TAknsColorTableEntry[1]; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
291 |
color->iIndex = 0; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
292 |
color->iRgb = 0x00020408; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
293 |
itemData->SetColorsL( 1, color ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
294 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
295 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
296 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
297 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
298 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
299 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
300 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
301 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
302 |
// CTestSDKSkins::TestCTIDColorIndexedL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
303 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
304 |
TInt CTestSDKSkins::TestCTIDColorIndexedL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
305 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
306 |
CAknsColorTableItemData* itemData = CAknsColorTableItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
307 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
308 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
309 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
310 |
TAknsColorTableEntry* color = new (ELeave) TAknsColorTableEntry[1]; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
311 |
color->iIndex = 0; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
312 |
color->iRgb = 0x00020408; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
313 |
itemData->SetColorsL( 1, color ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
314 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
315 |
TInt value = itemData->ColorIndexed( 0 ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
316 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
317 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
318 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
319 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
320 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
321 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
322 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
323 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
324 |
// CTestSDKSkins::TestCTIDColorRgbL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
325 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
326 |
TInt CTestSDKSkins::TestCTIDColorRgbL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
327 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
328 |
CAknsColorTableItemData* itemData = CAknsColorTableItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
329 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
330 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
331 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
332 |
TAknsColorTableEntry* color = new (ELeave) TAknsColorTableEntry[1]; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
333 |
color->iIndex = 0; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
334 |
color->iRgb = 0x00020408; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
335 |
itemData->SetColorsL( 1, color ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
336 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
337 |
TRgb rgb = itemData->ColorRgb( 0 ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
338 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
339 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
340 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
341 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
342 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
343 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
344 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
345 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
346 |
// CTestSDKSkins::TestCTIDGetColorL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
347 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
348 |
TInt CTestSDKSkins::TestCTIDGetColorL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
349 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
350 |
CAknsColorTableItemData* itemData = CAknsColorTableItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
351 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
352 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
353 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
354 |
TAknsColorTableEntry* color = new (ELeave) TAknsColorTableEntry[1]; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
355 |
color->iIndex = 0; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
356 |
color->iRgb = 0x00020408; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
357 |
itemData->SetColorsL( 1, color ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
358 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
359 |
TRgb rgb; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
360 |
itemData->GetColorL( 0, rgb ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
361 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
362 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
363 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
364 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
365 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
366 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
367 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
368 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
369 |
// CTestSDKSkins::TestITIDNewL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
370 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
371 |
TInt CTestSDKSkins::TestITIDNewL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
372 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
373 |
CAknsImageTableItemData* itemData = CAknsImageTableItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
374 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
375 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
376 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
377 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
378 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
379 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
380 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
381 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
382 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
383 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
384 |
// CTestSDKSkins::TestITIDSetImagesL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
385 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
386 |
TInt CTestSDKSkins::TestITIDSetImagesL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
387 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
388 |
CAknsImageTableItemData* itemData = CAknsImageTableItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
389 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
390 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
391 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
392 |
TAknsItemID itemID; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
393 |
itemData->SetImagesL( 1, &itemID ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
394 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
395 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
396 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
397 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
398 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
399 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
400 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
401 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
402 |
// CTestSDKSkins::TestITIDImageIIDL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
403 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
404 |
TInt CTestSDKSkins::TestITIDImageIIDL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
405 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
406 |
CAknsImageTableItemData* itemData = CAknsImageTableItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
407 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
408 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
409 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
410 |
TAknsItemID itemID; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
411 |
itemData->SetImagesL( 1, &itemID ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
412 |
TAknsItemID itemIDGet = itemData->ImageIID( 0 ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
413 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
414 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
415 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
416 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
417 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
418 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
419 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
420 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
421 |
// CTestSDKSkins::TestITIDImagesL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
422 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
423 |
TInt CTestSDKSkins::TestITIDImagesL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
424 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
425 |
CAknsImageTableItemData* itemData = CAknsImageTableItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
426 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
427 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
428 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
429 |
TAknsItemID itemID; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
430 |
itemData->SetImagesL( 1, &itemID ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
431 |
TAknsItemID* item = itemData->Images(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
432 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
433 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
434 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
435 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
436 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
437 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
438 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
439 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
440 |
// CTestSDKSkins::TestITIDNumberOfImagesL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
441 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
442 |
TInt CTestSDKSkins::TestITIDNumberOfImagesL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
443 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
444 |
CAknsImageTableItemData* itemData = CAknsImageTableItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
445 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
446 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
447 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
448 |
TAknsItemID itemID; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
449 |
itemData->SetImagesL( 1, &itemID ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
450 |
TInt num = itemData->NumberOfImages(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
451 |
STIF_ASSERT_TRUE( 1 == num ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
452 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
453 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
454 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
455 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
456 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
457 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
458 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
459 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
460 |
// CTestSDKSkins::TestBAIDNewL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
461 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
462 |
TInt CTestSDKSkins::TestBAIDNewL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
463 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
464 |
CAknsBmpAnimItemData* itemData = CAknsBmpAnimItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
465 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
466 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
467 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
468 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
469 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
470 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
471 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
472 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
473 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
474 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
475 |
// CTestSDKSkins::TestBAIDSetFrameInfosL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
476 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
477 |
TInt CTestSDKSkins::TestBAIDSetFrameInfosL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
478 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
479 |
CAknsBmpAnimItemData* itemData = CAknsBmpAnimItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
480 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
481 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
482 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
483 |
TAknsBmpAnimFrameInfo info; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
484 |
itemData->SetFrameInfosL( &info ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
485 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
486 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
487 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
488 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
489 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
490 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
491 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
492 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
493 |
// CTestSDKSkins::TestBAIDFrameInfosL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
494 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
495 |
TInt CTestSDKSkins::TestBAIDFrameInfosL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
496 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
497 |
CAknsBmpAnimItemData* itemData = CAknsBmpAnimItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
498 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
499 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
500 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
501 |
TAknsBmpAnimFrameInfo info; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
502 |
itemData->SetFrameInfosL( &info ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
503 |
TAknsBmpAnimFrameInfo* infoGet = itemData->FrameInfos(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
504 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
505 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
506 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
507 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
508 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
509 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
510 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
511 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
512 |
// CTestSDKSkins::TestBAIDSetLastFrameBackgroundL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
513 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
514 |
TInt CTestSDKSkins::TestBAIDSetLastFrameBackgroundL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
515 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
516 |
CAknsBmpAnimItemData* itemData = CAknsBmpAnimItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
517 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
518 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
519 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
520 |
itemData->SetLastFrameBackground( ETrue ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
521 |
STIF_ASSERT_TRUE( itemData->LastFrameBackground() ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
522 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
523 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
524 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
525 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
526 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
527 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
528 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
529 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
530 |
// CTestSDKSkins::TestBAIDLastFrameBackgroundL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
531 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
532 |
TInt CTestSDKSkins::TestBAIDLastFrameBackgroundL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
533 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
534 |
return TestBAIDSetLastFrameBackgroundL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
535 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
536 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
537 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
538 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
539 |
// CTestSDKSkins::TestBAIDSetFrameIntervalL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
540 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
541 |
TInt CTestSDKSkins::TestBAIDSetFrameIntervalL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
542 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
543 |
CAknsBmpAnimItemData* itemData = CAknsBmpAnimItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
544 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
545 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
546 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
547 |
itemData->SetFrameInterval( 1 ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
548 |
STIF_ASSERT_TRUE( 1 == itemData->FrameInterval() ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
549 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
550 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
551 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
552 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
553 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
554 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
555 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
556 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
557 |
// CTestSDKSkins::TestBAIDFrameIntervalL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
558 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
559 |
TInt CTestSDKSkins::TestBAIDFrameIntervalL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
560 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
561 |
return TestBAIDSetFrameIntervalL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
562 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
563 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
564 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
565 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
566 |
// CTestSDKSkins::TestBAIDSetPlayModeL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
567 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
568 |
TInt CTestSDKSkins::TestBAIDSetPlayModeL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
569 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
570 |
CAknsBmpAnimItemData* itemData = CAknsBmpAnimItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
571 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
572 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
573 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
574 |
itemData->SetPlayMode( 1 ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
575 |
STIF_ASSERT_TRUE( 1 == itemData->PlayMode() ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
576 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
577 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
578 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
579 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
580 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
581 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
582 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
583 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
584 |
// CTestSDKSkins::TestBAIDPlayModeL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
585 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
586 |
TInt CTestSDKSkins::TestBAIDPlayModeL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
587 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
588 |
return TestBAIDSetPlayModeL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
589 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
590 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
591 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
592 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
593 |
// CTestSDKSkins::TestBAIDSetFlashL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
594 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
595 |
TInt CTestSDKSkins::TestBAIDSetFlashL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
596 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
597 |
CAknsBmpAnimItemData* itemData = CAknsBmpAnimItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
598 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
599 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
600 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
601 |
itemData->SetFlash( ETrue ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
602 |
STIF_ASSERT_TRUE( itemData->Flash() ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
603 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
604 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
605 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
606 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
607 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
608 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
609 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
610 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
611 |
// CTestSDKSkins::TestBAIDFlashL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
612 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
613 |
TInt CTestSDKSkins::TestBAIDFlashL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
614 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
615 |
return TestBAIDSetFlashL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
616 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
617 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
618 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
619 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
620 |
// CTestSDKSkins::TestSIDNewL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
621 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
622 |
TInt CTestSDKSkins::TestSIDNewL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
623 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
624 |
CAknsStringItemData* itemData = CAknsStringItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
625 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
626 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
627 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
628 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
629 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
630 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
631 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
632 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
633 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
634 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
635 |
// CTestSDKSkins::TestSIDSetStringL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
636 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
637 |
TInt CTestSDKSkins::TestSIDSetStringL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
638 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
639 |
CAknsStringItemData* itemData = CAknsStringItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
640 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
641 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
642 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
643 |
_LIT( KString, "string" ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
644 |
TBuf<KLength> string( KString ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
645 |
itemData->SetStringL( string ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
646 |
TBuf<KLength> stringGet = itemData->String(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
647 |
STIF_ASSERT_TRUE( 0 == stringGet.Compare( string ) ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
648 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
649 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
650 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
651 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
652 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
653 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
654 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
655 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
656 |
// CTestSDKSkins::TestSIDStringL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
657 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
658 |
TInt CTestSDKSkins::TestSIDStringL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
659 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
660 |
return TestSIDSetStringL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
661 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
662 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
663 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
664 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
665 |
// CTestSDKSkins::TestECNewL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
666 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
667 |
TInt CTestSDKSkins::TestECNewL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
668 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
669 |
CAknsEffectCommand* itemData = CAknsEffectCommand::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
670 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
671 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
672 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
673 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
674 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
675 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
676 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
677 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
678 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
679 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
680 |
// CTestSDKSkins::TestECSetEffectUidL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
681 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
682 |
TInt CTestSDKSkins::TestECSetEffectUidL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
683 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
684 |
CAknsEffectCommand* itemData = CAknsEffectCommand::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
685 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
686 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
687 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
688 |
TUid uid = TUid::Uid( 0 ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
689 |
itemData->SetEffectUid( uid ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
690 |
STIF_ASSERT_TRUE( uid == itemData->EffectUid() ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
691 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
692 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
693 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
694 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
695 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
696 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
697 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
698 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
699 |
// CTestSDKSkins::TestECEffectUidL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
700 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
701 |
TInt CTestSDKSkins::TestECEffectUidL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
702 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
703 |
return TestECSetEffectUidL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
704 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
705 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
706 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
707 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
708 |
// CTestSDKSkins::TestECSetLayerConfL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
709 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
710 |
TInt CTestSDKSkins::TestECSetLayerConfL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
711 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
712 |
CAknsEffectCommand* itemData = CAknsEffectCommand::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
713 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
714 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
715 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
716 |
TAknsRlRenderOpParam param; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
717 |
param.iInputLayerAIndex = KLength; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
718 |
itemData->SetLayerConf( param ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
719 |
TAknsRlRenderOpParam paramGet = itemData->LayerConf(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
720 |
STIF_ASSERT_TRUE( param.iInputLayerAIndex == paramGet.iInputLayerAIndex ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
721 |
STIF_ASSERT_TRUE( param.iInputLayerAStatus == paramGet.iInputLayerAStatus ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
722 |
STIF_ASSERT_TRUE( param.iInputLayerBIndex == paramGet.iInputLayerBIndex ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
723 |
STIF_ASSERT_TRUE( param.iInputLayerBStatus == paramGet.iInputLayerBStatus ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
724 |
STIF_ASSERT_TRUE( param.iOutputLayerIndex == paramGet.iOutputLayerIndex ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
725 |
STIF_ASSERT_TRUE( param.iOutputLayerStatus == paramGet.iOutputLayerStatus ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
726 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
727 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
728 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
729 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
730 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
731 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
732 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
733 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
734 |
// CTestSDKSkins::TestECLayerConfL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
735 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
736 |
TInt CTestSDKSkins::TestECLayerConfL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
737 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
738 |
return TestECSetLayerConfL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
739 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
740 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
741 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
742 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
743 |
// CTestSDKSkins::TestECAppendParameterL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
744 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
745 |
TInt CTestSDKSkins::TestECAppendParameterL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
746 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
747 |
CAknsEffectCommand* itemData = CAknsEffectCommand::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
748 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
749 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
750 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
751 |
TAknsRlParameterData parameterData; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
752 |
_LIT( KName, "parameter" ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
753 |
TBuf<KLength> name( KName ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
754 |
parameterData.iName = &name; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
755 |
itemData->AppendParameterL( parameterData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
756 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
757 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
758 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
759 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
760 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
761 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
762 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
763 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
764 |
// CTestSDKSkins::TestECCreateParameterIteratorL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
765 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
766 |
TInt CTestSDKSkins::TestECCreateParameterIteratorL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
767 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
768 |
CAknsEffectCommand* itemData = CAknsEffectCommand::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
769 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
770 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
771 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
772 |
MAknsRlParameterIterator* iterator = itemData->CreateParameterIteratorL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
773 |
STIF_ASSERT_NOT_NULL( iterator ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
774 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
775 |
delete iterator; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
776 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
777 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
778 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
779 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
780 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
781 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
782 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
783 |
// CTestSDKSkins::TestEQIDNewL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
784 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
785 |
TInt CTestSDKSkins::TestEQIDNewL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
786 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
787 |
CAknsEffectQueueItemData* itemData = CAknsEffectQueueItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
788 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
789 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
790 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
791 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
792 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
793 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
794 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
795 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
796 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
797 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
798 |
// CTestSDKSkins::TestEQIDSetRefItemL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
799 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
800 |
TInt CTestSDKSkins::TestEQIDSetRefItemL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
801 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
802 |
CAknsEffectQueueItemData* itemData = CAknsEffectQueueItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
803 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
804 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
805 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
806 |
TAknsItemID itemID( KAknsIIDQsnCpScrollBgTop ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
807 |
itemData->SetRefItem( itemID ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
808 |
TAknsItemID itemIDGet = itemData->RefItem(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
809 |
STIF_ASSERT_TRUE( itemID.iMajor == itemID.iMajor ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
810 |
STIF_ASSERT_TRUE( itemID.iMinor == itemID.iMinor ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
811 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
812 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
813 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
814 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
815 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
816 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
817 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
818 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
819 |
// CTestSDKSkins::TestEQIDRefItemL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
820 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
821 |
TInt CTestSDKSkins::TestEQIDRefItemL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
822 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
823 |
return TestEQIDSetRefItemL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
824 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
825 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
826 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
827 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
828 |
// CTestSDKSkins::TestEQIDSetInputLayerL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
829 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
830 |
TInt CTestSDKSkins::TestEQIDSetInputLayerL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
831 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
832 |
CAknsEffectQueueItemData* itemData = CAknsEffectQueueItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
833 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
834 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
835 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
836 |
itemData->SetInputLayer( 1 ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
837 |
TInt inputLayerGet = itemData->InputLayer(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
838 |
STIF_ASSERT_TRUE( 1 == inputLayerGet ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
839 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
840 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
841 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
842 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
843 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
844 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
845 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
846 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
847 |
// CTestSDKSkins::TestEQIDInputLayerL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
848 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
849 |
TInt CTestSDKSkins::TestEQIDInputLayerL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
850 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
851 |
return TestEQIDSetInputLayerL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
852 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
853 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
854 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
855 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
856 |
// CTestSDKSkins::TestEQIDSetInputLayerModeL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
857 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
858 |
TInt CTestSDKSkins::TestEQIDSetInputLayerModeL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
859 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
860 |
CAknsEffectQueueItemData* itemData = CAknsEffectQueueItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
861 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
862 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
863 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
864 |
itemData->SetInputLayerMode( 1 ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
865 |
TInt modeGet = itemData->InputLayerMode(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
866 |
STIF_ASSERT_TRUE( 1 == modeGet ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
867 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
868 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
869 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
870 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
871 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
872 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
873 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
874 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
875 |
// CTestSDKSkins::TestEQIDInputLayerModeL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
876 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
877 |
TInt CTestSDKSkins::TestEQIDInputLayerModeL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
878 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
879 |
return TestEQIDSetInputLayerModeL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
880 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
881 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
882 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
883 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
884 |
// CTestSDKSkins::TestEQIDSetOutputLayerL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
885 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
886 |
TInt CTestSDKSkins::TestEQIDSetOutputLayerL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
887 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
888 |
CAknsEffectQueueItemData* itemData = CAknsEffectQueueItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
889 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
890 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
891 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
892 |
itemData->SetOutputLayer( 1 ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
893 |
TInt outputLayerGet = itemData->OutputLayer(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
894 |
STIF_ASSERT_TRUE( 1 == outputLayerGet ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
895 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
896 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
897 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
898 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
899 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
900 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
901 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
902 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
903 |
// CTestSDKSkins::TestEQIDOutputLayerL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
904 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
905 |
TInt CTestSDKSkins::TestEQIDOutputLayerL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
906 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
907 |
return TestEQIDSetOutputLayerL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
908 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
909 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
910 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
911 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
912 |
// CTestSDKSkins::TestEQIDSetOutputLayerModeL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
913 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
914 |
TInt CTestSDKSkins::TestEQIDSetOutputLayerModeL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
915 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
916 |
CAknsEffectQueueItemData* itemData = CAknsEffectQueueItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
917 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
918 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
919 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
920 |
itemData->SetOutputLayerMode( 1 ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
921 |
TInt outputLayerModeGet = itemData->OutputLayerMode(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
922 |
STIF_ASSERT_TRUE( 1 == outputLayerModeGet ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
923 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
924 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
925 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
926 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
927 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
928 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
929 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
930 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
931 |
// CTestSDKSkins::TestEQIDOutputLayerModeL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
932 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
933 |
TInt CTestSDKSkins::TestEQIDOutputLayerModeL( CStifItemParser& aItem ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
934 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
935 |
return TestEQIDSetOutputLayerModeL( aItem ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
936 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
937 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
938 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
939 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
940 |
// CTestSDKSkins::TestEQIDAppendCommandL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
941 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
942 |
TInt CTestSDKSkins::TestEQIDAppendCommandL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
943 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
944 |
CAknsEffectQueueItemData* itemData = CAknsEffectQueueItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
945 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
946 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
947 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
948 |
CAknsEffectCommand* command = CAknsEffectCommand::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
949 |
CleanupStack::PushL( command ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
950 |
STIF_ASSERT_NOT_NULL( command ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
951 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
952 |
itemData->AppendCommandL( command ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
953 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
954 |
CleanupStack::Pop( command ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
955 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
956 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
957 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
958 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
959 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
960 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
961 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
962 |
// CTestSDKSkins::TestEQIDCreateCommandIteratorL |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
963 |
// ----------------------------------------------------------------------------- |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
964 |
TInt CTestSDKSkins::TestEQIDCreateCommandIteratorL( CStifItemParser& /*aItem*/ ) |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
965 |
{ |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
966 |
CAknsEffectQueueItemData* itemData = CAknsEffectQueueItemData::NewL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
967 |
CleanupStack::PushL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
968 |
STIF_ASSERT_NOT_NULL( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
969 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
970 |
MAknsRlCommandIterator* iterator = itemData->CreateCommandIteratorL(); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
971 |
STIF_ASSERT_NOT_NULL( iterator ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
972 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
973 |
CleanupStack::PopAndDestroy( itemData ); |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
974 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
975 |
return KErrNone; |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
976 |
|
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
977 |
} |
8758140453c0
Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
978 |