# HG changeset patch
# User shrivatsa
# Date 1282900036 -19800
# Node ID d8ef7a232001e0c07421a1053f9f7ec27e465847
# Parent 60ac11a5544a7e214f631a96204375609631f408
Added Classic UI test cases. Fixes to other existing test cases.
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/_ccmwaid.inf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/_ccmwaid.inf Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+/nokia/bh_nmp/groups/gscm/dbs/bh1test/db
+1321165
+bh1test#1/project/bcdrivers/skovvuri7
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/Bmarm/BCTestPbkDataAddEditU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/Bmarm/BCTestPbkDataAddEditU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/Bwins/BCTestPbkDataAddEditU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/Bwins/BCTestPbkDataAddEditU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/EABI/BCTestPbkDataAddEditU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/EABI/BCTestPbkDataAddEditU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,4 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/group/BCTestPbkDataAddEdit.mmp
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/group/BCTestPbkDataAddEdit.mmp Mon May 03 11:57:22 2010 +0530
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/group/BCTestPbkDataAddEdit.mmp Fri Aug 27 14:37:16 2010 +0530
@@ -59,6 +59,7 @@
#endif // SBSV2
SYSTEMINCLUDE /epoc32/include
+SYSTEMINCLUDE /epoc32/include/Platform
SYSTEMINCLUDE /epoc32/include/middleware
SYSTEMINCLUDE /epoc32/include/domain/middleware
SYSTEMINCLUDE /epoc32/include/osextensions
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/group/Pbkae.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/group/Pbkae.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Phonebook Data AddEdit API
+STIF
+
+The tests involve the contacts Phonebook Data Add/Edit API
+
+
+
+C:\TestFramework\TestFramework_PbkDataAddEdit.iniC:\TestFramework\TestFramework.ini
+ -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkDataAddEdit.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 11
+ c:\Logs\TestFramework\TestReport.txte:\BCTest\results\Contacts_PbkDataAddEdit.txt
+
+
+
+
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/group/pbkaddedit.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/group/pbkaddedit.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_PbkDataAddEdit.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkDataAddEdit.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\Contacts_PbkDataAddEdit.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/sis/Contacts_PbkDataAddEdit.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/sis/Contacts_PbkDataAddEdit.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"PIM_PbkDataAddEdit"},(0x20015B11),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\BCTestPbkDataAddEdit.dll"-"!:\sys\bin\BCTestPbkDataAddEdit.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkDataAddEdit.ini"-"!:\TestFramework\TestFramework_PbkDataAddEdit.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkDataAddEdit.cfg"-"!:\TestFramework\tcBCTestPbkDataAddEdit.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkDataAddEdit.cfg"-"!:\TestFramework\UI_BCTestPbkDataAddEdit.cfg"
-"\epoc32\winscw\c\pbkaddedit.bat"-"!:\pbkaddedit.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/sis/Contacts_PbkDataAddEdit.sis
Binary file apicompatanamdw/bcdrivers/app/contacts/phonebook_data_addedit_ui_api/sis/Contacts_PbkDataAddEdit.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactChangeNotifier/Bmarm/MTPbkContactChangeNotifierU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactChangeNotifier/Bmarm/MTPbkContactChangeNotifierU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactChangeNotifier/Bwins/MTPbkContactChangeNotifierU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactChangeNotifier/Bwins/MTPbkContactChangeNotifierU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactChangeNotifier/EABI/MTPbkContactChangeNotifierU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactChangeNotifier/EABI/MTPbkContactChangeNotifierU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI11CFixedQueueI23TContactDbObserverEventE @ 2 NONAME
+ _ZTI24CContactEngineEventQueue @ 3 NONAME
+ _ZTV11CFixedQueueI23TContactDbObserverEventE @ 4 NONAME
+ _ZTV24CContactEngineEventQueue @ 5 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactChangeNotifier/group/PbkNotifier.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactChangeNotifier/group/PbkNotifier.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_PbkNotifier.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkNotifier.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\tcBCTestPbkNotifier.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactChangeNotifier/sis/BCTestPbkNotifier.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactChangeNotifier/sis/BCTestPbkNotifier.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkContactChangeNotifier"},(0x20025A28),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkContactChangeNotifier.dll"-"!:\sys\bin\MTPbkContactChangeNotifier.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkNotifier.ini"-"!:\TestFramework\TestFramework_PbkNotifier.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkNotifier.cfg"-"!:\TestFramework\tcBCTestPbkNotifier.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkPbkNotifier.cfg"-"!:\TestFramework\UI_BCTestPbkPbkNotifier.cfg"
-"\epoc32\winscw\c\PbkNotifier_c.bat"-"!:\PbkNotifier.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/Bmarm/MTPbkContactEngineU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/Bmarm/MTPbkContactEngineU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/Bwins/MTPbkContactEngineU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/Bwins/MTPbkContactEngineU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/EABI/MTPbkContactEngineU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/EABI/MTPbkContactEngineU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,9 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI11CFixedQueueI23TContactDbObserverEventE @ 2 NONAME
+ _ZTI24CContactEngineEventQueue @ 3 NONAME
+ _ZTIN19CMTPbkContactEngine13CFindObserverE @ 4 NONAME
+ _ZTV11CFixedQueueI23TContactDbObserverEventE @ 5 NONAME
+ _ZTV24CContactEngineEventQueue @ 6 NONAME
+ _ZTVN19CMTPbkContactEngine13CFindObserverE @ 7 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/group/CEngine.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/group/CEngine.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_CEngine.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestCEngine.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\tcBCTestCEngine.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/group/MTPbkContactEngine.mmp
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/group/MTPbkContactEngine.mmp Mon May 03 11:57:22 2010 +0530
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/group/MTPbkContactEngine.mmp Fri Aug 27 14:37:16 2010 +0530
@@ -58,6 +58,9 @@
SOURCEPATH ../src
#endif // SBSV2
+SYSTEMINCLUDE /epoc32/include/app
+SYSTEMINCLUDE /epoc32/include/platform
+
SOURCE MTPbkContactEngine.cpp
SOURCE MTPbkContactEngineBlocks.cpp
SOURCE CContactEngineEventQueue.cpp
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/sis/BCTestCEngine.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactEngine/sis/BCTestCEngine.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkContactEngine"},(0x20025A10),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkContactEngine.dll"-"!:\sys\bin\MTPbkContactEngine.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_CEngine.ini"-"!:\TestFramework\TestFramework_CEngine.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestCEngine.cfg"-"!:\TestFramework\tcBCTestCEngine.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestCEngine.cfg"-"!:\TestFramework\UI_BCTestCEngine.cfg"
-"\epoc32\winscw\c\CEngine_c.bat"-"!:\CEngine.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItem/Bmarm/MTPbkContactItemU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItem/Bmarm/MTPbkContactItemU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItem/Bwins/MTPbkContactItemU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItem/Bwins/MTPbkContactItemU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItem/EABI/MTPbkContactItemU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItem/EABI/MTPbkContactItemU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI18TDefaultPocTestApi @ 2 NONAME
+ _ZTI18TMmsDefaultTestApi @ 3 NONAME
+ _ZTI18TSmsDefaultTestApi @ 4 NONAME
+ _ZTI19TDefaultVoipTestApi @ 5 NONAME
+ _ZTI20TDefaultEmailTestApi @ 6 NONAME
+ _ZTI26TDefaultVideoNumberTestApi @ 7 NONAME
+ _ZTI26TPhoneNumberDefaultTestApi @ 8 NONAME
+ _ZTI27TDefaultEmailOverSmsTestApi @ 9 NONAME
+ _ZTV18TDefaultPocTestApi @ 10 NONAME
+ _ZTV18TMmsDefaultTestApi @ 11 NONAME
+ _ZTV18TSmsDefaultTestApi @ 12 NONAME
+ _ZTV19TDefaultVoipTestApi @ 13 NONAME
+ _ZTV20TDefaultEmailTestApi @ 14 NONAME
+ _ZTV26TDefaultVideoNumberTestApi @ 15 NONAME
+ _ZTV26TPhoneNumberDefaultTestApi @ 16 NONAME
+ _ZTV27TDefaultEmailOverSmsTestApi @ 17 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItem/group/PbkCItem.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItem/group/PbkCItem.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_PbkCItem.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkCItem.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\tcBCTestPbkCItem.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItem/sis/BCTestPbkContactItem.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItem/sis/BCTestPbkContactItem.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkContactItem"},(0x20025A26),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkContactItem.dll"-"!:\sys\bin\MTPbkContactItem.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkCItem.ini"-"!:\TestFramework\TestFramework_PbkCItem.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkCItem.cfg"-"!:\TestFramework\tcBCTestPbkCItem.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkCItem.cfg"-"!:\TestFramework\UI_BCTestPbkCItem.cfg"
-"\epoc32\winscw\c\PbkCItem_c.bat"-"!:\PbkCItem.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItemField/Bmarm/MTPbkContactItemFieldU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItemField/Bmarm/MTPbkContactItemFieldU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItemField/Bwins/MTPbkContactItemFieldU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItemField/Bwins/MTPbkContactItemFieldU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItemField/EABI/MTPbkContactItemFieldU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItemField/EABI/MTPbkContactItemFieldU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItemField/group/PbkCIF.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItemField/group/PbkCIF.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_PbkCIF.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkCIF.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\tcBCTestPbkCIF.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItemField/sis/BCTestPbkContactItemField.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactItemField/sis/BCTestPbkContactItemField.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkContactItemField"},(0x20025A19),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkContactItemField.dll"-"!:\sys\bin\MTPbkContactItemField.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkCIF.ini"-"!:\TestFramework\TestFramework_PbkCIF.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkCIF.cfg"-"!:\TestFramework\tcBCTestPbkCIF.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkCIF.cfg"-"!:\TestFramework\UI_BCTestPbkCIF.cfg"
-"\epoc32\winscw\c\PbkCIF_c.bat"-"!:\PbkCIF.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactIter/Bmarm/MTPbkContactIterU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactIter/Bmarm/MTPbkContactIterU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactIter/Bwins/MTPbkContactIterU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactIter/Bwins/MTPbkContactIterU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactIter/EABI/MTPbkContactIterU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactIter/EABI/MTPbkContactIterU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactIter/sis/BCTestPbkContactIter.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkContactIter/sis/BCTestPbkContactIter.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkContactIter"},(0x20025A22),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkContactIter.dll"-"!:\sys\bin\MTPbkContactIter.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkIter.ini"-"!:\TestFramework\TestFramework_PbkIter.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkIter.cfg"-"!:\TestFramework\tcBCTestPbkIter.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkIter.cfg"-"!:\TestFramework\UI_BCTestPbkIter.cfg"
-"\epoc32\winscw\c\PbkIter_c.bat"-"!:\PbkIter.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldData/Bmarm/MTPbkFieldDataU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldData/Bmarm/MTPbkFieldDataU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldData/Bwins/MTPbkFieldDataU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldData/Bwins/MTPbkFieldDataU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldData/EABI/MTPbkFieldDataU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldData/EABI/MTPbkFieldDataU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldData/group/PbkFData.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldData/group/PbkFData.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_PbkFData.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkFData.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\tcBCTestPbkFData.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldData/sis/BCTestPbkFData.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldData/sis/BCTestPbkFData.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkFieldData"},(0x20025A15),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkFieldData.dll"-"!:\sys\bin\MTPbkFieldData.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkFData.ini"-"!:\TestFramework\TestFramework_PbkFData.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkFData.cfg"-"!:\TestFramework\tcBCTestPbkFData.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkFData.cfg"-"!:\TestFramework\UI_BCTestPbkFData.cfg"
-"\epoc32\winscw\c\PbkFData_c.bat"-"!:\PbkFData.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFields/Bmarm/MTPbkFieldsU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFields/Bmarm/MTPbkFieldsU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFields/Bwins/MTPbkFieldsU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFields/Bwins/MTPbkFieldsU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFields/EABI/MTPbkFieldsU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFields/EABI/MTPbkFieldsU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFields/group/PbkFeilds.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFields/group/PbkFeilds.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_PbkFeilds.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkFeilds.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\tcBCTestPbkFeilds.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFields/sis/BCTestPbkFields.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFields/sis/BCTestPbkFields.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkFields"},(0x20025A20),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkFields.dll"-"!:\sys\bin\MTPbkFields.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkFeilds.ini"-"!:\TestFramework\TestFramework_PbkFeilds.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkFeilds.cfg"-"!:\TestFramework\tcBCTestPbkFeilds.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkFeilds.cfg"-"!:\TestFramework\UI_BCTestPbkFeilds.cfg"
-"\epoc32\winscw\c\PbkFeilds_c.bat"-"!:\PbkFeilds.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldsInfo/Bmarm/MTPbkFieldsInfoU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldsInfo/Bmarm/MTPbkFieldsInfoU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldsInfo/Bwins/MTPbkFieldsInfoU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldsInfo/Bwins/MTPbkFieldsInfoU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldsInfo/EABI/MTPbkFieldsInfoU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldsInfo/EABI/MTPbkFieldsInfoU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldsInfo/group/PbkFInfo.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldsInfo/group/PbkFInfo.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_PbkFInfo.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkFInfo.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\tcBCTestPbkFInfo.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldsInfo/sis/BCTestPbkFieldsInfo.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkFieldsInfo/sis/BCTestPbkFieldsInfo.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkFieldsInfo"},(0x20025A31),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkFieldsInfo.dll"-"!:\sys\bin\MTPbkFieldsInfo.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkFInfo.ini"-"!:\TestFramework\TestFramework_PbkFInfo.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkFInfo.cfg"-"!:\TestFramework\tcBCTestPbkFInfo.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkFInfo.cfg"-"!:\TestFramework\UI_BCTestPbkFInfo.cfg"
-"\epoc32\winscw\c\PbkFInfo_c.bat"-"!:\PbkFInfo.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconId/Bmarm/MTPbkIconIdU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconId/Bmarm/MTPbkIconIdU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconId/Bwins/MTPbkIconIdU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconId/Bwins/MTPbkIconIdU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconId/EABI/MTPbkIconIdU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconId/EABI/MTPbkIconIdU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconId/group/PbkIcon.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconId/group/PbkIcon.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_PbkIcon.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkIcon.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\tcBCTestPbkIcon.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconId/sis/BCTestPbkIcon.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconId/sis/BCTestPbkIcon.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkIconId"},(0x20025A16),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkIconId.dll"-"!:\sys\bin\MTPbkIconId.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkIcon.ini"-"!:\TestFramework\TestFramework_PbkIcon.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkIcon.cfg"-"!:\TestFramework\tcBCTestPbkIcon.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkIcon.cfg"-"!:\TestFramework\UI_BCTestPbkIcon.cfg"
-"\epoc32\winscw\c\PbkIcon_c.bat"-"!:\PbkIcon.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconInfo/Bmarm/MTPbkIconInfoU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconInfo/Bmarm/MTPbkIconInfoU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconInfo/Bwins/MTPbkIconInfoU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconInfo/Bwins/MTPbkIconInfoU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconInfo/EABI/MTPbkIconInfoU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconInfo/EABI/MTPbkIconInfoU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconInfo/group/PbkInfo.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconInfo/group/PbkInfo.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_PbkInfo.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkInfo.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\tcBCTestPbkInfo.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconInfo/sis/BCTestPbkIconInfo.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIconInfo/sis/BCTestPbkIconInfo.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkIconInfo"},(0x20025A17),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkIconInfo.dll"-"!:\sys\bin\MTPbkIconInfo.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkInfo.ini"-"!:\TestFramework\TestFramework_PbkInfo.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkInfo.cfg"-"!:\TestFramework\tcBCTestPbkInfo.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkInfo.cfg"-"!:\TestFramework\UI_BCTestPbkInfo.cfg"
-"\epoc32\winscw\c\PbkInfo_c.bat"-"!:\PbkInfo.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIdleFinder/Bmarm/MTPbkIdleFinderU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIdleFinder/Bmarm/MTPbkIdleFinderU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIdleFinder/Bwins/MTPbkIdleFinderU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIdleFinder/Bwins/MTPbkIdleFinderU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIdleFinder/EABI/MTPbkIdleFinderU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIdleFinder/EABI/MTPbkIdleFinderU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,5 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTIN16CMTPbkIdleFinder13CFindObserverE @ 2 NONAME
+ _ZTVN16CMTPbkIdleFinder13CFindObserverE @ 3 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIdleFinder/group/PbkIFinder.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIdleFinder/group/PbkIFinder.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_PbkIFinder.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkIFinder.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\tcBCTestPbkIFinder.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIdleFinder/sis/BCTestPbkIFinder.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTPbkIdleFinder/sis/BCTestPbkIFinder.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkIdleFinder"},(0x20025A14),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkIdleFinder.dll"-"!:\sys\bin\MTPbkIdleFinder.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkIFinder.ini"-"!:\TestFramework\TestFramework_PbkIFinder.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkIFinder.cfg"-"!:\TestFramework\tcBCTestPbkIFinder.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkIFinder.cfg"-"!:\TestFramework\UI_BCTestPbkIFinder.cfg"
-"\epoc32\winscw\c\PbkIFinder_c.bat"-"!:\PbkIFinder.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTRPbkViewResourceFile/Bmarm/MTRPbkViewResourceFileU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTRPbkViewResourceFile/Bmarm/MTRPbkViewResourceFileU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTRPbkViewResourceFile/Bwins/MTRPbkViewResourceFileU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTRPbkViewResourceFile/Bwins/MTRPbkViewResourceFileU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTRPbkViewResourceFile/EABI/MTRPbkViewResourceFileU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTRPbkViewResourceFile/EABI/MTRPbkViewResourceFileU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTRPbkViewResourceFile/group/Pbkvrsc.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTRPbkViewResourceFile/group/Pbkvrsc.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_Pbkvrsc.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkvrsc.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\tcBCTestPbkvrsc.cfg
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTRPbkViewResourceFile/sis/BCTestPbkvrsc.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/MTRPbkViewResourceFile/sis/BCTestPbkvrsc.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTRPbkViewResourceFile"},(0x20025A12),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTRPbkViewResourceFile.dll"-"!:\sys\bin\MTRPbkViewResourceFile.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_Pbkvrsc.ini"-"!:\TestFramework\TestFramework_Pbkvrsc.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkvrsc.cfg"-"!:\TestFramework\tcBCTestPbkvrsc.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkvrsc.cfg"-"!:\TestFramework\UI_BCTestPbkvrsc.cfg"
-"\epoc32\winscw\c\Pbkvrsc_c.bat"-"!:\Pbkvrsc.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/group/PBKDMngt.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/group/PBKDMngt.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\TestFramework_PBKDMngt.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkDataMngt.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\Contacts_PbkDataMngt.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/group/PbkDm.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/group/PbkDm.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Phonebook Data Management API
+STIF
+
+The tests involve the Contacts Phonebook Data Management API
+
+
+
+C:\TestFramework\TestFramework_PBKDMngt.iniC:\TestFramework\TestFramework.ini
+ -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkDataMngt.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 189
+ c:\Logs\TestFramework\TestReport.txte:\BCTest\results\Contacts_PbkDataMngt.txt
+
+
+
+
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/sis/Contacts_PbkDataMgmt.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/sis/Contacts_PbkDataMgmt.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,121 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkDataManagement"},(0x20025A32),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-
-"\Epoc32\winscw\c\testframework\TestFramework_PBKDMngt.ini"-"!:\TestFramework\TestFramework_PBKDMngt.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkDataMngt.cfg"-"!:\TestFramework\tcBCTestPbkDataMngt.cfg"
-"\epoc32\winscw\c\PBKDMngt.bat"-"!:\PBKDMngt.bat"
-
-;MTRPbkViewResourceFile
-"\Epoc32\Release\armv5\urel\MTRPbkViewResourceFile.dll"-"!:\sys\bin\MTRPbkViewResourceFile.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_Pbkvrsc.ini"-"!:\TestFramework\TestFramework_Pbkvrsc.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkvrsc.cfg"-"!:\TestFramework\tcBCTestPbkvrsc.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkvrsc.cfg"-"!:\TestFramework\UI_BCTestPbkvrsc.cfg"
-"\epoc32\winscw\c\Pbkvrsc.bat"-"!:\Pbkvrsc.bat"
-
-;MTPbkIdleFinder
-"\Epoc32\Release\armv5\urel\MTPbkIdleFinder.dll"-"!:\sys\bin\MTPbkIdleFinder.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkIFinder.ini"-"!:\TestFramework\TestFramework_PbkIFinder.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkIFinder.cfg"-"!:\TestFramework\tcBCTestPbkIFinder.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkIFinder.cfg"-"!:\TestFramework\UI_BCTestPbkIFinder.cfg"
-"\epoc32\winscw\c\PbkIFinder.bat"-"!:\PbkIFinder.bat"
-
-;MTPbkIconInfo
-"\Epoc32\Release\armv5\urel\MTPbkIconInfo.dll"-"!:\sys\bin\MTPbkIconInfo.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkInfo.ini"-"!:\TestFramework\TestFramework_PbkInfo.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkInfo.cfg"-"!:\TestFramework\tcBCTestPbkInfo.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkInfo.cfg"-"!:\TestFramework\UI_BCTestPbkInfo.cfg"
-"\epoc32\winscw\c\PbkInfo.bat"-"!:\PbkInfo.bat"
-
-;MTPbkIconId
-"\Epoc32\Release\armv5\urel\MTPbkIconId.dll"-"!:\sys\bin\MTPbkIconId.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkIcon.ini"-"!:\TestFramework\TestFramework_PbkIcon.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkIcon.cfg"-"!:\TestFramework\tcBCTestPbkIcon.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkIcon.cfg"-"!:\TestFramework\UI_BCTestPbkIcon.cfg"
-"\epoc32\winscw\c\PbkIcon.bat"-"!:\PbkIcon.bat"
-
-;MTPbkFields
-"\Epoc32\Release\armv5\urel\MTPbkFields.dll"-"!:\sys\bin\MTPbkFields.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkFeilds.ini"-"!:\TestFramework\TestFramework_PbkFeilds.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkFeilds.cfg"-"!:\TestFramework\tcBCTestPbkFeilds.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkFeilds.cfg"-"!:\TestFramework\UI_BCTestPbkFeilds.cfg"
-"\epoc32\winscw\c\PbkFeilds.bat"-"!:\PbkFeilds.bat"
-
-;MTPbkFieldData
-"\Epoc32\Release\armv5\urel\MTPbkFieldData.dll"-"!:\sys\bin\MTPbkFieldData.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkFData.ini"-"!:\TestFramework\TestFramework_PbkFData.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkFData.cfg"-"!:\TestFramework\tcBCTestPbkFData.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkFData.cfg"-"!:\TestFramework\UI_BCTestPbkFData.cfg"
-"\epoc32\winscw\c\PbkFData.bat"-"!:\PbkFData.bat"
-
-;MTPbkContactIter
-"\Epoc32\Release\armv5\urel\MTPbkContactIter.dll"-"!:\sys\bin\MTPbkContactIter.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkIter.ini"-"!:\TestFramework\TestFramework_PbkIter.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkIter.cfg"-"!:\TestFramework\tcBCTestPbkIter.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkIter.cfg"-"!:\TestFramework\UI_BCTestPbkIter.cfg"
-"\epoc32\winscw\c\PbkIter.bat"-"!:\PbkIter.bat"
-
-;MTPbkContactItemField
-"\Epoc32\Release\armv5\urel\MTPbkContactItemField.dll"-"!:\sys\bin\MTPbkContactItemField.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkCIF.ini"-"!:\TestFramework\TestFramework_PbkCIF.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkCIF.cfg"-"!:\TestFramework\tcBCTestPbkCIF.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkCIF.cfg"-"!:\TestFramework\UI_BCTestPbkCIF.cfg"
-"\epoc32\winscw\c\PbkCIF.bat"-"!:\PbkCIF.bat"
-
-;MTPbkContactEngine
-"\Epoc32\Release\armv5\urel\MTPbkContactEngine.dll"-"!:\sys\bin\MTPbkContactEngine.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_CEngine.ini"-"!:\TestFramework\TestFramework_CEngine.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestCEngine.cfg"-"!:\TestFramework\tcBCTestCEngine.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestCEngine.cfg"-"!:\TestFramework\UI_BCTestCEngine.cfg"
-"\epoc32\winscw\c\CEngine.bat"-"!:\CEngine.bat"
-
-;MTPbkFieldsInfo
-"\Epoc32\Release\armv5\urel\MTPbkFieldsInfo.dll"-"!:\sys\bin\MTPbkFieldsInfo.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkFInfo.ini"-"!:\TestFramework\TestFramework_PbkFInfo.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkFInfo.cfg"-"!:\TestFramework\tcBCTestPbkFInfo.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkFInfo.cfg"-"!:\TestFramework\UI_BCTestPbkFInfo.cfg"
-"\epoc32\winscw\c\PbkFInfo.bat"-"!:\PbkFInfo.bat"
-
-;MTPbkContactItem
-"\Epoc32\Release\armv5\urel\MTPbkContactItem.dll"-"!:\sys\bin\MTPbkContactItem.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkCItem.ini"-"!:\TestFramework\TestFramework_PbkCItem.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkCItem.cfg"-"!:\TestFramework\tcBCTestPbkCItem.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkCItem.cfg"-"!:\TestFramework\UI_BCTestPbkCItem.cfg"
-"\epoc32\winscw\c\PbkCItem.bat"-"!:\PbkCItem.bat"
-
-;MTPbkContactChangeNotifier
-"\Epoc32\Release\armv5\urel\MTPbkContactChangeNotifier.dll"-"!:\sys\bin\MTPbkContactChangeNotifier.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkNotifier.ini"-"!:\TestFramework\TestFramework_PbkNotifier.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkNotifier.cfg"-"!:\TestFramework\tcBCTestPbkNotifier.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkPbkNotifier.cfg"-"!:\TestFramework\UI_BCTestPbkPbkNotifier.cfg"
-"\epoc32\winscw\c\PbkNotifier.bat"-"!:\PbkNotifier.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/sis/Contacts_PbkDataMgmt.sis
Binary file apicompatanamdw/bcdrivers/app/contacts/phonebook_data_management_api/sis/Contacts_PbkDataMgmt.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkAddressSelect/Bmarm/MTPbkAddressSelectU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkAddressSelect/Bmarm/MTPbkAddressSelectU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkAddressSelect/Bwins/MTPbkAddressSelectU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkAddressSelect/Bwins/MTPbkAddressSelectU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+ ?AddressField@CAddressSelect@@EBEHABVTPbkContactItemField@@@Z @ 2 NONAME ; int CAddressSelect::AddressField(class TPbkContactItemField const &) const
+ ?QuerySoftkeysResource@CAddressSelect@@EBEHXZ @ 3 NONAME ; int CAddressSelect::QuerySoftkeysResource(void) const
+ ?QueryTitleL@CAddressSelect@@EAEABVTDesC16@@XZ @ 4 NONAME ; class TDesC16 const & CAddressSelect::QueryTitleL(void)
+ ?NoAddressesL@CAddressSelect@@EAEXXZ @ 5 NONAME ; void CAddressSelect::NoAddressesL(void)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkAddressSelect/EABI/MTPbkAddressSelectU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkAddressSelect/EABI/MTPbkAddressSelectU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,13 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZN14CAddressSelect11QueryTitleLEv @ 2 NONAME
+ _ZN14CAddressSelect12NoAddressesLEv @ 3 NONAME
+ _ZNK14CAddressSelect12AddressFieldERK20TPbkContactItemField @ 4 NONAME
+ _ZNK14CAddressSelect21QuerySoftkeysResourceEv @ 5 NONAME
+ _ZTI14CAddressSelect @ 6 NONAME
+ _ZTI16CSimulateKeyBase @ 7 NONAME
+ _ZTI18CSimulateKeyEvents @ 8 NONAME
+ _ZTV14CAddressSelect @ 9 NONAME
+ _ZTV16CSimulateKeyBase @ 10 NONAME
+ _ZTV18CSimulateKeyEvents @ 11 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkAddressSelect/sis/BCTestPbkAddSel.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkAddressSelect/sis/BCTestPbkAddSel.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkAddressSelect"},(0x20015A1D),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkAddressSelect.dll"-"!:\sys\bin\MTPbkAddressSelect.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkAddSel.ini"-"!:\TestFramework\TestFramework_PbkAddSel.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkAddSel.cfg"-"!:\TestFramework\tcBCTestPbkAddSel.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkAddSel.cfg"-"!:\TestFramework\UI_BCTestPbkAddSel.cfg"
-"\epoc32\winscw\c\PbkAddSel_c.bat"-"!:\PbkAddSel_c.bat"
-"\epoc32\data\z\resource\PbkAddressSelect.rsc"-"!:\resource\PbkAddressSelect.rsc"
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailAddressSelect/Bmarm/MTPbkEmailAddressSelectU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailAddressSelect/Bmarm/MTPbkEmailAddressSelectU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailAddressSelect/Bwins/MTPbkEmailAddressSelectU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailAddressSelect/Bwins/MTPbkEmailAddressSelectU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailAddressSelect/EABI/MTPbkEmailAddressSelectU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailAddressSelect/EABI/MTPbkEmailAddressSelectU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI16CSimulateKeyBase @ 2 NONAME
+ _ZTI18CSimulateKeyEvents @ 3 NONAME
+ _ZTV16CSimulateKeyBase @ 4 NONAME
+ _ZTV18CSimulateKeyEvents @ 5 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailAddressSelect/sis/BCTestEmailAddSel.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailAddressSelect/sis/BCTestEmailAddSel.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkEmailAddressSelect"},(0x20015A1C),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkEmailAddressSelect.dll"-"!:\sys\bin\MTPbkEmailAddressSelect.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_AddEmailSel.ini"-"!:\TestFramework\TestFramework_AddEmailSel.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestEmailAddSel.cfg"-"!:\TestFramework\tcBCTestEmailAddSel.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestEmailAddSel.cfg"-"!:\TestFramework\UI_BCTestEmailAddSel.cfg"
-"\epoc32\winscw\c\EmailSel_c.bat"-"!:\EmailSel_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailOverSms/Bmarm/MTPbkEmailOverSmsU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailOverSms/Bmarm/MTPbkEmailOverSmsU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailOverSms/Bwins/MTPbkEmailOverSmsU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailOverSms/Bwins/MTPbkEmailOverSmsU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailOverSms/EABI/MTPbkEmailOverSmsU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailOverSms/EABI/MTPbkEmailOverSmsU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI16CSimulateKeyBase @ 2 NONAME
+ _ZTI18CSimulateKeyEvents @ 3 NONAME
+ _ZTV16CSimulateKeyBase @ 4 NONAME
+ _ZTV18CSimulateKeyEvents @ 5 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailOverSms/sis/BCTestEmailOverSMS.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkEmailOverSms/sis/BCTestEmailOverSMS.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkEmailOverSms"},(0x20015A1E),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkEmailOverSms.dll"-"!:\sys\bin\MTPbkEmailOverSms.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_EmailOverSMS.ini"-"!:\TestFramework\TestFramework_EmailOverSMS.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestEmaiOVerSMS.cfg"-"!:\TestFramework\tcBCTestEmaiOVerSMS.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestEmaiOVerSMS.cfg"-"!:\TestFramework\UI_BCTestEmaiOVerSMS.cfg"
-"\epoc32\winscw\c\EmailOVerSMS_c.bat"-"!:\EmailOVerSMS_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchCallbacks/Bmarm/MTPbkFetchCallbacksU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchCallbacks/Bmarm/MTPbkFetchCallbacksU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchCallbacks/Bwins/MTPbkFetchCallbacksU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchCallbacks/Bwins/MTPbkFetchCallbacksU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchCallbacks/EABI/MTPbkFetchCallbacksU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchCallbacks/EABI/MTPbkFetchCallbacksU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,9 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI14CFetchCallback @ 2 NONAME
+ _ZTI16CSimulateKeyBase @ 3 NONAME
+ _ZTI18CSimulateKeyEvents @ 4 NONAME
+ _ZTV14CFetchCallback @ 5 NONAME
+ _ZTV16CSimulateKeyBase @ 6 NONAME
+ _ZTV18CSimulateKeyEvents @ 7 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchCallbacks/sis/BCTestFcallback.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchCallbacks/sis/BCTestFcallback.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkFetchCallbacks"},(0x20015A29),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkFetchCallbacks.dll"-"!:\sys\bin\MTPbkFetchCallbacks.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_FCallback.ini"-"!:\TestFramework\TestFramework_FCallback.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestFCallback.cfg"-"!:\TestFramework\tcBCTestFCallback.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestFCallback.cfg"-"!:\TestFramework\UI_BCTestFCallback.cfg"
-"\epoc32\winscw\c\FCallback_c.bat"-"!:\FCallback_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchDlgSelection/Bmarm/MTPbkFetchDlgSelectionU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchDlgSelection/Bmarm/MTPbkFetchDlgSelectionU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchDlgSelection/Bwins/MTPbkFetchDlgSelectionU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchDlgSelection/Bwins/MTPbkFetchDlgSelectionU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchDlgSelection/EABI/MTPbkFetchDlgSelectionU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchDlgSelection/EABI/MTPbkFetchDlgSelectionU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,9 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI16CSimulateKeyBase @ 2 NONAME
+ _ZTI18CSimulateKeyEvents @ 3 NONAME
+ _ZTI23CFetchSelectionAccepter @ 4 NONAME
+ _ZTV16CSimulateKeyBase @ 5 NONAME
+ _ZTV18CSimulateKeyEvents @ 6 NONAME
+ _ZTV23CFetchSelectionAccepter @ 7 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchDlgSelection/sis/BCTestFetchSel.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkFetchDlgSelection/sis/BCTestFetchSel.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkFetchDlgSelection"},(0x20015A28),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkFetchDlgSelection.dll"-"!:\sys\bin\MTPbkFetchDlgSelection.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_FetchSel.ini"-"!:\TestFramework\TestFramework_FetchSel.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestFetchSel.cfg"-"!:\TestFramework\tcBCTestFetchSel.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestFetchSel.cfg"-"!:\TestFramework\UI_BCTestFetchSel.cfg"
-"\epoc32\winscw\c\FetchSel_c.bat"-"!:\FetchSel_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMemoryEntryAddItemDlg/Bmarm/MTPbkMemoryEntryAddItemDlgU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMemoryEntryAddItemDlg/Bmarm/MTPbkMemoryEntryAddItemDlgU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMemoryEntryAddItemDlg/Bwins/MTPbkMemoryEntryAddItemDlgU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMemoryEntryAddItemDlg/Bwins/MTPbkMemoryEntryAddItemDlgU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMemoryEntryAddItemDlg/EABI/MTPbkMemoryEntryAddItemDlgU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMemoryEntryAddItemDlg/EABI/MTPbkMemoryEntryAddItemDlgU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI16CSimulateKeyBase @ 2 NONAME
+ _ZTI18CSimulateKeyEvents @ 3 NONAME
+ _ZTV16CSimulateKeyBase @ 4 NONAME
+ _ZTV18CSimulateKeyEvents @ 5 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMemoryEntryAddItemDlg/sis/BCTestPbkAddItemDlg.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMemoryEntryAddItemDlg/sis/BCTestPbkAddItemDlg.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkMemoryEntryAddItemDlg"},(0x20015A1F),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkMemoryEntryAddItemDlg.dll"-"!:\sys\bin\MTPbkMemoryEntryAddItemDlg.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkAddItemDlg.ini"-"!:\TestFramework\TestFramework_PbkAddItemDlg.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkAddItemDlg.cfg"-"!:\TestFramework\tcBCTestPbkAddItemDlg.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkAddItemDlg.cfg"-"!:\TestFramework\UI_BCTestPbkAddItemDlg.cfg"
-"\epoc32\winscw\c\PbkAddItemDlg_c.bat"-"!:\PbkAddItemDlg_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMmsAddressSelect/Bmarm/MTPbkMmsAddressSelectU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMmsAddressSelect/Bmarm/MTPbkMmsAddressSelectU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMmsAddressSelect/Bwins/MTPbkMmsAddressSelectU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMmsAddressSelect/Bwins/MTPbkMmsAddressSelectU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMmsAddressSelect/EABI/MTPbkMmsAddressSelectU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMmsAddressSelect/EABI/MTPbkMmsAddressSelectU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI16CSimulateKeyBase @ 2 NONAME
+ _ZTI18CSimulateKeyEvents @ 3 NONAME
+ _ZTV16CSimulateKeyBase @ 4 NONAME
+ _ZTV18CSimulateKeyEvents @ 5 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMmsAddressSelect/sis/BCTestMMSAddSel.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMmsAddressSelect/sis/BCTestMMSAddSel.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkMmsAddressSelect"},(0x20015A2E),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkMmsAddressSelect.dll"-"!:\sys\bin\MTPbkMmsAddressSelect.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_MMSAddSel.ini"-"!:\TestFramework\TestFramework_MMSAddSel.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestMMSAddSel.cfg"-"!:\TestFramework\tcBCTestMMSAddSel.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestMMSAddSel.cfg"-"!:\TestFramework\UI_BCTestMMSAddSel.cfg"
-"\epoc32\winscw\c\MMSAddSel_c.bat"-"!:\MMSAddSel_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMultipleEntryFetchDlg/Bmarm/MTPbkMultipleEntryFetchDlgU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMultipleEntryFetchDlg/Bmarm/MTPbkMultipleEntryFetchDlgU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMultipleEntryFetchDlg/Bwins/MTPbkMultipleEntryFetchDlgU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMultipleEntryFetchDlg/Bwins/MTPbkMultipleEntryFetchDlgU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMultipleEntryFetchDlg/EABI/MTPbkMultipleEntryFetchDlgU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMultipleEntryFetchDlg/EABI/MTPbkMultipleEntryFetchDlgU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI16CSimulateKeyBase @ 2 NONAME
+ _ZTI18CSimulateKeyEvents @ 3 NONAME
+ _ZTV16CSimulateKeyBase @ 4 NONAME
+ _ZTV18CSimulateKeyEvents @ 5 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMultipleEntryFetchDlg/sis/BCTestFetchDlg.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkMultipleEntryFetchDlg/sis/BCTestFetchDlg.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkMultipleEntryFetchDlg"},(0x20015A21),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkMultipleEntryFetchDlg.dll"-"!:\sys\bin\MTPbkMultipleEntryFetchDlg.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_FetchDlg.ini"-"!:\TestFramework\TestFramework_FetchDlg.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestFetchDlg.cfg"-"!:\TestFramework\tcBCTestFetchDlg.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestFetchDlg.cfg"-"!:\TestFramework\UI_BCTestFetchDlg.cfg"
-"\epoc32\winscw\c\FetchDlg_C.bat"-"!:\FetchDlg_C.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelect/Bmarm/MTPbkPhoneNumberSelectU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelect/Bmarm/MTPbkPhoneNumberSelectU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelect/Bwins/MTPbkPhoneNumberSelectU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelect/Bwins/MTPbkPhoneNumberSelectU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelect/EABI/MTPbkPhoneNumberSelectU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelect/EABI/MTPbkPhoneNumberSelectU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI16CSimulateKeyBase @ 2 NONAME
+ _ZTI18CSimulateKeyEvents @ 3 NONAME
+ _ZTV16CSimulateKeyBase @ 4 NONAME
+ _ZTV18CSimulateKeyEvents @ 5 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelect/sis/BCTestPhoneNumber.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelect/sis/BCTestPhoneNumber.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkPhoneNumberSelect"},(0x20015A22),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkPhoneNumberSelect.dll"-"!:\sys\bin\MTPbkPhoneNumberSelect.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PhoneNumber.ini"-"!:\TestFramework\TestFramework_PhoneNumber.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPhoneNumber.cfg"-"!:\TestFramework\tcBCTestPhoneNumber.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPhoneNumber.cfg"-"!:\TestFramework\UI_BCTestPhoneNumber.cfg"
-"\epoc32\winscw\c\PhoneNumber_c.bat"-"!:\PhoneNumber_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelectBase/Bmarm/MTPbkPhoneNumberSelectBaseU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelectBase/Bmarm/MTPbkPhoneNumberSelectBaseU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelectBase/Bwins/MTPbkPhoneNumberSelectBaseU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelectBase/Bwins/MTPbkPhoneNumberSelectBaseU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,6 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+ ?QuerySoftkeysResource@CPhoneNumberSelectBase@@EBEHXZ @ 2 NONAME ; int CPhoneNumberSelectBase::QuerySoftkeysResource(void) const
+ ?PbkControlKeyEventL@CPhoneNumberSelectBase@@EAE?AW4TKeyResponse@@ABUTKeyEvent@@W4TEventCode@@@Z @ 3 NONAME ; enum TKeyResponse CPhoneNumberSelectBase::PbkControlKeyEventL(struct TKeyEvent const &, enum TEventCode)
+ ?QueryTitleL@CPhoneNumberSelectBase@@EAEABVTDesC16@@XZ @ 4 NONAME ; class TDesC16 const & CPhoneNumberSelectBase::QueryTitleL(void)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelectBase/EABI/MTPbkPhoneNumberSelectBaseU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelectBase/EABI/MTPbkPhoneNumberSelectBaseU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,12 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZN22CPhoneNumberSelectBase11QueryTitleLEv @ 2 NONAME
+ _ZN22CPhoneNumberSelectBase19PbkControlKeyEventLERK9TKeyEvent10TEventCode @ 3 NONAME
+ _ZNK22CPhoneNumberSelectBase21QuerySoftkeysResourceEv @ 4 NONAME
+ _ZTI16CSimulateKeyBase @ 5 NONAME
+ _ZTI18CSimulateKeyEvents @ 6 NONAME
+ _ZTI22CPhoneNumberSelectBase @ 7 NONAME
+ _ZTV16CSimulateKeyBase @ 8 NONAME
+ _ZTV18CSimulateKeyEvents @ 9 NONAME
+ _ZTV22CPhoneNumberSelectBase @ 10 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelectBase/sis/BCTestNumSel.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPhoneNumberSelectBase/sis/BCTestNumSel.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkPhoneNumberSelectBase"},(0x20015A31),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkPhoneNumberSelectBase.dll"-"!:\sys\bin\MTPbkPhoneNumberSelectBase.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_NumSel.ini"-"!:\TestFramework\TestFramework_NumSel.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestNumSel.cfg"-"!:\TestFramework\tcBCTestNumSel.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestNumSel.cfg"-"!:\TestFramework\UI_BCTestNumSel.cfg"
-"\epoc32\data\z\resource\MT_CPbkPhoneNumberSelectBase.rsc"-"!:\resource\MT_CPbkPhoneNumberSelectBase.rsc"
-"\epoc32\winscw\c\NumSel_c.bat"-"!:\NumSel_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPocAddressSelect/Bmarm/MTPbkPocAddressSelectU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPocAddressSelect/Bmarm/MTPbkPocAddressSelectU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPocAddressSelect/Bwins/MTPbkPocAddressSelectU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPocAddressSelect/Bwins/MTPbkPocAddressSelectU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPocAddressSelect/EABI/MTPbkPocAddressSelectU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPocAddressSelect/EABI/MTPbkPocAddressSelectU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI16CSimulateKeyBase @ 2 NONAME
+ _ZTI18CSimulateKeyEvents @ 3 NONAME
+ _ZTV16CSimulateKeyBase @ 4 NONAME
+ _ZTV18CSimulateKeyEvents @ 5 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPocAddressSelect/sis/BCTestPocAddr.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkPocAddressSelect/sis/BCTestPocAddr.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkPocAddressSelect"},(0x20015A23),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkPocAddressSelect.dll"-"!:\sys\bin\MTPbkPocAddressSelect.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PocAdd.ini"-"!:\TestFramework\TestFramework_PocAdd.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPocAdd.cfg"-"!:\TestFramework\tcBCTestPocAdd.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPocAdd.cfg"-"!:\TestFramework\UI_BCTestPocAdd.cfg"
-"\epoc32\winscw\c\PocAdd_c.bat"-"!:\PocAdd_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSelectFieldDlg/Bmarm/MTPbkSelectFieldDlgU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSelectFieldDlg/Bmarm/MTPbkSelectFieldDlgU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSelectFieldDlg/Bwins/MTPbkSelectFieldDlgU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSelectFieldDlg/Bwins/MTPbkSelectFieldDlgU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSelectFieldDlg/EABI/MTPbkSelectFieldDlgU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSelectFieldDlg/EABI/MTPbkSelectFieldDlgU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI16CSimulateKeyBase @ 2 NONAME
+ _ZTI18CSimulateKeyEvents @ 3 NONAME
+ _ZTV16CSimulateKeyBase @ 4 NONAME
+ _ZTV18CSimulateKeyEvents @ 5 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSelectFieldDlg/sis/BCTestFieldDlg.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSelectFieldDlg/sis/BCTestFieldDlg.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkSelectFieldDlg"},(0x20015A49),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkSelectFieldDlg.dll"-"!:\sys\bin\MTPbkSelectFieldDlg.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_FieldDlg.ini"-"!:\TestFramework\TestFramework_FieldDlg.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestFieldDlg.cfg"-"!:\TestFramework\tcBCTestFieldDlg.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestFieldDlg.cfg"-"!:\TestFramework\UI_BCTestFieldDlg.cfg"
-"\epoc32\winscw\c\FieldDlg_c.bat"-"!:\FieldDlg_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleEntryFetchDlg/Bmarm/MTPbkSingleEntryFetchDlgU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleEntryFetchDlg/Bmarm/MTPbkSingleEntryFetchDlgU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleEntryFetchDlg/Bwins/MTPbkSingleEntryFetchDlgU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleEntryFetchDlg/Bwins/MTPbkSingleEntryFetchDlgU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleEntryFetchDlg/EABI/MTPbkSingleEntryFetchDlgU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleEntryFetchDlg/EABI/MTPbkSingleEntryFetchDlgU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI16CSimulateKeyBase @ 2 NONAME
+ _ZTI18CSimulateKeyEvents @ 3 NONAME
+ _ZTV16CSimulateKeyBase @ 4 NONAME
+ _ZTV18CSimulateKeyEvents @ 5 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleEntryFetchDlg/sis/BCTestSEFieldDlg.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleEntryFetchDlg/sis/BCTestSEFieldDlg.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkSingleEntryFetchDlg"},(0x20015A25),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkSingleEntryFetchDlg.dll"-"!:\sys\bin\MTPbkSingleEntryFetchDlg.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_SEFieldDlg.ini"-"!:\TestFramework\TestFramework_SEFieldDlg.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestSEFieldDlg.cfg"-"!:\TestFramework\tcBCTestSEFieldDlg.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestSEFieldDlg.cfg"-"!:\TestFramework\UI_BCTestSEFieldDlg.cfg"
-"\epoc32\winscw\c\SEFieldDlg_c.bat"-"!:\SEFieldDlg_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleItemFetchDlg/Bmarm/MTPbkSingleItemFetchDlgU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleItemFetchDlg/Bmarm/MTPbkSingleItemFetchDlgU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleItemFetchDlg/Bwins/MTPbkSingleItemFetchDlgU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleItemFetchDlg/Bwins/MTPbkSingleItemFetchDlgU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleItemFetchDlg/EABI/MTPbkSingleItemFetchDlgU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleItemFetchDlg/EABI/MTPbkSingleItemFetchDlgU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI16CSimulateKeyBase @ 2 NONAME
+ _ZTI18CSimulateKeyEvents @ 3 NONAME
+ _ZTV16CSimulateKeyBase @ 4 NONAME
+ _ZTV18CSimulateKeyEvents @ 5 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleItemFetchDlg/sis/BCTestSIFetchDlg.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSingleItemFetchDlg/sis/BCTestSIFetchDlg.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkSingleItemFetchDlg"},(0x20015A48),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkSingleItemFetchDlg.dll"-"!:\sys\bin\MTPbkSingleItemFetchDlg.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_SIFieldDlg.ini"-"!:\TestFramework\TestFramework_SIFieldDlg.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestSIFieldDlg.cfg"-"!:\TestFramework\tcBCTestSIFieldDlg.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestSIFieldDlg.cfg"-"!:\TestFramework\UI_BCTestSIFieldDlg.cfg"
-"\epoc32\winscw\c\SIFieldDlg_c.bat"-"!:\SIFieldDlg_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSmsAddressSelect/Bmarm/MTPbkSmsAddressSelectU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSmsAddressSelect/Bmarm/MTPbkSmsAddressSelectU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSmsAddressSelect/Bwins/MTPbkSmsAddressSelectU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSmsAddressSelect/Bwins/MTPbkSmsAddressSelectU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSmsAddressSelect/EABI/MTPbkSmsAddressSelectU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSmsAddressSelect/EABI/MTPbkSmsAddressSelectU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,7 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI16CSimulateKeyBase @ 2 NONAME
+ _ZTI18CSimulateKeyEvents @ 3 NONAME
+ _ZTV16CSimulateKeyBase @ 4 NONAME
+ _ZTV18CSimulateKeyEvents @ 5 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSmsAddressSelect/sis/BCTestSMSAddSel.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/MTPbkSmsAddressSelect/sis/BCTestSMSAddSel.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkSmsAddressSelect"},(0x20015A27),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\MTPbkSmsAddressSelect.dll"-"!:\sys\bin\MTPbkSmsAddressSelect.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_SMSAddSel.ini"-"!:\TestFramework\TestFramework_SMSAddSel.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestSMSAddSel.cfg"-"!:\TestFramework\tcBCTestSMSAddSel.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestSMSAddSel.cfg"-"!:\TestFramework\UI_BCTestSMSAddSel.cfg"
-"\epoc32\winscw\c\SMSAddSel_c.bat"-"!:\SMSAddSel_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/group/PbkFet.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/group/PbkFet.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Phonebook Fetch UI API
+STIF
+
+The tests involve the Contacts Phonebook Fetch UI API
+
+
+
+C:\TestFramework\TestFramework_Pbkfetch.iniC:\TestFramework\TestFramework.ini
+ -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkfetch.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 157
+ c:\Logs\TestFramework\TestReport.txte:\BCTest\results\Contacts_Pbkfetch.txt
+
+
+
+
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/sis/Contacts_PbkFetchAPI.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/sis/Contacts_PbkFetchAPI.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,149 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"MTPbkFetch"},(0x20015A4A),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-
-"\Epoc32\winscw\c\testframework\TestFramework_PBKFetch.ini"-"!:\TestFramework\TestFramework_PBKFetch.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkfetch.cfg"-"!:\TestFramework\tcBCTestPbkfetch.cfg"
-"\epoc32\winscw\c\PBKFetch_c.bat"-"!:\PBKFetch.bat"
-
-
-
-
-
-;MTPbkSmsAddressSelect
-"\Epoc32\Release\armv5\urel\MTPbkSmsAddressSelect.dll"-"!:\sys\bin\MTPbkSmsAddressSelect.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_SMSAddSel.ini"-"!:\TestFramework\TestFramework_SMSAddSel.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestSMSAddSel.cfg"-"!:\TestFramework\tcBCTestSMSAddSel.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestSMSAddSel.cfg"-"!:\TestFramework\UI_BCTestSMSAddSel.cfg"
-"\epoc32\winscw\c\SMSAddSel_c.bat"-"!:\SMSAddSel_c.bat"
-
-;MTPbkSingleEntryFetchDlg
-"\Epoc32\Release\armv5\urel\MTPbkSingleEntryFetchDlg.dll"-"!:\sys\bin\MTPbkSingleEntryFetchDlg.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_SEFieldDlg.ini"-"!:\TestFramework\TestFramework_SEFieldDlg.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestSEFieldDlg.cfg"-"!:\TestFramework\tcBCTestSEFieldDlg.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestSEFieldDlg.cfg"-"!:\TestFramework\UI_BCTestSEFieldDlg.cfg"
-"\epoc32\winscw\c\SEFieldDlg_c.bat"-"!:\SEFieldDlg_c.bat"
-
-;MTPbkPocAddressSelect
-"\Epoc32\Release\armv5\urel\MTPbkPocAddressSelect.dll"-"!:\sys\bin\MTPbkPocAddressSelect.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PocAdd.ini"-"!:\TestFramework\TestFramework_PocAdd.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPocAdd.cfg"-"!:\TestFramework\tcBCTestPocAdd.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPocAdd.cfg"-"!:\TestFramework\UI_BCTestPocAdd.cfg"
-"\epoc32\winscw\c\PocAdd_c.bat"-"!:\PocAdd_c.bat"
-
-;MTPbkPhoneNumberSelect
-"\Epoc32\Release\armv5\urel\MTPbkPhoneNumberSelect.dll"-"!:\sys\bin\MTPbkPhoneNumberSelect.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PhoneNumber.ini"-"!:\TestFramework\TestFramework_PhoneNumber.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPhoneNumber.cfg"-"!:\TestFramework\tcBCTestPhoneNumber.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPhoneNumber.cfg"-"!:\TestFramework\UI_BCTestPhoneNumber.cfg"
-"\epoc32\winscw\c\PhoneNumber_c.bat"-"!:\PhoneNumber_c.bat"
-
-;MTPbkMultipleEntryFetchDlg
-"\Epoc32\Release\armv5\urel\MTPbkMultipleEntryFetchDlg.dll"-"!:\sys\bin\MTPbkMultipleEntryFetchDlg.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_FetchDlg.ini"-"!:\TestFramework\TestFramework_FetchDlg.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestFetchDlg.cfg"-"!:\TestFramework\tcBCTestFetchDlg.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestFetchDlg.cfg"-"!:\TestFramework\UI_BCTestFetchDlg.cfg"
-"\epoc32\winscw\c\FetchDlg_C.bat"-"!:\FetchDlg_C.bat"
-
-;MTPbkMmsAddressSelect
-"\Epoc32\Release\armv5\urel\MTPbkMmsAddressSelect.dll"-"!:\sys\bin\MTPbkMmsAddressSelect.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_MMSAddSel.ini"-"!:\TestFramework\TestFramework_MMSAddSel.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestMMSAddSel.cfg"-"!:\TestFramework\tcBCTestMMSAddSel.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestMMSAddSel.cfg"-"!:\TestFramework\UI_BCTestMMSAddSel.cfg"
-"\epoc32\winscw\c\MMSAddSel_c.bat"-"!:\MMSAddSel_c.bat"
-
-;MTPbkMemoryEntryAddItemDlg
-"\Epoc32\Release\armv5\urel\MTPbkMemoryEntryAddItemDlg.dll"-"!:\sys\bin\MTPbkMemoryEntryAddItemDlg.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkAddItemDlg.ini"-"!:\TestFramework\TestFramework_PbkAddItemDlg.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkAddItemDlg.cfg"-"!:\TestFramework\tcBCTestPbkAddItemDlg.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkAddItemDlg.cfg"-"!:\TestFramework\UI_BCTestPbkAddItemDlg.cfg"
-"\epoc32\winscw\c\PbkAddItemDlg_c.bat"-"!:\PbkAddItemDlg_c.bat"
-
-;MTPbkFetchDlgSelection
-"\Epoc32\Release\armv5\urel\MTPbkFetchDlgSelection.dll"-"!:\sys\bin\MTPbkFetchDlgSelection.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_FetchSel.ini"-"!:\TestFramework\TestFramework_FetchSel.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestFetchSel.cfg"-"!:\TestFramework\tcBCTestFetchSel.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestFetchSel.cfg"-"!:\TestFramework\UI_BCTestFetchSel.cfg"
-"\epoc32\winscw\c\FetchSel_c.bat"-"!:\FetchSel_c.bat"
-
-;MTPbkFetchCallbacks
-"\Epoc32\Release\armv5\urel\MTPbkFetchCallbacks.dll"-"!:\sys\bin\MTPbkFetchCallbacks.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_FCallback.ini"-"!:\TestFramework\TestFramework_FCallback.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestFCallback.cfg"-"!:\TestFramework\tcBCTestFCallback.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestFCallback.cfg"-"!:\TestFramework\UI_BCTestFCallback.cfg"
-"\epoc32\winscw\c\FCallback_c.bat"-"!:\FCallback_c.bat"
-
-;MTPbkEmailOverSms
-"\Epoc32\Release\armv5\urel\MTPbkEmailOverSms.dll"-"!:\sys\bin\MTPbkEmailOverSms.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_EmailOverSMS.ini"-"!:\TestFramework\TestFramework_EmailOverSMS.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestEmaiOVerSMS.cfg"-"!:\TestFramework\tcBCTestEmaiOVerSMS.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestEmaiOVerSMS.cfg"-"!:\TestFramework\UI_BCTestEmaiOVerSMS.cfg"
-"\epoc32\winscw\c\EmailOVerSMS_c.bat"-"!:\EmailOVerSMS_c.bat"
-
-;MTPbkEmailAddressSelect
-"\Epoc32\Release\armv5\urel\MTPbkEmailAddressSelect.dll"-"!:\sys\bin\MTPbkEmailAddressSelect.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_AddEmailSel.ini"-"!:\TestFramework\TestFramework_AddEmailSel.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestEmailAddSel.cfg"-"!:\TestFramework\tcBCTestEmailAddSel.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestEmailAddSel.cfg"-"!:\TestFramework\UI_BCTestEmailAddSel.cfg"
-"\epoc32\winscw\c\EmailSel_c.bat"-"!:\EmailSel_c.bat"
-
-;MTPbkAddressSelect
-"\Epoc32\Release\armv5\urel\MTPbkAddressSelect.dll"-"!:\sys\bin\MTPbkAddressSelect.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkAddSel.ini"-"!:\TestFramework\TestFramework_PbkAddSel.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkAddSel.cfg"-"!:\TestFramework\tcBCTestPbkAddSel.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkAddSel.cfg"-"!:\TestFramework\UI_BCTestPbkAddSel.cfg"
-"\epoc32\data\z\resource\PbkAddressSelect.rsc"-"!:\resource\PbkAddressSelect.rsc"
-"\epoc32\winscw\c\PbkAddSel_c.bat"-"!:\PbkAddSel_c.bat"
-
-
-;MTPbkPhoneNumberSelectBase
-"\Epoc32\Release\armv5\urel\MTPbkPhoneNumberSelectBase.dll"-"!:\sys\bin\MTPbkPhoneNumberSelectBase.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_NumSel.ini"-"!:\TestFramework\TestFramework_NumSel.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestNumSel.cfg"-"!:\TestFramework\tcBCTestNumSel.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestNumSel.cfg"-"!:\TestFramework\UI_BCTestNumSel.cfg"
-"\epoc32\data\z\resource\MT_CPbkPhoneNumberSelectBase.rsc"-"!:\resource\MT_CPbkPhoneNumberSelectBase.rsc"
-"\epoc32\winscw\c\NumSel_c.bat"-"!:\NumSel_c.bat"
-
-;MTPbkSelectFieldDlg
-"\Epoc32\Release\armv5\urel\MTPbkSelectFieldDlg.dll"-"!:\sys\bin\MTPbkSelectFieldDlg.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_FieldDlg.ini"-"!:\TestFramework\TestFramework_FieldDlg.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestFieldDlg.cfg"-"!:\TestFramework\tcBCTestFieldDlg.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestFieldDlg.cfg"-"!:\TestFramework\UI_BCTestFieldDlg.cfg"
-"\epoc32\winscw\c\FieldDlg_c.bat"-"!:\FieldDlg_c.bat"
-
-;MTPbkSingleItemFetchDlg
-"\Epoc32\Release\armv5\urel\MTPbkSingleItemFetchDlg.dll"-"!:\sys\bin\MTPbkSingleItemFetchDlg.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_SIFieldDlg.ini"-"!:\TestFramework\TestFramework_SIFieldDlg.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestSIFieldDlg.cfg"-"!:\TestFramework\tcBCTestSIFieldDlg.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestSIFieldDlg.cfg"-"!:\TestFramework\UI_BCTestSIFieldDlg.cfg"
-"\epoc32\winscw\c\SIFieldDlg_c.bat"-"!:\SIFieldDlg_c.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/sis/Contacts_PbkFetchAPI.sis
Binary file apicompatanamdw/bcdrivers/app/contacts/phonebook_fetch_ui_api/sis/Contacts_PbkFetchAPI.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_ui_utilities_api/Bmarm/BCTestPbkUIUtilU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_ui_utilities_api/Bmarm/BCTestPbkUIUtilU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_ui_utilities_api/Bwins/BCTestPbkUIUtilU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_ui_utilities_api/Bwins/BCTestPbkUIUtilU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_ui_utilities_api/EABI/BCTestPbkUIUtilU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_ui_utilities_api/EABI/BCTestPbkUIUtilU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_ui_utilities_api/group/PbkUtils.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_ui_utilities_api/group/PbkUtils.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Phonebook UI Utilities API
+STIF
+
+The tests involve the Contacts Phonebook UI Utilities API
+
+
+
+C:\TestFramework\TestFramework_PbkUIUtil.iniC:\TestFramework\TestFramework.ini
+ -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkUIUtil.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 36
+ c:\Logs\TestFramework\TestReport.txte:\BCTest\results\Contacts_PbkUIUtil.txt
+
+
+
+
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_ui_utilities_api/sis/Contacts_PbkUIUtil.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_ui_utilities_api/sis/Contacts_PbkUIUtil.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"BCTestPbkUIUtil"},(0x20015B22),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\BCTestPbkUIUtil.dll"-"!:\sys\bin\BCTestPbkUIUtil.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkUIUtil.ini"-"!:\TestFramework\TestFramework_PbkUIUtil.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkUIUtil.cfg"-"!:\TestFramework\tcBCTestPbkUIUtil.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkUIUtil.cfg"-"!:\TestFramework\UI_BCTestPbkUIUtil.cfg"
-"\epoc32\winscw\c\PbkUIUtil_c.bat"-"!:\PbkUIUtil.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_ui_utilities_api/sis/Contacts_PbkUIUtil.sis
Binary file apicompatanamdw/bcdrivers/app/contacts/phonebook_ui_utilities_api/sis/Contacts_PbkUIUtil.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_vcard_importexport_api/Bmarm/BCTestPbkVcardImportExportU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_vcard_importexport_api/Bmarm/BCTestPbkVcardImportExportU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_vcard_importexport_api/Bwins/BCTestPbkVcardImportExportU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_vcard_importexport_api/Bwins/BCTestPbkVcardImportExportU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_vcard_importexport_api/EABI/BCTestPbkVcardImportExportU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_vcard_importexport_api/EABI/BCTestPbkVcardImportExportU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_vcard_importexport_api/group/PbkVcard.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/phonebook_vcard_importexport_api/group/PbkVcard.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Phonebook vCard ImportExport API
+STIF
+
+The tests involve the Contacts Phonebook vCard Import/Export API
+
+
+
+c:\TestFramework\TestFramework_PbkVcardImportExport.iniC:\TestFramework\TestFramework.ini
+ -testmodule testcombiner -config C:\TestFramework\tcBCTestPbkVcardImportExport.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 11
+ c:\Logs\TestFramework\TestReport.txte:\BCTest\results\Contacts_PbkVcardImportExport.txt
+
+
+
+
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_vcard_importexport_api/sis/Contacts_PbkVcard.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/phonebook_vcard_importexport_api/sis/Contacts_PbkVcard.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"PIM_VCardImportExport"},(0x20015B12),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\BCTestPbkVcardImportExport.dll"-"!:\sys\bin\BCTestPbkVcardImportExport.dll"
-"\epoc32\data\C\bcardtest2\Basic02.src" -"!:\bcardtest2\Basic02.src"
-"\epoc32\data\C\bcardtest2\basic03.vcf" -"!:\bcardtest2\basic03.vcf"
-"\epoc32\data\C\bcardtest2\BasicCC01.ccf" -"!:\bcardtest2\BasicCC01.ccf"
-"\epoc32\data\C\bcardtest2\BasicCC02.ccf" -"!:\bcardtest2\BasicCC02.ccf"
-"\epoc32\data\C\bcardtest2\BasicCompactMaxSize.ccf" -"!:\bcardtest2\BasicCompactMaxSize.ccf"
-"\epoc32\data\C\bcardtest2\BasicCompactNoBusiness.ccf" -"!:\bcardtest2\BasicCompactNoBusiness.ccf"
-"\epoc32\data\C\bcardtest2\dummy.vcf" -"!:\bcardtest2\dummy.vcf"
-"\epoc32\data\C\bcardtest2\JohnPic.GIF" -"!:\bcardtest2\JohnPic.GIF"
-"\epoc32\data\C\bcardtest2\Picture2.vcf" -"!:\bcardtest2\Picture2.vcf"
-"\Epoc32\winscw\c\testframework\TestFramework_PbkVcardImportExport.ini"-"!:\TestFramework\TestFramework_PbkVcardImportExport.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestPbkVcardImportExport.cfg"-"!:\TestFramework\tcBCTestPbkVcardImportExport.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestPbkVcardImportExport.cfg"-"!:\TestFramework\UI_BCTestPbkVcardImportExport.cfg"
-"\epoc32\winscw\c\pbkvcard_c.bat"-"!:\pbkvcard.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/phonebook_vcard_importexport_api/sis/Contacts_PbkVcard.sis
Binary file apicompatanamdw/bcdrivers/app/contacts/phonebook_vcard_importexport_api/sis/Contacts_PbkVcard.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/Bmarm/BCTestSpeedDialU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/Bmarm/BCTestSpeedDialU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/Bwins/BCTestSpeedDialU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/Bwins/BCTestSpeedDialU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/EABI/BCTestSpeedDialU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/EABI/BCTestSpeedDialU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/group/BCTestSpeedDial.mmp
--- a/apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/group/BCTestSpeedDial.mmp Mon May 03 11:57:22 2010 +0530
+++ b/apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/group/BCTestSpeedDial.mmp Fri Aug 27 14:37:16 2010 +0530
@@ -37,12 +37,10 @@
USERINCLUDE ../inc
-#if defined(__S60_)
- APP_LAYER_SYSTEMINCLUDE
-#else // __S60_ not defined
- SYSTEMINCLUDE /epoc32/include
- SYSTEMINCLUDE /epoc32/include/internal
-#endif // __S60_
+APP_LAYER_SYSTEMINCLUDE
+SYSTEMINCLUDE /epoc32/include
+SYSTEMINCLUDE /epoc32/include/platform
+SYSTEMINCLUDE /epoc32/include/internal
SOURCEPATH ../src
SOURCE BCTestSpeedDial.cpp
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/group/Spdial.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/group/Spdial.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,20 @@
+
+
+Speeddial API
+STIF
+
+The tests involve the Contacts Speeddial API
+
+
+
+C:\TestFramework\TestFramework_Spdial.iniC:\TestFramework\TestFramework.ini
+
+ -testmodule testcombiner -config C:\TestFramework\tcSpeeddial.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 12
+ c:\Logs\TestFramework\TestReport.txte:\bctest\results\Contacts_SpeedDial.txt
+
+
+
+
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/group/spddial_c.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/group/spddial_c.bat Mon May 03 11:57:22 2010 +0530
+++ b/apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/group/spddial_c.bat Fri Aug 27 14:37:16 2010 +0530
@@ -1,5 +1,5 @@
@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+@rem Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
@rem All rights reserved.
@rem This component and the accompanying materials are made available
@rem under the terms of "Eclipse Public License v1.0"
@@ -19,5 +19,5 @@
md e:\bctest\Results
ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcSpeeddial.cfg -engineini C:\TestFramework\TestFramework.ini
-copy c:\Logs\TestFramework\TestReport.txt e:\bctest\results\Contacts_SpeedDial.txt
+copy c:\Logs\TestFramework\TestReport.txt e:\bctest\results\Contacts_speeddial.txt
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/group/spddial_z.bat
--- a/apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/group/spddial_z.bat Mon May 03 11:57:22 2010 +0530
+++ b/apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/group/spddial_z.bat Fri Aug 27 14:37:16 2010 +0530
@@ -1,5 +1,5 @@
@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+@rem Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
@rem All rights reserved.
@rem This component and the accompanying materials are made available
@rem under the terms of "Eclipse Public License v1.0"
@@ -18,8 +18,8 @@
md e:\bctest
md e:\bctest\Results
-ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcSpeeddial.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\bctest\results\Contacts_SpeedDial.txt
+ATSINTERFACE.EXE -testmodule testcombiner -config C:\TestFramework\tcSpeeddial.cfg -engineini C:\TestFramework\TestFramework.ini
+copy c:\Logs\TestFramework\TestReport.txt e:\bctest\results\Contacts_speeddial.txt
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/sis/Contacts_Spdial.pkg
--- a/apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/sis/Contacts_Spdial.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"PIM_Spdial"},(0x20015B15),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\BCTestSpeedDial.dll"-"!:\sys\bin\BCTestSpeedDial.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_Spdial.ini"-"!:\TestFramework\TestFramework_Spdial.ini"
-"\Epoc32\winscw\c\testframework\tcSpeeddial.cfg"-"!:\TestFramework\tcSpeeddial.cfg"
-"\Epoc32\winscw\c\testframework\ui_Speeddial.cfg"-"!:\TestFramework\ui_Speeddial.cfg"
-"\epoc32\winscw\c\spddial_c.bat"-"!:\spddial.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/sis/Contacts_Spdial.sis
Binary file apicompatanamdw/bcdrivers/app/contacts/speed_dial_utility_control_api/sis/Contacts_Spdial.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/im/BCTforIMAPI/sis/52_IM.SIS
Binary file apicompatanamdw/bcdrivers/app/im/BCTforIMAPI/sis/52_IM.SIS has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/im/BCTforIMAPI/sis/imapimt.ini
--- a/apicompatanamdw/bcdrivers/app/im/BCTforIMAPI/sis/imapimt.ini Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-# IMPS Engine IM SDK API test module static settings
-# Copy this file to %epocroot%\testframework
-# All fields are mandatory
-
-# SAP
-# Intranet network link for accesing Presence services / Wireless village
-#Example: SAP=http://195.134.231.100/wv
-SAP=
-
-# Userid
-# UserId registered at SAP
-Userid=
-
-# Password
-# password of the above UserId, for accessing SAP
-password=
-
-# Clientid
-# no need to modify this
-clientid=apiclient@imps.org
-
-# IAP
-# If run on emulator, IAP=11
-# If run on HW, IAP is ID of Access Point using the SIM Operator's GPRS network, This can be found from "Access point" settings on Phone
-# IAP should be a numeric value
-IAP=
-
-# userid1
-# Any other userid registered at SAP
-userid1=
-
-#userid2
-# Any other userid registered at SAP
-userid2=
-
-# end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_addedit_api/Bmarm/BCAppLmkAddEditU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/location/landmarks_ui_addedit_api/Bmarm/BCAppLmkAddEditU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_addedit_api/Bwins/BCAppLmkAddEditU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/location/landmarks_ui_addedit_api/Bwins/BCAppLmkAddEditU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_addedit_api/EABI/BCAppLmkAddEditU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/location/landmarks_ui_addedit_api/EABI/BCAppLmkAddEditU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,5 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI17CLmkAddEditEngine @ 2 NONAME
+ _ZTV17CLmkAddEditEngine @ 3 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_addedit_api/group/Lmae.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/location/landmarks_ui_addedit_api/group/Lmae.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Landmarks UI AddEdit API
+STIF
+
+The tests involve the Location Landmarks UI Add/Edit API
+
+
+
+C:\TestFramework\TestFramework_locaddedit.iniC:\TestFramework\TestFramework.ini
+ -testmodule testcombiner -config C:\TestFramework\tcLmkAddEdit.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 6
+ c:\Logs\TestFramework\TestReport.txte:\BCTest\results\Location_LmkAddEdit.txt
+
+
+
+
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_addedit_api/sis/Loc_addedit.SIS
Binary file apicompatanamdw/bcdrivers/app/location/landmarks_ui_addedit_api/sis/Loc_addedit.SIS has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_addedit_api/sis/Loc_addedit.pkg
--- a/apicompatanamdw/bcdrivers/app/location/landmarks_ui_addedit_api/sis/Loc_addedit.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"loc_addedit"},(0x20015B16),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\BCAppLmkAddEdit.dll"-"!:\sys\bin\BCAppLmkAddEdit.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_locaddedit.ini"-"!:\TestFramework\TestFramework_locaddedit.ini"
-"\Epoc32\winscw\c\testframework\tcLmkAddEdit.cfg"-"!:\TestFramework\tcLmkAddEdit.cfg"
-"\Epoc32\winscw\c\testframework\UI_LmkAddEdit.cfg"-"!:\TestFramework\UI_LmkAddEdit.cfg"
-"\epoc32\winscw\c\lmae_c.bat"-"!:\lmae.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BCAppLmkItemIdDbCombiInfo/Bmarm/LandmarksItemIdDbCombiInfoU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BCAppLmkItemIdDbCombiInfo/Bmarm/LandmarksItemIdDbCombiInfoU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BCAppLmkItemIdDbCombiInfo/Bwins/LandmarksItemIdDbCombiInfoU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BCAppLmkItemIdDbCombiInfo/Bwins/LandmarksItemIdDbCombiInfoU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BCAppLmkItemIdDbCombiInfo/EABI/LandmarksItemIdDbCombiInfoU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BCAppLmkItemIdDbCombiInfo/EABI/LandmarksItemIdDbCombiInfoU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BCAppLmkItemIdDbCombiInfo/group/Lmdb.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BCAppLmkItemIdDbCombiInfo/group/Lmdb.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Landmarks ItemDB API
+STIF
+
+The tests involve the Location Landmarks ItemDB API
+
+
+
+C:\TestFramework\TestFramework_locdbci.iniC:\TestFramework\TestFramework.ini
+ -testmodule testcombiner -config C:\TestFramework\tcLmkItemIdDbCombiInfo.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 3
+ c:\logs\TestFramework\TestReport.txte:\BCTest\results\Location_LmkItemIdDbCombiInfo.txt
+
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BCAppLmkItemIdDbCombiInfo/sis/Loc_itemdbci.SIS
Binary file apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BCAppLmkItemIdDbCombiInfo/sis/Loc_itemdbci.SIS has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BCAppLmkItemIdDbCombiInfo/sis/Loc_itemdbci.pkg
--- a/apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BCAppLmkItemIdDbCombiInfo/sis/Loc_itemdbci.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"loc_itemdbci"},(0x20015B17),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\LandmarksItemIdDbCombiInfo.dll"-"!:\sys\bin\LandmarksItemIdDbCombiInfo.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_locdbci.ini"-"!:\TestFramework\TestFramework_locdbci.ini"
-"\Epoc32\winscw\c\testframework\tcLmkItemIdDbCombiInfo.cfg"-"!:\TestFramework\tcLmkItemIdDbCombiInfo.cfg"
-"\Epoc32\winscw\c\testframework\UI_LmkItemIdDbCombiInfo.cfg"-"!:\TestFramework\UI_LmkItemIdDbCombiInfo.cfg"
-"\epoc32\winscw\c\lmdb_c.bat"-"!:\lmitemdb.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BcAppLmkSelector/Bmarm/LmkSelectorU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BcAppLmkSelector/Bmarm/LmkSelectorU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BcAppLmkSelector/Bwins/LmkSelectorU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BcAppLmkSelector/Bwins/LmkSelectorU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BcAppLmkSelector/EABI/LmkSelectorU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BcAppLmkSelector/EABI/LmkSelectorU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,5 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZTI10CLmkEngine @ 2 NONAME
+ _ZTV10CLmkEngine @ 3 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BcAppLmkSelector/group/Lmsl.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BcAppLmkSelector/group/Lmsl.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Landmarks UI Selector API
+STIF
+
+The tests involve the Location Landmarks UI Selector API
+
+
+
+C:\TestFramework\TestFramework_locsel.iniC:\TestFramework\TestFramework.ini
+ -testmodule testcombiner -config C:\TestFramework\tcLmkSelector.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 8
+ c:\logs\TestFramework\TestReport.txte:\BCTest\results\Location_LmkSelector.txt
+
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BcAppLmkSelector/sis/Loc_selector.SIS
Binary file apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BcAppLmkSelector/sis/Loc_selector.SIS has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BcAppLmkSelector/sis/Loc_selector.pkg
--- a/apicompatanamdw/bcdrivers/app/location/landmarks_ui_selector_api/BcAppLmkSelector/sis/Loc_selector.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"loc_selector"},(0x20015B18),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\LmkSelector.dll"-"!:\sys\bin\LmkSelector.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_locsel.ini"-"!:\TestFramework\TestFramework_locsel.ini"
-"\Epoc32\winscw\c\testframework\tcLmkSelector.cfg"-"!:\TestFramework\tcLmkSelector.cfg"
-"\Epoc32\winscw\c\testframework\UI_LmkSelector.cfg"-"!:\TestFramework\UI_LmkSelector.cfg"
-"\epoc32\winscw\c\lmsl_c.bat"-"!:\lmsl.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/Bmarm/MMSClientMTMBCTesterU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/Bmarm/MMSClientMTMBCTesterU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,4 @@
+EXPORTS
+ LibEntryL__Fv @ 1 NONAME R3UNUSED ; LibEntryL(void)
+ SetRequirements__FRP16CTestModuleParamRUl @ 2 NONAME R3UNUSED ; SetRequirements(CTestModuleParam *&, unsigned long &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/Bwins/MMSClientMTMBCTesterU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/Bwins/MMSClientMTMBCTesterU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,4 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCTestModuleBase@@XZ @ 1 NONAME ; class CTestModuleBase * __cdecl LibEntryL(void)
+ ?SetRequirements@@YAHAAPAVCTestModuleParam@@AAK@Z @ 2 NONAME ; int __cdecl SetRequirements(class CTestModuleParam * &,unsigned long &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/EABI/MMSClientMTMBCTesterU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/EABI/MMSClientMTMBCTesterU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,6 @@
+EXPORTS
+ _Z9LibEntryLv @ 1 NONAME
+ _Z15SetRequirementsRP16CTestModuleParamRm @ 2 NONAME
+ _ZTI31CMMSClientMTMBCTesterController @ 3 NONAME ; ##
+ _ZTV31CMMSClientMTMBCTesterController @ 4 NONAME ; ##
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/group/mms.bat
--- a/apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/group/mms.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy c:\TestFramework\TestFramework_MMSClientMTMBCTester.ini c:\TestFramework\TestFramework.ini
-
-md e:\bctest
-md e:\bctest\results
-
-ATSINTERFACE.EXE -testmodule MMSClientMTMBCTester -moduleini c:\TestFramework\MMSClientMTMBCTester.ini
-
-copy c:\Logs\TestFramework\TestReport.txt e:\bctest\results\Messaging_MMSClientMTM.txt
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/sis/MMSClient.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/sis/MMSClient.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+MMS Client MTM API
+STIF
+
+The tests involve the Messaging MMS Client MTM API
+
+
+
+c:\TestFramework\TestFramework_MMSClientMTMBCTester.inic:\TestFramework\TestFramework.ini
+ -testmodule MMSClientMTMBCTester -moduleini c:\TestFramework\MMSClientMTMBCTester.ini -engineini c:\TestFramework\TestFramework.ini
+
+
+ 70
+ c:\Logs\TestFramework\TestReport.txte:\bctest\results\Messaging_MMSClientMTM.txt
+
+
+
+
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/sis/Messaging_MMSClientMTM.SIS
Binary file apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/sis/Messaging_MMSClientMTM.SIS has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/sis/Messaging_MMSClientMTM.pkg
--- a/apicompatanamdw/bcdrivers/app/messaging/mms_client_mtm_api/sis/Messaging_MMSClientMTM.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; MMSClientMTMBCTester.pkg
-; Package file for MMS Client MTM BC Tester
-
-
-; Languages
-&EN
-
-
-; Package header
-#{"MMSClientMTMBCTester"}, (0x10282C89), 1, 0, 0
-
-
-;Localised Vendor name
-%{"Nokia Testing"}
-
-;Unique Vendor name
-:"Nokia"
-
-;Supports Series 60 v 3.0
-[0x101F7961], 3, *, *, {"Series60ProductID"}
-
-; Files
-"\epoc32\release\armv5\urel\MMSClientMTMBCTester.dll"-"!:\sys\bin\MMSClientMTMBCTester.dll"
-"..\data\TestFramework_MMSClientMTMBCTester.ini"-"!:\TestFramework\TestFramework_MMSClientMTMBCTester.ini"
-"..\data\MMSClientMTMBCTester.ini"-"!:\TestFramework\MMSClientMTMBCTester.ini"
-"..\data\MMSClientMTMBCTester_TestImage.jpg"-"!:\TestFramework\MMSClientMTMBCTester_TestImage.jpg"
-".\mms.bat"-"!:\mms.bat"
-
-; End of file: MMSClientMTMBCTester.pkg
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/plugin_bio_control_api/Bmarm/PluginBioControlAPITestU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/messaging/plugin_bio_control_api/Bmarm/PluginBioControlAPITestU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/plugin_bio_control_api/Bwins/PluginBioControlAPITestU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/messaging/plugin_bio_control_api/Bwins/PluginBioControlAPITestU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,4 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+ ?NewL@CMsgBioCtrlTest@@SAPAVCMsgBioControl@@AAVMMsgBioControlObserver@@PAVCMsvSession@@JW4TMsgBioMode@@PBVRFile@@@Z @ 2 NONAME ; class CMsgBioControl * CMsgBioCtrlTest::NewL(class MMsgBioControlObserver &, class CMsvSession *, long, enum TMsgBioMode, class RFile const *)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/plugin_bio_control_api/EABI/PluginBioControlAPITestU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/messaging/plugin_bio_control_api/EABI/PluginBioControlAPITestU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,6 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+ _ZN15CMsgBioCtrlTest4NewLER22MMsgBioControlObserverP11CMsvSessionl11TMsgBioModePK5RFile @ 2 NONAME
+ _ZTI17CEdwinTestControl @ 3 NONAME ; ##
+ _ZTV17CEdwinTestControl @ 4 NONAME ; ##
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/plugin_bio_control_api/group/PluginBio.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/messaging/plugin_bio_control_api/group/PluginBio.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Plugin Bio Control API
+STIF
+
+The tests involve the Messaging Plugin Bio Control API
+
+
+
+C:\TestFramework\TestFramework_PluginBio.iniC:\TestFramework\TestFramework.ini
+ -testmodule testcombiner -config C:\TestFramework\tcTestUIBioCombiner.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 2
+ c:\logs\TestFramework\TestReport.txte:\BCTest\results\Messaging_PluginBioControl.txt
+
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/plugin_bio_control_api/sis/Messaging_PluginBio.pkg
--- a/apicompatanamdw/bcdrivers/app/messaging/plugin_bio_control_api/sis/Messaging_PluginBio.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-;
-; Install files for PluginBioControlAPI test Dll
-;
-
-; Supported languages
-&EN
-
-; Package header
-#{"PluginBioControlAPITest"}, (0x101FB4E2), 1, 2, 3, TYPE=SA
-
-; Series 60 v5.0
-[0x1028315F], *, *, *, {"Series60ProductID"}
-
-; Localised vendor name
-%{"Nokia Test EN"}
-; Unique vendor name
-:"Nokia"
-
-;Files to install
-;
-"\epoc32\release\armv5\urel\PluginBioControlAPITest.dll"-"C:\sys\bin\PluginBioControlAPITest.dll"
-"\Epoc32\winscw\c\testframework\tcTestUIBioCombiner.cfg"-"C:\TestFramework\tcTestUIBioCombiner.cfg"
-"\Epoc32\winscw\c\testframework\ui_PluginBioControlAPITest.cfg"-"C:\TestFramework\ui_PluginBioControlAPITest.cfg"
-"\Epoc32\winscw\c\testframework\TestFramework_PluginBio.ini"-"C:\TestFramework\TestFramework_PluginBio.ini"
-"..\Data\mmc\PluginBioControlAPITest\test.txt"-"E:\testing\Data\PluginBioControlAPITest\test.txt"
-"..\Data\mmc\PluginBioControlAPITest\PluginBioControlAPITest.rsc"-"C:\resource\PluginBioControlAPITest.rsc"
-"..\group\PluginBio_c.bat"-"!:\bioctl.bat"
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/messaging/plugin_bio_control_api/sis/Messaging_PluginBio.sis
Binary file apicompatanamdw/bcdrivers/app/messaging/plugin_bio_control_api/sis/Messaging_PluginBio.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/calendar_interim_utils2_api/Bmarm/BCTestCalendar2U.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/organizer/calendar_interim_utils2_api/Bmarm/BCTestCalendar2U.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/calendar_interim_utils2_api/Bwins/BCTestCalendar2U.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/organizer/calendar_interim_utils2_api/Bwins/BCTestCalendar2U.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/calendar_interim_utils2_api/EABI/BCTestCalendar2U.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/organizer/calendar_interim_utils2_api/EABI/BCTestCalendar2U.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/calendar_interim_utils2_api/group/Cal.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/organizer/calendar_interim_utils2_api/group/Cal.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Calendar API
+STIF
+
+The tests involve the Organizer Calendar API
+
+
+
+c:\TestFramework\TestFramework_PIMCalendar.iniC:\TestFramework\TestFramework.ini
+ -testmodule testcombiner -config C:\TestFramework\tcBCTestCalendar2.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 7
+ c:\Logs\TestFramework\TestReport.txte:\BCTest\results\Organizer_Calendar.txt
+
+
+
+
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/calendar_interim_utils2_api/sis/Org_Calendar.pkg
--- a/apicompatanamdw/bcdrivers/app/organizer/calendar_interim_utils2_api/sis/Org_Calendar.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"PIM_Calendar"},(0x20015B13),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\BCTestCalendar2.dll"-"!:\sys\bin\BCTestCalendar2.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PIMCalendar.ini"-"!:\TestFramework\TestFramework_PIMCalendar.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestCalendar2.cfg"-"!:\TestFramework\tcBCTestCalendar2.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestCalendar2.cfg"-"!:\TestFramework\UI_BCTestCalendar2.cfg"
-"\epoc32\winscw\c\calendar_c.bat"-"!:\calendar.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/calendar_interim_utils2_api/sis/Org_Calendar.sis
Binary file apicompatanamdw/bcdrivers/app/organizer/calendar_interim_utils2_api/sis/Org_Calendar.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/Bmarm/BCTestClockU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/Bmarm/BCTestClockU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/Bwins/BCTestClockU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/Bwins/BCTestClockU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/EABI/BCTestClockU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/EABI/BCTestClockU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/group/BCTestClock.mmp
--- a/apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/group/BCTestClock.mmp Mon May 03 11:57:22 2010 +0530
+++ b/apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/group/BCTestClock.mmp Fri Aug 27 14:37:16 2010 +0530
@@ -18,7 +18,7 @@
#if defined(__S60_)
// To get the OSEXT_LAYER_SYSTEMINCLUDE-definition
- #include
+ // #include
#endif
TARGET BCTestClock.dll
@@ -34,37 +34,21 @@
//TARGETPATH ?target_path
DEFFILE BCTestClock.def
-#ifdef SBSv2
- USERINCLUDE ../inc
-
- #if defined(__S60_)
- OSEXT_LAYER_SYSTEMINCLUDE
- #else // __S60_ not defined
- SYSTEMINCLUDE /epoc32/include
- SYSTEMINCLUDE /epoc32/include/internal
- #endif // __S60_
+USERINCLUDE ../inc
- SOURCEPATH ../src
-#else // SBSv2 not defined
- USERINCLUDE ..\inc
+APP_LAYER_SYSTEMINCLUDE
+SYSTEMINCLUDE /epoc32/include
+SYSTEMINCLUDE /epoc32/include/platform
+SYSTEMINCLUDE /epoc32/include/middleware
+SYSTEMINCLUDE /epoc32/include/internal
- #if defined(__S60_)
- OSEXT_LAYER_SYSTEMINCLUDE
- #else // __S60_ not defined
- SYSTEMINCLUDE \epoc32\include
- SYSTEMINCLUDE \epoc32\include\internal
- #endif // __S60_
+SOURCEPATH ../src
-SYSTEMINCLUDE \epoc32\include
-SYSTEMINCLUDE \epoc32\include\middleware
SYSTEMINCLUDE \epoc32\include\domain\middleware
SYSTEMINCLUDE \epoc32\include\osextensions
SYSTEMINCLUDE \epoc32\include\domain\osextensions
SYSTEMINCLUDE \epoc32\include\applications
-SYSTEMINCLUDE \epoc32\include\internal
- SOURCEPATH ..\src
-#endif // SBSv2
SOURCE BCTestClock.cpp
SOURCE BCTestClockBlocks.cpp
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/group/Clock.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/group/Clock.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Clock API
+STIF
+
+The tests involve the App/Organizer Clock API
+
+
+
+C:\TestFramework\TestFramework_PIMClock.iniC:\TestFramework\TestFramework.ini
+ -testmodule testcombiner -config C:\TestFramework\tcBCTestClock.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 4
+ c:\Logs\TestFramework\TestReport.txte:\BCTest\results\Organizer_Clock.txt
+
+
+
+
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/sis/Org_Clock.pkg
--- a/apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/sis/Org_Clock.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"PIM_Clock"},(0x20015B14),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\BCTestClock.dll"-"!:\sys\bin\BCTestClock.dll"
-"\Epoc32\winscw\c\testframework\TestFramework_PIMClock.ini"-"!:\TestFramework\TestFramework_PIMClock.ini"
-"\Epoc32\winscw\c\testframework\tcBCTestClock.cfg"-"!:\TestFramework\tcBCTestClock.cfg"
-"\Epoc32\winscw\c\testframework\UI_BCTestClock.cfg"-"!:\TestFramework\UI_BCTestClock.cfg"
-"\epoc32\winscw\c\clock_c.bat"-"!:\clock.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/sis/Org_clock.sis
Binary file apicompatanamdw/bcdrivers/app/organizer/common_date_time_view_api/sis/Org_clock.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/notepad_library_api/Bmarm/TestNpdApiU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/organizer/notepad_library_api/Bmarm/TestNpdApiU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/notepad_library_api/Bwins/TestNpdApiU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/organizer/notepad_library_api/Bwins/TestNpdApiU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/notepad_library_api/EABI/TestNpdApiU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/organizer/notepad_library_api/EABI/TestNpdApiU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/notepad_library_api/group/Npd.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/app/organizer/notepad_library_api/group/Npd.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Notepad API
+STIF
+
+The tests involve the Organizer Notepad API
+
+
+
+c:\TestFramework\TestFramework_npd.iniC:\TestFramework\TestFramework.ini
+ -testmodule testcombiner -config C:\TestFramework\TestNpdApi.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 9
+ c:\Logs\TestFramework\TestReport.txte:\BCTest\results\Organizer_NotepadLibrary.txt
+
+
+
+
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/notepad_library_api/sis/Org_NpdApi.SIS
Binary file apicompatanamdw/bcdrivers/app/organizer/notepad_library_api/sis/Org_NpdApi.SIS has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/app/organizer/notepad_library_api/sis/Org_NpdApi.pkg
--- a/apicompatanamdw/bcdrivers/app/organizer/notepad_library_api/sis/Org_NpdApi.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; =========
-&EN
-
-; Name, UID for installation, Maj.Ver., Min.Ver., Variant, FLAG TO SPECIFY UNICODE, System component
-; ==================================================================================================
-#{"notepad library api Test"},(0x101FB3E7),1,0,1,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-
-; Localised Vendor name
-%{"Nokia-EN"}
-
-; Unique Vendor name
-:"Nokia"
-
-"\epoc32\release\armv5\urel\TestNpdApi.dll" -"!:\sys\bin\TestNpdApi.dll"
-"\epoc32\winscw\c\TestNpdApi.txt" -"c:\testing\data\TestNpdApi.txt"
-"\epoc32\winscw\c\testframework\testframework_npd.ini" -"c:\TestFramework\testframework_npd.ini"
-"\epoc32\winscw\c\testframework\TestNpdApi.cfg" -"c:\TestFramework\TestNpdApi.cfg"
-"\epoc32\winscw\c\testframework\ui_TestNpdApi.cfg" -"c:\TestFramework\ui_TestNpdApi.cfg"
-"\epoc32\winscw\c\npd_c.bat" -"!:\npd.bat"
-
-
-
-; eof
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appinstall/startup_list_management_api/SelfSignedStartupApp/sis/AppIns_SelfSignedStartupListMgmt.pkg
--- a/apicompatanamdw/bcdrivers/mw/appinstall/startup_list_management_api/SelfSignedStartupApp/sis/AppIns_SelfSignedStartupListMgmt.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-;Languages
-&EN
-
-;Header
-#{"StartupListManagement_SelfSigned"},(0x99887766),1,0,0, TYPE=SA
-
-;Localised Vendor name
-%{"Vendor-EN"}
-
-;Unique Vendor name
-:"Vendor"
-
-;Supports Series 60 v 3.0
-[0x101F7961], 3, *, *, {"Series60ProductID"}
-
-; Install files
-
-"\epoc32\release\armv5\urel\SelfSignedStartupApp.exe" -"c:\sys\bin\SelfSignedStartupApp.exe"
-"\epoc32\data\z\resource\99887766.rsc" -"c:\private\101f875a\import\[99887766].rsc"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appinstall/startup_list_management_api/SelfSignedStartupApp/sis/AppIns_SelfSignedStartupListMgmt.sis
Binary file apicompatanamdw/bcdrivers/mw/appinstall/startup_list_management_api/SelfSignedStartupApp/sis/AppIns_SelfSignedStartupListMgmt.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appinstall/startup_list_management_api/StartupApp/sis/AppIns_StartupListMgmt.pkg
--- a/apicompatanamdw/bcdrivers/mw/appinstall/startup_list_management_api/StartupApp/sis/AppIns_StartupListMgmt.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-;Languages
-&EN
-
-;Header
-#{"StartupListManagement"},(0x11223344),1,0,0, TYPE=SA
-
-;Localised Vendor name
-%{"Vendor-EN"}
-
-;Unique Vendor name
-:"Vendor"
-
-;Supports Series 60 v 3.0
-[0x101F7961], 3, *, *, {"Series60ProductID"}
-
-; Install files
-
-"\epoc32\release\armv5\urel\StartupApp.exe" -"c:\sys\bin\StartupApp.exe"
-"\epoc32\data\z\resource\11223344.rsc" -"c:\private\101f875a\import\[11223344].rsc"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appinstall/startup_list_management_api/StartupApp/sis/AppIns_StartupListMgmt.sis
Binary file apicompatanamdw/bcdrivers/mw/appinstall/startup_list_management_api/StartupApp/sis/AppIns_StartupListMgmt.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/flash_viewer_framework_api/sis/AppSup_FlashViewerFramework.pkg
--- a/apicompatanamdw/bcdrivers/mw/appsupport/flash_viewer_framework_api/sis/AppSup_FlashViewerFramework.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-;FlashViewerFramework
-;
-;Languages - UK English, US English
-&EN
-
-; SAFlash - standalone player
-; UID is the app's UID
-#{"FlashViewerFramework"},(0x10282355),1,0,0,TYPE=SA
-
-; Localised Vendor name
-%{"Vendor-EN"}
-
-; Unique Vendor name
-:"Vendor"
-
-;Supports Series 60 v 3.0
-[0x101F7961], 3, *, *, {"Series60ProductID"}
-
-; Install files
-
-"\epoc32\release\armv5\urel\testdrive_saflash.exe" -"!:\sys\bin\testdrive_saflash.exe"
-"\epoc32\Data\z\app_resource_dir\testdrive_saflash.rsc" -"!:\resource\apps\testdrive_saflash.rsc"
-"\epoc32\data\Z\private\10003a3f\apps\testdrive_saflash_reg.rsc" -"!:\private\10003a3f\import\apps\testdrive_saflash_reg.rsc"
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/flash_viewer_framework_api/sis/AppSup_FlashViewerFramework.sis
Binary file apicompatanamdw/bcdrivers/mw/appsupport/flash_viewer_framework_api/sis/AppSup_FlashViewerFramework.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/network_status_api/Bmarm/NetworkStatusTestU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/appsupport/network_status_api/Bmarm/NetworkStatusTestU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,4 @@
+EXPORTS
+ LibEntryL__Fv @ 1 NONAME R3UNUSED ; LibEntryL(void)
+ SetRequirements__FRP16CTestModuleParamRUl @ 2 NONAME R3UNUSED ; SetRequirements(CTestModuleParam *&, unsigned long &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/network_status_api/Bwins/NetworkStatusTestU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/appsupport/network_status_api/Bwins/NetworkStatusTestU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,4 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCTestModuleBase@@XZ @ 1 NONAME ; class CTestModuleBase * __cdecl LibEntryL(void)
+ ?SetRequirements@@YAHAAPAVCTestModuleParam@@AAK@Z @ 2 NONAME ; int __cdecl SetRequirements(class CTestModuleParam * &,unsigned long &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/network_status_api/EABI/NetworkStatusTestU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/appsupport/network_status_api/EABI/NetworkStatusTestU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,4 @@
+EXPORTS
+ _Z9LibEntryLv @ 1 NONAME
+ _Z15SetRequirementsRP16CTestModuleParamRm @ 2 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/network_status_api/group/NS.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/appsupport/network_status_api/group/NS.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,18 @@
+
+
+Network Status API
+STIF
+
+The tests involve the AppSup Network Status API
+
+
+
+ -testmodule NetworkStatusTest
+
+
+ 1
+ c:\Logs\TestFramework\TestReport.txte:\BCTest\results\AppSupport_NetworkStatus.txt
+
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/network_status_api/sis/AppSup_NWStatus.SIS
Binary file apicompatanamdw/bcdrivers/mw/appsupport/network_status_api/sis/AppSup_NWStatus.SIS has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/network_status_api/sis/AppSup_NWStatus.pkg
--- a/apicompatanamdw/bcdrivers/mw/appsupport/network_status_api/sis/AppSup_NWStatus.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"SystemSW_NetworkStatus"},(0x10282C9A),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-"\Epoc32\Release\armv5\urel\NetworkStatusTest.dll"-"!:\sys\bin\NetworkStatusTest.dll"
-"\Epoc32\winscw\c\TestFramework\Testframework_NetworkStatus.ini"-"!:\TestFramework\Testframework_NetworkStatus.ini"
-"\Epoc32\winscw\c\ns.bat"-"!:\ns.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/Bmarm/ProEngWrapAPIU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/Bmarm/ProEngWrapAPIU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ LibEntryL__FR13CTestModuleIf @ 1 NONAME R3UNUSED ; LibEntryL(CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/Bwins/ProEngWrapAPIU.DEF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/Bwins/ProEngWrapAPIU.DEF Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ ?LibEntryL@@YAPAVCScriptBase@@AAVCTestModuleIf@@@Z @ 1 NONAME ; class CScriptBase * __cdecl LibEntryL(class CTestModuleIf &)
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/EABI/ProEngWrapAPIU.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/EABI/ProEngWrapAPIU.def Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z9LibEntryLR13CTestModuleIf @ 1 NONAME
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/group/ProEng.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/group/ProEng.xml Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,19 @@
+
+
+Profiles Engine Wrapper API
+STIF
+
+The tests involve the AppSup Profiles Engine Wrapper API
+
+
+
+C:\TestFramework\testframework_ProEngWrapAPI.iniC:\TestFramework\TestFramework.ini
+ -testmodule testscripter -config C:\TestFramework\ProEngWrapAPI.cfg -engineini C:\TestFramework\TestFramework.ini
+
+
+ 60
+ c:\Logs\TestFramework\TestReport.txte:\BCTest\results\AppSupport_ProEngWrapAPI.txt
+
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/group/proeng.bat
--- a/apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/group/proeng.bat Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@rem
-@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-@rem All rights reserved.
-@rem This component and the accompanying materials are made available
-@rem under the terms of "Eclipse Public License v1.0"
-@rem which accompanies this distribution, and is available
-@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
-@rem
-@rem Initial Contributors:
-@rem Nokia Corporation - initial contribution.
-@rem
-@rem Contributors:
-@rem
-@rem Description:
-@rem
-
-copy C:\TestFramework\testframework_ProEngWrapAPI.ini C:\TestFramework\TestFramework.ini
-md e:\BCTest
-md e:\BCTest\Results
-
-ATSINTERFACE.EXE -testmodule testscripter -config C:\TestFramework\ProEngWrapAPI.cfg
-copy c:\Logs\TestFramework\TestReport.txt e:\BCTest\results\AppSupport_ProEngWrapAPI.txt
-
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/sis/AppSup_PROENG.pkg
--- a/apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/sis/AppSup_PROENG.pkg Mon May 03 11:57:22 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;
-; Languages
-; none - English only by default
-&EN
-
-; Installation header
-; Only one component name as we only support English
-; UID is the main app's UID
-
-#{"SP_ProEngWrapAPI"},(0x20015A1D),1,0,0,TYPE=SA
-[0x101F7961],3,*,*,{"Series60ProductID"}
-
-; Non-localised vendor name
-:"Nokia Corporation"
-
-; Localised vendor names
-%{"Nokia Corporation"}
-
-; Files to install and to where
-
-"\Epoc32\Release\armv5\urel\ProEngWrapAPI.dll"-"!:\sys\bin\ProEngWrapAPI.dll"
-"\Epoc32\winscw\c\testframework\testframework_ProEngWrapAPI.ini"-"!:\TestFramework\testframework_ProEngWrapAPI.ini"
-"\Epoc32\winscw\c\testframework\ProEngWrapAPI.cfg"-"!:\TestFramework\ProEngWrapAPI.cfg"
-"\epoc32\winscw\c\proeng.bat"-"!:\proeng.bat"
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/sis/AppSup_PROENG.sis
Binary file apicompatanamdw/bcdrivers/mw/appsupport/profiles_engine_wrapper_api/sis/AppSup_PROENG.sis has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/group/bld.inf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/group/bld.inf Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,22 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+#include "../uifw/group/bld.inf"
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/aif/bctestaknsound_lst.bmp
Binary file apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/aif/bctestaknsound_lst.bmp has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/aif/bctestaknsound_lst_mask.bmp
Binary file apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/aif/bctestaknsound_lst_mask.bmp has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/aif/bctestaknsoundaif.rss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/aif/bctestaknsoundaif.rss Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,32 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: RSS for creating the aif file
+*
+*/
+
+
+#include
+
+#include "bctestaknsound.loc"
+
+RESOURCE AIF_DATA
+ {
+ app_uid = 0x101F84B0;
+ groupName= qtn_group_name;
+ num_icons = 2;
+ embeddability=KAppNotEmbeddable;
+ newfile=KAppDoesNotSupportNewFile;
+ }
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/aif/bctestaknsoundsmallicon.bmp
Binary file apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/aif/bctestaknsoundsmallicon.bmp has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/aif/bctestaknsoundsmalliconmask.bmp
Binary file apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/aif/bctestaknsoundsmalliconmask.bmp has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/datasrc/sampleicon.bmp
Binary file apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/datasrc/sampleicon.bmp has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/datasrc/sampleiconmask.bmp
Binary file apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/datasrc/sampleiconmask.bmp has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/group/bctestaknsound.mmp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/group/bctestaknsound.mmp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,94 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: project specification file for the BCTestAknsound.
+*
+*/
+
+
+TARGET bctestaknsound.exe
+TARGETTYPE exe
+UID 0x0 0x200045C8
+
+VENDORID 0x101FB657
+CAPABILITY NetworkServices LocalServices Location ReadUserData \
+ WriteUserData ReadDeviceData WriteDeviceData SwEvent UserEnvironment
+
+TARGETPATH sys/bin
+
+EPOCSTACKSIZE 0x10000
+EPOCHEAPSIZE 0x10000 0x1000000
+
+START RESOURCE bctestaknsound.rss
+HEADER
+TARGETPATH resource/apps
+END // RESOURCE
+
+//LANG 01
+
+SOURCEPATH ../Src
+SOURCE bctestaknsoundapp.cpp
+SOURCE bctestaknsounddocument.cpp
+SOURCE bctestaknsoundappui.cpp
+SOURCE bctestaknsoundview.cpp
+SOURCE bctestaknsoundcontainer.cpp
+SOURCE bctestaknsoundinfocase.cpp
+SOURCE bctestaknsoundsystemcase.cpp
+
+USERINCLUDE . ../Inc
+USERINCLUDE ../../../bctestutil/inc
+
+SYSTEMINCLUDE . /epoc32/include
+
+LIBRARY euser.lib
+LIBRARY apparc.lib
+LIBRARY cone.lib
+LIBRARY eikcore.lib
+LIBRARY eikcoctl.lib
+LIBRARY avkon.lib
+LIBRARY ws32.lib
+LIBRARY AknSkins.lib
+LIBRARY apgrfx.lib
+LIBRARY bctestutil.lib
+LIBRARY efsrv.lib
+
+// Creates Mbm file.
+START BITMAP bctestaknsound.mbm
+HEADER
+TARGETPATH /resource/apps
+SOURCEPATH ../DataSrc
+SOURCE C8 SampleIcon.bmp
+SOURCE C8 SampleIconMask.bmp
+END
+
+// Changes for Scalable UI:
+// New registration resource defined.
+// else Normal AIF will work.
+
+START RESOURCE ../group/bctestaknsound_reg.rss
+HEADER
+TARGETPATH /private/10003a3f/apps
+END
+
+// Creates Mbm file.
+START BITMAP bctestaknsound_Aif.mbm
+HEADER
+TARGETPATH /resource/apps
+sourcepath ../aif
+source c8 bctestaknsoundsmallicon.bmp
+source c8 bctestaknsoundsmalliconmask.bmp
+source c8 bctestaknsound_lst.bmp
+source c8 bctestaknsound_lst_mask.bmp
+end
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/group/bctestaknsound.rss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/group/bctestaknsound.rss Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,230 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: resources for the module
+*
+*/
+
+
+// RESOURCE IDENTIFIER
+NAME SUND
+
+// INCLUDES
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include "bctestaknsound.hrh"
+#include "bctestaknsound.loc"
+#include "bctestaknsound_01.loc"
+
+// CONSTANTS
+#define APP_BITMAP_DIR "\\resource\\apps"
+#define AVKON_BMP_FILENAME AVKON_ICON_FILE
+#define BCTESTAKNSound_BMP_FNAME APP_BITMAP_DIR"\\BCTestAknSound.mbm"
+
+
+// MACROS
+
+
+
+// RESOURCE DEFINITIONS
+//-----------------------------------------------------------------------------
+//
+// RSS_SIGNATURE
+//
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE RSS_SIGNATURE
+ {
+ }
+
+//-----------------------------------------------------------------------------
+//
+// TBUF16
+//
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE TBUF16
+ {
+ buf = qtn_sound_buf;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// EIK_APP_INFO
+//
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE EIK_APP_INFO
+ {
+ menubar = r_bctestaknsound_menubar_main;
+ cba = r_bctestaknsound_cba_options_next;
+ }
+
+// ---------------------------------------------------------
+// Provide Caption and Icon Info for Scalable UI
+//
+// ---------------------------------------------------------
+//
+RESOURCE LOCALISABLE_APP_INFO r_bctestaknsound_localisable_app_info
+ {
+ short_caption = qtn_apps_tavl_grid;
+
+ caption_and_icon =
+ CAPTION_AND_ICON_INFO
+ {
+ caption = qtn_apps_tavl_list;
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestaknsound_view
+// AVKON_VIEW for CBCTestAknSoundView
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_bctestaknsound_view
+ {
+ menubar = r_bctestaknsound_menubar_main;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestaknskey_list
+// AVKON_SKEY_LIST for CBCTestAknSoundSystemCase
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_SOUND_INFO_LIST r_bctestaknsinfo_list
+ {
+ list =
+ {
+ AVKON_SOUND_INFO
+ {
+ sid = EAvkonSIDNoSound;
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestaknsound_menubar
+// MenuBar
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_BAR r_bctestaknsound_menubar_main
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_bctestaknsound_menu;
+ },
+ MENU_TITLE
+ {
+ menu_pane = r_bctestaknsound_case_menu;
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestaknSound_case_menu
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestaknsound_case_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EBCTestCmdOutline1;
+ txt = qtn_bctestaknsound_outline1;
+ },
+
+ MENU_ITEM
+ {
+ command = EBCTestCmdOutline2;
+ txt = qtn_bctestaknsound_outline2;
+ }
+
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestaknSound_menu
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestaknsound_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EProgCmdAutoTest;
+ txt = qtn_bctestaknsound_autotest;
+ },
+ MENU_ITEM // Menu "Exit"
+ {
+ command = EAknCmdExit;
+ txt = qtn_bctestaknsound_menu_exit;
+ }
+ };
+ }
+
+// ----------------------------------------------------------------------------
+//
+// r_bctestaknsound_cba_options_next
+// ?description
+//
+// ----------------------------------------------------------------------------
+//
+
+RESOURCE CBA r_bctestaknsound_cba_options_next
+ {
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id=EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = EBCTestAknSoundCbaCmdNext;
+ txt = qtn_bctestaknsound_cba_next;
+ }
+ };
+ }
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/group/bctestaknsound_reg.rss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/group/bctestaknsound_reg.rss Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,35 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+#include
+#include
+
+#include "bctestaknsound.loc"
+
+UID2 KUidAppRegistrationResourceFile
+UID3 0x200045C8 // application UID
+
+RESOURCE APP_REGISTRATION_INFO
+ {
+ app_file = qtn_app_file;
+ localisable_resource_file = qtn_localisable_file;
+ localisable_resource_id = R_BCTESTAKNSOUND_LOCALISABLE_APP_INFO;
+ hidden = KAppIsHidden;
+ embeddability = KAppNotEmbeddable;
+ group_name = qtn_group_name;
+ }
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/group/bld.inf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/group/bld.inf Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,25 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: build information
+*
+*/
+
+
+
+
+PRJ_MMPFILES
+
+BCTestAknSound.mmp
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsound.hrh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsound.hrh Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,38 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: BCTestAknSound resource header file
+*
+*/
+
+
+#ifndef BCTESTAKNSOUND_HRH
+#define BCTESTAKNSOUND_HRH
+
+enum TBCTestAknSoundMenuCommands
+ {
+ EBCTestCmdEmptyOutline = 0x6000,
+ EBCTestCmdOutline1,
+ EBCTestCmdOutline2,
+ EBCTestCmdMaxOutline,
+ EProgCmdAutoTest
+ };
+
+enum TBCTestAknSoundCba
+ {
+ EBCTestAknSoundCbaCmdNext = 0x6300
+ };
+
+#endif // BCTESTAKNSOUND_HRH
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsound.loc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsound.loc Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: BCTestAknSound localise file
+*
+*/
+
+
+// LOCALISATION STRINGS
+
+// Caption
+#define qtn_apps_tavl_list "BCTESTAKNSOUND"
+#define qtn_apps_tavl_grid "BCTESTAKNSOUND"
+
+#define qtn_group_name "BCTest"
+#define qtn_sound_buf "AKnSound"
+#define qtn_app_file "BCTestAknSound"
+#define qtn_localisable_file "\\resource\\apps\\BCTestAknSound"
+
+
+// MenuBar
+#define qtn_bctestaknsound_menubar "Option"
+#define qtn_bctestaknsound_cba_next "Next"
+#define qtn_bctestaknsound_autotest "Autotest"
+#define qtn_bctestaknsound_menu_exit "Exit"
+
+// softkey
+#define text_softkey_option "Options"
+
+// outline
+#define qtn_bctestaknsound_outline1 "Outline01"
+#define qtn_bctestaknsound_outline2 "Outline02"
+
+
+#define qtn_bctestaknsound_label_outline06 \
+"Press 2/8 <-, ->\nor side volume keys\nto see AknVolumePopup\n0,1 to change label"
+
+// Application name
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsound_01.loc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsound_01.loc Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,24 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: BCTestAknSound localise file
+*
+*/
+
+
+#include "bctestaknsound.loc"
+
+// LOCALISATION STRINGS
+
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsoundapp.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsoundapp.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,56 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Declares main application class.
+*
+*/
+
+
+#ifndef C_CBCTESTAKNSOUNDAPP_H
+#define C_CBCTESTAKNSOUNDAPP_H
+
+// INCLUDES
+#include
+
+// CONSTANTS
+const TUid KUidBCTestAknSound = { 0x200045C8 }; // UID of the application.
+
+// CLASS DECLARATION
+
+/**
+* CBCTestAknSoundApp application class.
+* Provides factory to create concrete document object.
+*/
+class CBCTestAknSoundApp : public CAknApplication
+ {
+ private: // From CApaApplication
+
+ /**
+ * From CApaApplication, CreateDocumentL.
+ * Creates CBCTestAknSoundDocument document object.
+ * @return A pointer to the created document object.
+ */
+ CApaDocument* CreateDocumentL();
+
+ /**
+ * From CApaApplication, AppDllUid.
+ * Returns application's UID ( KUidBCTestAknSound ).
+ * @return The value of KUidBCTestAknSound.
+ */
+ TUid AppDllUid() const;
+
+ };
+
+#endif
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsoundappUi.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsoundappUi.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,66 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test BC for Template control API.
+*
+*/
+
+
+#ifndef C_CBCTESTAKNSOUNDAPPUI_H
+#define C_CBCTESTAKNSOUNDAPPUI_H
+
+#include
+
+class CBCTestAknSoundView;
+
+/**
+ * Application UI class
+ *
+ * @lib bctestutil.lib
+ */
+class CBCTestAknSoundAppUi : public CAknViewAppUi
+ {
+ public: // Constructors and destructor
+
+ /**
+ * ctor
+ */
+ CBCTestAknSoundAppUi();
+
+ /**
+ * symbian 2nd ctor
+ */
+ void ConstructL();
+
+ /**
+ * dtor
+ */
+ virtual ~CBCTestAknSoundAppUi();
+
+ private:
+
+ /**
+ * From CEikAppUi
+ */
+ void HandleCommandL( TInt aCommand );
+
+ private: // data
+
+ /**
+ * pointor to the view.
+ * own
+ */
+ CBCTestAknSoundView* iView;
+ };
+
+#endif // C_CBCTESTAKNSOUNDAPPUI_H
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsoundcontainer.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsoundcontainer.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,90 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: container
+*
+*/
+
+#ifndef C_CBCTESTAKNSOUNDCONTAINER_H
+#define C_CBCTESTAKNSOUNDCONTAINER_H
+
+#include
+
+/**
+* container class
+*/
+class CBCTestAknSoundContainer: public CCoeControl
+ {
+public: // constructor and destructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestAknSoundContainer();
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestAknSoundContainer();
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL( const TRect& aRect );
+
+public: // new functions
+
+ /**
+ * Set component control, and container will own the control
+ * @param aControl pointer to a control.
+ */
+ void SetControl( CCoeControl* aControl );
+
+ /**
+ * Delete control
+ */
+ void ResetControl();
+
+public: // from CCoeControl
+
+ /**
+ * Return count of component controls
+ */
+ TInt CountComponentControls() const;
+
+ /**
+ * Return pointer to component control specified by index
+ * @param aIndex, a index to specify a component control
+ */
+ CCoeControl* ComponentControl( TInt aIndex ) const;
+
+private: // from CCoeControl
+
+ /**
+ * From CCoeControl, Draw.
+ * Fills the window's rectangle.
+ * @param aRect Region of the control to be (re)drawn.
+ */
+ void Draw( const TRect& aRect ) const;
+
+private: // data
+
+ /**
+ * Pointer to component control.
+ * own
+ */
+ CCoeControl* iControl;
+
+ };
+
+#endif // C_CBCTESTAKNSOUNDCONTAINER_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsounddocument.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsounddocument.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,71 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+#ifndef C_CBCTESTAKNSOUNDDOCUMENT_H
+#define C_CBCTESTAKNSOUNDDOCUMENT_H
+
+// INCLUDES
+#include
+
+// CONSTANTS
+
+// FORWARD DECLARATIONS
+class CEikAppUi;
+
+// CLASS DECLARATION
+
+/**
+* CBCTestAknSoundDocument application class.
+*/
+class CBCTestAknSoundDocument : public CEikDocument
+ {
+ public: // Constructors and destructor
+
+ /**
+ * Symbian OS two-phased constructor.
+ * @return Pointer to created Document class object.
+ * @param aApp Reference to Application class object.
+ */
+ static CBCTestAknSoundDocument* NewL( CEikApplication& aApp );
+
+ /**
+ * Destructor.
+ */
+ virtual ~CBCTestAknSoundDocument();
+
+ private: // Constructors
+
+ /**
+ * Overload constructor.
+ * @param aApp Reference to Application class object.
+ */
+ CBCTestAknSoundDocument( CEikApplication& aApp );
+
+ private: // From CEikDocument
+
+ /**
+ * From CEikDocument, CreateAppUiL.
+ * Creates CBCTestAknSoundAppUi "App UI" object.
+ * @return Pointer to created AppUi class object.
+ */
+ CEikAppUi* CreateAppUiL();
+
+ };
+
+#endif // C_CBCTESTAKNSOUNDDOCUMENT_H
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsoundinfocase.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsoundinfocase.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,86 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef C_CBCTESTAKNSOUNDINFOCASE_H
+#define C_CBCTESTAKNSOUNDINFOCASE_H
+
+#include "bctestcase.h"
+
+class CBCTestAknSoundContainer;
+class CCoeControl;
+
+/**
+* test case for various list classes
+*/
+class CBCTestAknSoundInfoCase: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestAknSoundInfoCase* NewL( CBCTestAknSoundContainer* aContainer );
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestAknSoundInfoCase();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Test functions
+ */
+ void TestFunctionL();
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestAknSoundInfoCase( CBCTestAknSoundContainer* aContainer );
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+private: // data
+
+ /**
+ * Pointer to container.
+ * not own
+ */
+ CBCTestAknSoundContainer* iContainer;
+
+ };
+
+#endif // C_CBCTESTAKNSOUNDINFOCASE_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsoundsystemcase.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsoundsystemcase.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,86 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef C_CBCTESTAKNSOUNDSYSTEMCASE_H
+#define C_CBCTESTAKNSOUNDSYSTEMCASE_H
+
+#include "bctestcase.h"
+
+class CBCTestAknSoundContainer;
+class CCoeControl;
+
+/**
+* test case for various list classes
+*/
+class CBCTestAknSoundSystemCase: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestAknSoundSystemCase* NewL( CBCTestAknSoundContainer* aContainer );
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestAknSoundSystemCase();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Test functions
+ */
+ void TestFunctionL();
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestAknSoundSystemCase( CBCTestAknSoundContainer* aContainer );
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+private: // data
+
+ /**
+ * Pointer to container.
+ * not own
+ */
+ CBCTestAknSoundContainer* iContainer;
+
+ };
+
+#endif // C_CBCTESTAKNSOUNDSYSTEMCASE_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsoundview.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/inc/bctestaknsoundview.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,102 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test BC for Template control API.
+*
+*/
+
+
+#ifndef C_CBCTESTAKNSOUNDVIEW_H
+#define C_CBCTESTAKNSOUNDVIEW_H
+
+#include
+
+const TUid KBCTestAknSoundViewId = { 1 };
+
+class CBCTestAknSoundContainer;
+class CBCTestUtil;
+
+/**
+ * Application UI class
+ *
+ * @lib bctestutil.lib
+ */
+class CBCTestAknSoundView : public CAknView
+ {
+public: // Constructors and destructor
+
+ /**
+ * Symbian static 2nd constructor
+ */
+ static CBCTestAknSoundView* NewL();
+
+ /**
+ * dtor
+ */
+ virtual ~CBCTestAknSoundView();
+
+public: // from CAknView
+
+ /**
+ * Return view Id.
+ */
+ TUid Id() const;
+
+ /**
+ * From CAknView, HandleCommandL.
+ * @param aCommand Command to be handled.
+ */
+ void HandleCommandL( TInt aCommand );
+
+protected: // from CAknView
+
+ /**
+ * When view is activated, do something
+ */
+ void DoActivateL( const TVwsViewId&, TUid, const TDesC8& );
+
+ /**
+ * When view is deactivated, do something
+ */
+ void DoDeactivate();
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestAknSoundView();
+
+ /**
+ * symbian 2nd ctor
+ */
+ void ConstructL();
+
+private: // data
+
+ /**
+ * pointor to the BC Test framework utility.
+ * own
+ */
+ CBCTestUtil* iTestUtil;
+
+ /**
+ * pointor to the container.
+ * own
+ */
+ CBCTestAknSoundContainer* iContainer;
+
+ };
+
+#endif // C_CBCTESTAKNSOUNDVIEW_H
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/sis/bctestaknsound.pkg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/sis/bctestaknsound.pkg Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,54 @@
+;
+; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;
+; BCTestAknSound-3.pkg
+
+; Languages
+&EN
+
+; Header
+#{"UIFW_BCTestAknSound"},(0x200045C8),1,0,0,TYPE=SA
+
+; List of localised vendor names
+%{"Vendor-EN"}
+
+; The non-localised, globally unique vendor name (mandatory)
+:"Nokia OY"
+
+;Supports Series 60 v 3.0
+;This line indicates that this installation is for the Series 60 platform v3.0
+;This line must appear _exactly_ as shown below in the sis file
+;If this line is missing or incorrect, the sis file will not be able
+;to be installed on Series 60 v3.0 platforms
+(0x101F7961), 0, 0, 0, {"Series60ProductID"}
+
+; Target
+"\epoc32\release\armv5\urel\BCTestAknSound.exe"-
+"!:\sys\bin\BCTestAknSound.exe"
+
+"\epoc32\data\z\resource\apps\BCTestAknSound.RSC"-
+"!:\resource\apps\BCTestAknSound.RSC"
+
+"\epoc32\data\z\resource\apps\BCTestAknSound_aif.mbm"-
+"!:\resource\apps\BCTestAknSound_aif.mbm"
+
+"\epoc32\data\z\resource\apps\BCTestAknSound.mbm"-
+"!:\resource\apps\BCTestAknSound.mbm"
+
+"\epoc32\data\z\PRIVATE\10003A3F\APPS\BCTestAknSound_reg.RSC"-
+"!:\PRIVATE\10003A3F\import\APPS\BCTestAknSound_reg.RSC"
+
+; bctestutil must be installed
+(0x20004742), 1, 10, 0, {"bctestutil.dll"}
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsoundapp.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsoundapp.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,64 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Avkon Sound test app
+*
+*/
+
+
+// INCLUDE FILES
+#include "bctestaknsoundapp.h"
+#include "bctestaknsounddocument.h"
+#include
+
+// ================= MEMBER FUNCTIONS =========================================
+
+// ----------------------------------------------------------------------------
+// TUid CBCTestAknSoundApp::AppDllUid()
+// Returns application UID.
+// ----------------------------------------------------------------------------
+//
+TUid CBCTestAknSoundApp::AppDllUid() const
+ {
+ return KUidBCTestAknSound;
+ }
+
+// ----------------------------------------------------------------------------
+// CApaDocument* CBCTestAknSoundApp::CreateDocumentL()
+// Creates CBCTestAknSoundDocument object.
+// ----------------------------------------------------------------------------
+//
+CApaDocument* CBCTestAknSoundApp::CreateDocumentL()
+ {
+ return CBCTestAknSoundDocument::NewL( *this );
+ }
+
+// ================= OTHER EXPORTED FUNCTIONS =================================
+//
+// ----------------------------------------------------------------------------
+// CApaApplication* NewApplication()
+// Constructs CBCTestAknSoundApp.
+// Returns: CApaDocument*: created application object
+// ----------------------------------------------------------------------------
+//
+LOCAL_C CApaApplication* NewApplication()
+ {
+ return new CBCTestAknSoundApp;
+ }
+
+GLDEF_C TInt E32Main()
+ {
+ return EikStart::RunApplication(NewApplication);
+ }
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsoundappui.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsoundappui.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,81 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test bc for template control api(s)
+*
+*/
+
+#include
+#include
+
+#include "bctestaknsoundappui.h"
+#include "bctestaknsound.hrh"
+#include "bctestaknsoundview.h"
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// ctro do nothing
+// ---------------------------------------------------------------------------
+//
+CBCTestAknSoundAppUi::CBCTestAknSoundAppUi()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// symbian 2nd phase ctor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundAppUi::ConstructL()
+ {
+ BaseConstructL();
+ AknsUtils::SetAvkonSkinEnabledL( ETrue );
+
+ // init view
+ CBCTestAknSoundView* view = CBCTestAknSoundView::NewL();
+ CleanupStack::PushL( view );
+ AddViewL( view );
+ CleanupStack::Pop( view );
+
+ ActivateLocalViewL( view->Id() );
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestAknSoundAppUi::~CBCTestAknSoundAppUi()
+// Destructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknSoundAppUi::~CBCTestAknSoundAppUi()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// handle menu command events
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknSoundAppUi::HandleCommandL( TInt aCommand )
+ {
+ switch ( aCommand )
+ {
+ case EAknSoftkeyBack:
+ case EEikCmdExit:
+ {
+ Exit();
+ return;
+ }
+ default:
+ break;
+ }
+ }
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsoundcontainer.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsoundcontainer.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,114 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: container
+*
+*/
+
+
+#include "bctestaknsoundcontainer.h"
+
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// C++ default Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAknSoundContainer::CBCTestAknSoundContainer()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAknSoundContainer::~CBCTestAknSoundContainer()
+ {
+ ResetControl();
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundContainer::ConstructL( const TRect& aRect )
+ {
+ CreateWindowL();
+ SetRect( aRect );
+ ActivateL();
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestAknSoundContainer::Draw
+// Fills the window's rectangle.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknSoundContainer::Draw( const TRect& aRect ) const
+ {
+ CWindowGc& gc = SystemGc();
+ gc.SetPenStyle( CGraphicsContext::ENullPen );
+ gc.SetBrushColor( KRgbGray );
+ gc.SetBrushStyle( CGraphicsContext::ESolidBrush );
+ gc.DrawRect( aRect );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundContainer::CountComponentControls
+// ---------------------------------------------------------------------------
+//
+TInt CBCTestAknSoundContainer::CountComponentControls() const
+ {
+ if ( iControl )
+ {
+ return 1;
+ }
+ else
+ {
+ return 0;
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundContainer::ComponentControl
+// ---------------------------------------------------------------------------
+//
+CCoeControl* CBCTestAknSoundContainer::ComponentControl( TInt ) const
+ {
+ return iControl;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundContainer::SetControl
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundContainer::SetControl( CCoeControl* aControl )
+ {
+ iControl = aControl;
+ if ( iControl )
+ {
+ // You can change the position and size
+ iControl->SetExtent( Rect().iTl, Rect().Size() );
+ DrawNow();
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundContainer::ResetControl
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundContainer::ResetControl()
+ {
+ delete iControl;
+ iControl = NULL;
+ }
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsounddocument.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsounddocument.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,64 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Avkon Template test application
+*
+*/
+
+
+// INCLUDE FILES
+#include "bctestaknsounddocument.h"
+#include "bctestaknsoundappui.h"
+
+// ================= MEMBER FUNCTIONS =========================================
+
+// ----------------------------------------------------------------------------
+// CBCTestAknSoundDocument* CBCTestAknSoundDocument::NewL( CEikApplication& )
+// Symbian OS two-phased constructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknSoundDocument* CBCTestAknSoundDocument::NewL( CEikApplication& aApp )
+ {
+ CBCTestAknSoundDocument* self = new( ELeave ) CBCTestAknSoundDocument( aApp );
+ return self;
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestAknSoundDocument::~CBCTestAknSoundDocument()
+// Destructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknSoundDocument::~CBCTestAknSoundDocument()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestAknSoundDocument::CBCTestAknSoundDocument( CEikApplication& )
+// Overload constructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknSoundDocument::CBCTestAknSoundDocument( CEikApplication& aApp )
+ : CEikDocument( aApp )
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// CEikAppUi* CBCTestAknSoundDocument::CreateAppUiL()
+// Constructs CBCTestVolumeAppUi.
+// ----------------------------------------------------------------------------
+//
+CEikAppUi* CBCTestAknSoundDocument::CreateAppUiL()
+ {
+ return new( ELeave ) CBCTestAknSoundAppUi;
+ }
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsoundinfocase.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsoundinfocase.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,125 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+#include
+#include "bctestaknsoundinfocase.h"
+#include "bctestaknsoundcontainer.h"
+#include "bctestaknsound.hrh"
+
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAknSoundInfoCase* CBCTestAknSoundInfoCase::NewL(
+ CBCTestAknSoundContainer* aContainer )
+ {
+ CBCTestAknSoundInfoCase* self = new( ELeave ) CBCTestAknSoundInfoCase(
+ aContainer );
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAknSoundInfoCase::CBCTestAknSoundInfoCase(
+ CBCTestAknSoundContainer* aContainer )
+ : iContainer( aContainer )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAknSoundInfoCase::~CBCTestAknSoundInfoCase()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundInfoCase::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundCase::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundInfoCase::BuildScriptL()
+ {
+ // Add script as your need.
+ AddTestL( LeftCBA, KeyOK, TEND );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundCase::RunL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundInfoCase::RunL( TInt aCmd )
+ {
+ if ( aCmd < EBCTestCmdOutline1 || aCmd > EBCTestCmdOutline1 )
+ {
+ return;
+ }
+
+ switch ( aCmd )
+ {
+ case EBCTestCmdOutline1:
+ TestFunctionL();
+ break;
+ default:
+ break;
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundCase::TestFunctionL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundInfoCase::TestFunctionL()
+ {
+ // Test some API here
+ CAknSoundInfo *aknsoundinfo = CAknSoundInfo::NewL();
+ _LIT (KNewL, "BCTestAknSoundInfo::NewL");
+ AssertNotNullL( aknsoundinfo, KNewL);
+
+ RReadStream readstream;
+ aknsoundinfo->InternalizeL( readstream );
+ _LIT (KInternalizeL, "BCTestAknSoundInfo::InternalizeL");
+ AssertNotNullL( aknsoundinfo, KInternalizeL);
+
+ RWriteStream writestream;
+ aknsoundinfo->ExternalizeL( writestream );
+ _LIT (KExternalizeL, "BCTestAknSoundInfo::ExternalizeL");
+ AssertNotNullL( aknsoundinfo, KExternalizeL);
+ delete aknsoundinfo;
+ }
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsoundsystemcase.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsoundsystemcase.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,171 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include "bctestaknsoundsystemcase.h"
+#include "bctestaknsoundcontainer.h"
+#include "bctestaknsound.hrh"
+
+// Constant
+const TInt KUid = 100;
+const TInt KResourceId = 10;
+const TInt KSid = 20;
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAknSoundSystemCase* CBCTestAknSoundSystemCase::NewL(
+ CBCTestAknSoundContainer* aContainer )
+ {
+ CBCTestAknSoundSystemCase* self = new( ELeave ) CBCTestAknSoundSystemCase(
+ aContainer );
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAknSoundSystemCase::CBCTestAknSoundSystemCase(
+ CBCTestAknSoundContainer* aContainer )
+ : iContainer( aContainer )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAknSoundSystemCase::~CBCTestAknSoundSystemCase()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundSystemCase::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundSystemCase::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundSystemCase::BuildScriptL()
+ {
+ // Add script as your need.
+ AddTestL( LeftCBA, Down, KeyOK, TEND );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundSystemCase::RunL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundSystemCase::RunL( TInt aCmd )
+ {
+ if ( aCmd < EBCTestCmdOutline2 || aCmd > EBCTestCmdOutline2 )
+ {
+ return;
+ }
+
+ switch ( aCmd )
+ {
+ case EBCTestCmdOutline2:
+ TestFunctionL();
+ break;
+ default:
+ break;
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundSystemCase::TestFunctionL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundSystemCase::TestFunctionL()
+ {
+ // Test some API here
+ CAknKeySoundSystem *aknsoundsystem = CAknKeySoundSystem::NewL( KUid );
+ CleanupStack::PushL( aknsoundsystem );
+ _LIT ( KBCTestAknSoundSystem, "BCTestAknSound System NewL" );
+ AssertNotNullL( aknsoundsystem, KBCTestAknSoundSystem );
+
+ aknsoundsystem->PushContextL( KResourceId );
+ _LIT ( KInfoPushContext, "BCTestAknSound System PushContextL" );
+ AssertNotNullL( aknsoundsystem, KInfoPushContext);
+
+ aknsoundsystem->PopContext();
+ _LIT ( KInfoPopContext, "BCTestAknSound System PopContext" );
+ AssertNotNullL( aknsoundsystem, KInfoPopContext );
+
+ aknsoundsystem->PlaySound( 0x6000 );
+ _LIT ( KInfoKeyPlaySound, "BCTestAknSound System PlaySound" );
+ AssertNotNullL( aknsoundsystem, KInfoKeyPlaySound );
+
+ aknsoundsystem->PlaySound( KSid );
+ _LIT ( KInfoPlaySound, "BCTestAknSound System PlaySound2" );
+ AssertNotNullL( aknsoundsystem, KInfoPlaySound );
+
+ aknsoundsystem->AddAppSoundInfoListL( R_BCTESTAKNSINFO_LIST );
+ _LIT ( KAddSoundInfoList, "BCTestAknSound System AddAppSoundInfoListL" );
+ AssertNotNullL( aknsoundsystem, KAddSoundInfoList );
+
+ aknsoundsystem->BringToForeground();
+ _LIT ( KBringToForeground, "BCTestAknSound System BringToForeground" );
+ AssertNotNullL( aknsoundsystem, KBringToForeground );
+
+ aknsoundsystem->StopSound( KSid );
+ _LIT ( KStopSound, "BCTestAknSound System StopSound" );
+ AssertNotNullL( aknsoundsystem, KStopSound );
+
+ aknsoundsystem->LockContext();
+ _LIT ( KLockContext, "BCTestAknSound System LockContext" );
+ AssertNotNullL( aknsoundsystem, KLockContext );
+
+ aknsoundsystem->ReleaseContext();
+ _LIT ( KReleaseContext, "BCTestAknSound System ReleaseContext" );
+ AssertNotNullL( aknsoundsystem, KReleaseContext );
+
+ CAknSoundInfo *aknsoundinfo = CAknSoundInfo::NewL();
+ CleanupStack::PushL( aknsoundinfo );
+ _LIT ( KInfoCreate, "CAknSoundInfo is not NULL" );
+ AssertNotNullL( aknsoundinfo, KInfoCreate );
+ _LIT ( KSystemRequest, "AknSoundSystem RequestSoundInfoL" );
+
+ // The first parameter should not be less than 1000.
+ TInt sInfo = aknsoundsystem->RequestSoundInfoL( EAvkonSIDDefaultSound,
+ *aknsoundinfo );
+ AssertIntL( KErrNone, sInfo, KSystemRequest );
+ CleanupStack::PopAndDestroy( aknsoundinfo );
+
+ CleanupStack::PopAndDestroy(aknsoundsystem);
+ }
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsoundview.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestaknsound/src/bctestaknsoundview.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,136 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: view class
+*
+*/
+
+
+#include
+
+#include "bctestaknsound.hrh"
+#include
+#include "bctestaknsoundview.h"
+#include "bctestaknsoundcontainer.h"
+#include "bctestutil.h"
+#include "bctestaknsoundinfocase.h"
+#include "bctestaknsoundsystemcase.h"
+
+_LIT( KAknSoundInfoCase, "Avkon Sound Info test case" );
+_LIT( KAknSoundSystemCase, "Avkon Sound System test case" );
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAknSoundView* CBCTestAknSoundView::NewL()
+ {
+ CBCTestAknSoundView* self = new( ELeave ) CBCTestAknSoundView();
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAknSoundView::CBCTestAknSoundView()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundView::ConstructL()
+ {
+ BaseConstructL( R_BCTESTAKNSOUND_VIEW );
+
+ iContainer = new( ELeave ) CBCTestAknSoundContainer();
+ iContainer->SetMopParent( this );
+ iContainer->ConstructL( ClientRect() );
+ AppUi()->AddToStackL( *this, iContainer );
+ iContainer->MakeVisible( ETrue );
+
+ iTestUtil = CBCTestUtil::NewL();
+
+ // Add test case here.
+ iTestUtil->AddTestCaseL( CBCTestAknSoundInfoCase::NewL( iContainer ),
+ KAknSoundInfoCase );
+ iTestUtil->AddTestCaseL( CBCTestAknSoundSystemCase::NewL( iContainer ),
+ KAknSoundSystemCase );
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAknSoundView::~CBCTestAknSoundView()
+ {
+ if ( iContainer )
+ {
+ AppUi()->RemoveFromStack( iContainer );
+ }
+ delete iContainer;
+ delete iTestUtil;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundView::Id
+// ---------------------------------------------------------------------------
+//
+TUid CBCTestAknSoundView::Id() const
+ {
+ return KBCTestAknSoundViewId;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundView::DoActivateL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundView::DoActivateL( const TVwsViewId&, TUid, const TDesC8& )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundView::DoDeactivate
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundView::DoDeactivate()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAknSoundView::HandleCommandL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAknSoundView::HandleCommandL( TInt aCommand )
+ {
+ switch ( aCommand )
+ {
+ case EProgCmdAutoTest:
+ iTestUtil->RunL();
+ break;
+ default:
+ if ( aCommand > EBCTestCmdEmptyOutline &&
+ aCommand < EBCTestCmdMaxOutline )
+ {
+ iTestUtil->RunL( aCommand );
+ }
+ break;
+ }
+ }
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/group/bctestappfrm.mmp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/group/bctestappfrm.mmp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,82 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: project specification file for the BCTestappfrm.
+*
+*/
+
+
+TARGET bctestappfrm.exe
+TARGETTYPE exe
+UID 0x0 0x200045CC
+
+VENDORID 0x101FB657
+CAPABILITY NetworkServices LocalServices Location ReadUserData \
+ WriteUserData ReadDeviceData WriteDeviceData SwEvent UserEnvironment
+
+TARGETPATH sys/bin
+
+EPOCSTACKSIZE 0x10000
+EPOCHEAPSIZE 0x10000 0x1000000
+
+START RESOURCE bctestappfrm.rss
+HEADER
+TARGETPATH resource/apps
+END // RESOURCE
+
+//LANG 01
+
+SOURCEPATH ../Src
+SOURCE bctestappfrmapp.cpp
+SOURCE bctestappfrmdocument.cpp
+SOURCE bctestappfrmappui.cpp
+SOURCE bctestappfrmview.cpp
+SOURCE bctestappfrmcontainer.cpp
+SOURCE bctestaknapplication.cpp
+SOURCE bctestakndoc.cpp
+SOURCE bctesteikenvcase.cpp
+SOURCE bctestaknviewappui.cpp
+SOURCE bctesteikmobs.cpp
+SOURCE bctestvcurs.cpp
+SOURCE bctestappfrmaknappuicase.cpp
+SOURCE bctestappfrmaknviewcase.cpp
+SOURCE bctestappfrmeikappuicase.cpp
+SOURCE bctestappfrmeiksrvcase.cpp
+
+USERINCLUDE . ../Inc
+USERINCLUDE ../../../bctestutil/inc
+
+SYSTEMINCLUDE . /epoc32/include
+
+LIBRARY euser.lib
+LIBRARY apparc.lib
+LIBRARY cone.lib
+LIBRARY eikcore.lib
+LIBRARY eikcoctl.lib
+LIBRARY avkon.lib
+LIBRARY ws32.lib
+LIBRARY AknSkins.lib
+LIBRARY apgrfx.lib
+LIBRARY bctestutil.lib
+LIBRARY efsrv.lib
+
+// Changes for Scalable UI:
+// New registration resource defined.
+// else Normal AIF will work.
+
+START RESOURCE ../group/bctestappfrm_reg.rss
+HEADER
+TARGETPATH /private/10003a3f/apps
+END
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/group/bctestappfrm.rss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/group/bctestappfrm.rss Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,276 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: resources for the module
+*
+*/
+
+
+// RESOURCE IDENTIFIER
+NAME TEMP
+
+// INCLUDES
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include "bctestappfrm.hrh"
+#include "bctestappfrm.loc"
+
+// CONSTANTS
+#define APP_BITMAP_DIR "\\resource\\apps"
+#define AVKON_BMP_FILENAME AVKON_ICON_FILE
+#define BCTESTAPPFRM_BMP_FNAME APP_BITMAP_DIR"\\BCTestAppFrm.mbm"
+
+
+// MACROS
+
+
+
+// RESOURCE DEFINITIONS
+//-----------------------------------------------------------------------------
+//
+// RSS_SIGNATURE
+//
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE RSS_SIGNATURE
+ {
+ }
+
+//-----------------------------------------------------------------------------
+//
+// TBUF16
+//
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE TBUF16
+ {
+ buf = "AppFrm";
+ }
+
+//-----------------------------------------------------------------------------
+//
+// EIK_APP_INFO
+//
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE EIK_APP_INFO
+ {
+ menubar = r_bctestappfrm_menubar_main;
+ cba = r_bctestappfrm_cba_options_next;
+ }
+
+// ---------------------------------------------------------
+// Provide Caption and Icon Info for Scalable UI
+//
+// ---------------------------------------------------------
+//
+RESOURCE LOCALISABLE_APP_INFO r_bctestappfrm_localisable_app_info
+ {
+ short_caption = qtn_apps_tavl_grid;
+
+ caption_and_icon =
+ CAPTION_AND_ICON_INFO
+ {
+ caption = qtn_apps_tavl_list;
+ //number_of_icons = 2;
+ //icon_file = APP_BITMAP_DIR"\\BCTestAppFrm_aif.mbm";
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestappfrm_view
+// AVKON_VIEW for CBCTestAppFrmView
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_bctestappfrm_view
+ {
+ menubar = r_bctestappfrm_menubar_main;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestappfrm_menubar
+// MenuBar
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_BAR r_bctestappfrm_menubar_main
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_bctestappfrm_menu;
+ },
+ MENU_TITLE
+ {
+ menu_pane = r_bctestappfrm_case_menu;
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestappfrm_case_menu
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestappfrm_case_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EBCTestCmdApplication;
+ txt = "Test CAknApplication";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdDocument;
+ txt = "Test CAknDocument";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdViewAppUi;
+ txt = "Test CAknViewAppUi";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdEikMObserver;
+ txt = "Test MEikCmddObserver";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdVCursor;
+ txt = "Test Virtual Cursor";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdEikenv;
+ txt = "Test Eikenv";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestAknAppUi;
+ txt = qtn_bctestappfrm_aknappui;
+ },
+ MENU_ITEM
+ {
+ command = EBCTestAknView;
+ txt = qtn_bctestappfrm_aknview;
+ },
+ MENU_ITEM
+ {
+ command = EBCTestEikAppUi;
+ txt = qtn_bctestappfrm_eikappui;
+ },
+ MENU_ITEM
+ {
+ command = EBCTestEikSrv;
+ txt = qtn_bctestappfrm_eiksrv;
+ }
+
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestappfrm_menu
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestappfrm_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EProgCmdAutoTest;
+ txt = qtn_bctestappfrm_autotest;
+ },
+ MENU_ITEM // Menu "Exit"
+ {
+ command = EAknCmdExit;
+ txt = qtn_bctestappfrm_menu_exit;
+ }
+ };
+ }
+
+// ----------------------------------------------------------------------------
+//
+// r_bctestappfrm_eikonenv_message
+// Message Info
+//
+// ----------------------------------------------------------------------------
+//
+RESOURCE TBUF16 r_bctestappfrm_msginfo
+ {
+ buf = "Message";
+ }
+
+// ----------------------------------------------------------------------------
+//
+// r_bctestappfrm_eikonenv_busymessage
+// Busy Message Info
+//
+// ----------------------------------------------------------------------------
+//
+RESOURCE TBUF16 r_bctestappfrm_busymsginfo
+ {
+ buf = "Busy Message";
+ }
+
+
+// ----------------------------------------------------------------------------
+//
+// r_bctestappfrm_cba_options_next
+// ?description
+//
+// ----------------------------------------------------------------------------
+//
+
+RESOURCE CBA r_bctestappfrm_cba_options_next
+ {
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id=EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = EBCTestAppFrmCbaCmdNext;
+ txt = qtn_bctestappfrm_cba_next;
+ }
+ };
+ }
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/group/bctestappfrm_reg.rss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/group/bctestappfrm_reg.rss Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,36 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+#include
+#include
+
+UID2 KUidAppRegistrationResourceFile
+UID3 0x200045CC // application UID
+
+RESOURCE APP_REGISTRATION_INFO
+ {
+ app_file = "BCTestAppFrm";
+ localisable_resource_file = "\\resource\\apps\\BCTestAppFrm";
+ localisable_resource_id = R_BCTESTAPPFRM_LOCALISABLE_APP_INFO;
+ hidden = KAppIsHidden;
+ embeddability = KAppNotEmbeddable;
+ //newfile = KAppDoesNotSupportNewFile;
+ //launch = KAppLaunchInForeground;
+ group_name = "BCTest";
+ //default_screen_number = 2;
+ }
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/group/bld.inf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/group/bld.inf Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,25 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: build information
+*
+*/
+
+
+
+
+PRJ_MMPFILES
+
+BCTestAppFrm.mmp
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/StreamLogger.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/StreamLogger.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,124 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+//
+// just for simple use,
+// this file doesn't following any code convensions or symbian rules.
+//
+
+#ifndef __DLL_LOGGER_H__
+#define __DLL_LOGGER_H__
+
+#include // link against efsrv.lib
+#include
+
+#define CERR StreamLogger::begin()
+
+/**
+* usage: StreamLogger::begin()<<"your string"<FsSession();
+ if ( file.Open( fs, KLogFile, EFileWrite | EFileShareAny ) != KErrNone )
+ file.Create( fs, KLogFile, EFileWrite | EFileShareAny );
+
+ TInt pos=0; // this must be 0
+ file.Seek( ESeekEnd, pos );
+ }
+
+ ~LogFile(){
+ file.Close();
+ }
+
+ RFile& operator()(){ return file; }
+ private:
+ RFile file;
+ };
+
+public:
+ ~StreamLogger(){}
+
+ static StreamLogger& begin(){
+ StreamLogger* self = new (ELeave) StreamLogger;
+ return *self;
+ }
+
+ void suicide(){ delete this; }
+
+ StreamLogger& operator<<(const TDesC& aText){
+ LogFile file;
+
+ HBufC8* text = HBufC8::NewL( aText.Length() );
+ TPtr8 textPtr = text->Des();
+ textPtr.Copy( aText );
+ file().Write( *text );
+ delete text;
+
+ return *this;
+ }
+
+ StreamLogger& operator<<(TInt n){
+ LogFile file;
+
+ TInt i=1;
+ for(TInt v=n; v!=0; ++i, v/=10){}
+ HBufC* text = HBufC::NewL( i );
+ TPtr textPtr = text->Des();
+
+ _LIT(KFmt, "%d");
+ textPtr.Format( KFmt, n );
+ HBufC8* text8 = HBufC8::NewL( textPtr.Length() );
+ TPtr8 textPtr8 = text8->Des();
+ textPtr8.Copy(*text);
+
+ file().Write( *text8 );
+ delete text;
+ delete text8;
+
+ return *this;
+ }
+
+ StreamLogger& cr(){
+ LogFile file;
+ TBuf8<2> enter;
+ enter.Append( 13 );
+ enter.Append( 10 );
+ file().Write( enter );
+ return *this;
+ }
+
+ typedef StreamLogger& (*_Manipulator)(StreamLogger&);
+ StreamLogger& operator<<(_Manipulator op){ return op(*this); }
+
+private:
+ StreamLogger(){} //disable ctor
+};
+
+inline StreamLogger& end(StreamLogger& self){ self.suicide(); return self; }
+
+inline StreamLogger& endl(StreamLogger& self){ self.cr(); return self; }
+
+#endif //__FILE_LOGGER_H__
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestaknapplication.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestaknapplication.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,69 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test bc for the volume control API(s)
+*
+*/
+
+#ifndef C_TESTAKNAPPLICATION_H
+#define C_TESTAKNAPPLICATION_H
+
+#include "bctestcase.h"
+
+class CAknApplication;
+
+/**
+* test case for testing volume setting page.
+*/
+class CBCTestAknApplication: public CBCTestCase
+ {
+public:
+ /**
+ * symbian NewL
+ * @param aView, pointer to the active view
+ */
+ static CBCTestAknApplication* NewL();
+
+ /** dtor */
+ virtual ~CBCTestAknApplication();
+
+ /**
+ * from CBCTestCase
+ */
+ virtual void RunL(int aCmd);
+
+protected: // new
+ /** do necessary setup things. */
+ virtual void SetupL();
+
+ /** do necessary teardown things. */
+ virtual void TearDownL();
+
+ /** ctor */
+ CBCTestAknApplication();
+
+ /** symbian 2nd phase ctor */
+ void ConstructL();
+
+ /** build the necessary test scripts */
+ void BuildScriptL();
+
+ /** perform test */
+ void TestL();
+
+private:
+
+ void TestIniFileL(CAknApplication* aApp, RFs& aFs);
+ };
+
+#endif // C_TESTAKNAPPLICATION_H
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestakndoc.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestakndoc.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,65 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test bc for the volume control API(s)
+*
+*/
+
+#ifndef C_TESTAKNDOCUMENT_H
+#define C_TESTAKNDOCUMENT_H
+
+#include "bctestcase.h"
+
+/**
+* test case for testing volume setting page.
+*/
+class CBCTestAknDoc: public CBCTestCase
+ {
+public:
+ /**
+ * symbian NewL
+ * @param aView, pointer to the active view
+ */
+ static CBCTestAknDoc* NewL();
+
+ /** dtor */
+ virtual ~CBCTestAknDoc();
+
+ /**
+ * from CBCTestCase
+ */
+ virtual void RunL(int aCmd);
+
+protected: // new
+ /** do necessary setup things. */
+ virtual void SetupL();
+
+ /** do necessary teardown things. */
+ virtual void TearDownL();
+
+ /** ctor */
+ CBCTestAknDoc();
+
+ /** symbian 2nd phase ctor */
+ void ConstructL();
+
+ /** build the necessary test scripts */
+ void BuildScriptL();
+
+ /** perform test */
+ void TestL();
+
+private:
+ };
+
+#endif // C_TESTAKNDOCUMENT_H
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestaknviewappui.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestaknviewappui.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,80 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test bc for the volume control API(s)
+*
+*/
+
+#ifndef C_TESTAKNVIEWAPPUI_H
+#define C_TESTAKNVIEWAPPUI_H
+
+#include "bctestcase.h"
+
+class CAknViewAppUi;
+
+/**
+* test case for testing volume setting page.
+*/
+class CBCTestAknViewAppUi: public CBCTestCase
+ {
+public:
+ /**
+ * symbian NewL
+ * @param aView, pointer to the active view
+ */
+ static CBCTestAknViewAppUi* NewL(CAknViewAppUi* aUI, TUid aViewID);
+
+ /** dtor */
+ virtual ~CBCTestAknViewAppUi();
+
+ /**
+ * from CBCTestCase
+ */
+ virtual void RunL(int aCmd);
+
+protected: // new
+ /** do necessary setup things. */
+ virtual void SetupL();
+
+ /** do necessary teardown things. */
+ virtual void TearDownL();
+
+ /** ctor */
+ CBCTestAknViewAppUi(CAknViewAppUi* aUI, TUid aViewID);
+
+ /** symbian 2nd phase ctor */
+ void ConstructL();
+
+ /** build the necessary test scripts */
+ void BuildScriptL();
+
+ /** perform test */
+ void TestL();
+
+ void TestActiateViewL();
+
+ void TestViewFacilityL();
+
+ void TestSplitViewL();
+
+ void TestOthersL();
+
+private:
+
+//data
+
+ CAknViewAppUi* iUI; //not own
+ TUid iViewID;
+ };
+
+#endif // C_TESTAKNVIEWAPPUI_H
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrm.hrh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrm.hrh Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,48 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: BCTestAppFrm resource header file
+*
+*/
+
+
+#ifndef BCTESTAPPFRM_HRH
+#define BCTESTAPPFRM_HRH
+
+enum TBCTestAppFrmMenuCommands
+ {
+ EBCTestCmdEmptyOutline = 0x6000,
+ EBCTestCmdOutline1,
+ EBCTestCmdApplication,
+ EBCTestCmdDocument,
+ EBCTestCmdViewAppUi,
+ EBCTestCmdEikMObserver,
+ EBCTestCmdVCursor,
+ EBCTestCmdEikenv,
+ EBCTestAknAppUi,
+ EBCTestAknView,
+ EBCTestEikAppUi,
+ EBCTestEikSrv,
+
+ EBCTestCmdMaxOutline,
+ EProgCmdAutoTest
+ };
+
+enum TBCTestAppFrmCba
+ {
+ EBCTestAppFrmCbaCmdNext = 0x6300
+ };
+
+#endif // BCTESTAPPFRM_HRH
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrm.loc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrm.loc Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,47 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: BCTestAppFrm localise file
+*
+*/
+
+
+// LOCALISATION STRINGS
+
+// Caption
+#define qtn_apps_tavl_list "BCTESTAPPFRM"
+#define qtn_apps_tavl_grid "BCTESTAPPFRM"
+
+// MenuBar
+#define qtn_bctestappfrm_menubar "Option"
+#define qtn_bctestappfrm_cba_next "Next"
+#define qtn_bctestappfrm_autotest "Autotest"
+#define qtn_bctestappfrm_menu_exit "Exit"
+
+// softkey
+#define text_softkey_option "Options"
+
+// outline
+#define qtn_bctestappfrm_outline1 "Outline01"
+#define qtn_bctestappfrm_outline2 "Outline02"
+
+#define qtn_bctestappfrm_aknappui "AknAppUi"
+#define qtn_bctestappfrm_aknview "AknView"
+#define qtn_bctestappfrm_eikappui "EikAppUi"
+#define qtn_bctestappfrm_eiksrv "EikSrv"
+
+#define qtn_bctestappfrm_label_outline06 \
+"Press 2/8 <-, ->\nor side volume keys\nto see AknVolumePopup\n0,1 to change label"
+
+// Application name
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmaknappuicase.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmaknappuicase.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,107 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef C_CBCTESTAPPFRMAKNAPPUICASE_H
+#define C_CBCTESTAPPFRMAKNAPPUICASE_H
+
+#include "bctestcase.h"
+
+class CBCTestAppFrmContainer;
+class CCoeControl;
+
+/**
+* test case for various list classes
+*/
+class CBCTestAppFrmAknAppUICase: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestAppFrmAknAppUICase* NewL( CBCTestAppFrmContainer* aContainer );
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestAppFrmAknAppUICase();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Create control or allocate resource for test
+ * @param aCmd UI command, maybe you need to do some work
+ * for different outline
+ */
+ void PrepareCaseL( TInt aCmd );
+
+ /**
+ * Release resource used in test
+ */
+ void ReleaseCaseL();
+
+ /**
+ * Test functions
+ */
+ void TestFunction();
+
+ void TestPublicFunction();
+
+ void TestProtectedAknAppUi();
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestAppFrmAknAppUICase( CBCTestAppFrmContainer* aContainer );
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+private: // data
+
+ /**
+ * Pointer to a control, maybe you need one in your test
+ * own
+ */
+ CCoeControl* iControl;
+
+ /**
+ * Pointer to container.
+ * not own
+ */
+ CBCTestAppFrmContainer* iContainer;
+
+ };
+
+#endif // C_CBCTESTAPPFRMAKNAPPUICASE_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmaknviewcase.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmaknviewcase.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,111 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef C_CBCTESTAPPFRMAKNVIEWCASE_H
+#define C_CBCTESTAPPFRMAKNVIEWCASE_H
+
+#include "bctestcase.h"
+#include "aknview.h"
+#include "bctestappfrmview.h"
+
+class CBCTestAppFrmContainer;
+class CCoeControl;
+
+/**
+* test case for various list classes
+*/
+class CBCTestAppFrmAknViewCase: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestAppFrmAknViewCase* NewL( CBCTestAppFrmContainer* aContainer ,CAknView* aView);
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestAppFrmAknViewCase();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Create control or allocate resource for test
+ * @param aCmd UI command, maybe you need to do some work
+ * for different outline
+ */
+ void PrepareCaseL( TInt aCmd );
+
+ /**
+ * Release resource used in test
+ */
+ void ReleaseCaseL();
+
+ /**
+ * Test functions
+ */
+ void TestFunction();
+
+ void TestPublicFunction();
+
+ void TestProtectedFunction();
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestAppFrmAknViewCase( CBCTestAppFrmContainer* aContainer ,CAknView* aView);
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+private: // data
+
+ /**
+ * Pointer to a control, maybe you need one in your test
+ * own
+ */
+ CCoeControl* iControl;
+
+ /**
+ * Pointer to container.
+ * not own
+ */
+ CBCTestAppFrmContainer* iContainer;
+
+ CAknView* iView;
+
+ };
+
+#endif // C_CBCTESTAPPFRMAKNVIEWCASE_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmapp.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmapp.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Declares main application class.
+*
+*/
+
+
+#ifndef C_CBCTESTAPPFRMAPP_H
+#define C_CBCTESTAPPFRMAPP_H
+
+// INCLUDES
+#include
+
+// CONSTANTS
+const TUid KUidBCTestAppFrm = { 0x200045CC }; // UID of the application.
+
+// CLASS DECLARATION
+
+/**
+* CBCTestAppFrmApp application class.
+* Provides factory to create concrete document object.
+*/
+class CBCTestAppFrmApp : public CAknApplication
+ {
+ public:
+ virtual void PreDocConstructL();
+
+ private: // From CApaApplication
+
+ /**
+ * From CApaApplication, CreateDocumentL.
+ * Creates CBCTestAppFrmDocument document object.
+ * @return A pointer to the created document object.
+ */
+ CApaDocument* CreateDocumentL();
+
+ /**
+ * From CApaApplication, AppDllUid.
+ * Returns application's UID ( KUidBCTestAppFrm ).
+ * @return The value of KUidBCTestAppFrm.
+ */
+ TUid AppDllUid() const;
+
+ };
+
+#endif
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmappUi.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmappUi.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,80 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test BC for Template control API.
+*
+*/
+
+
+#ifndef C_CBCTESTAPPFRMAPPUI_H
+#define C_CBCTESTAPPFRMAPPUI_H
+
+#include
+#include
+class CBCTestAppFrmView;
+
+/**
+ * Application UI class
+ *
+ * @lib bctestutil.lib
+ */
+class CBCTestAppFrmAppUi : public CAknViewAppUi
+ {
+ public: // Constructors and destructor
+
+ /**
+ * ctor
+ */
+ CBCTestAppFrmAppUi();
+
+ /**
+ * symbian 2nd ctor
+ */
+ void ConstructL();
+
+ /**
+ * dtor
+ */
+ virtual ~CBCTestAppFrmAppUi();
+
+// from CAknViewAppUi
+
+ void HandleStatusPaneSizeChange();
+//from CAknAppUi
+ void AppFrm_SetKeyBlockMode();
+
+//from CAknAppUiBase
+ void AppFrm_HandleStatusPaneSizeChange();
+
+ void AppFrm_HandleApplicationSpecificEventL(TInt aType,
+ const TWsEvent& aEvent);
+ void AppFrm_HandleScreenDeviceChangedL();
+
+ void AppFrm_ReplaceKeySoundsL(TInt aUid);
+ private:
+
+ /**
+ * From CEikAppUi
+ */
+ void HandleCommandL( TInt aCommand );
+
+ private: // data
+
+ /**
+ * pointor to the view.
+ * own
+ */
+ CBCTestAppFrmView* iView;
+ };
+
+#endif // C_CBCTESTAPPFRMAPPUI_H
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmcase.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmcase.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,104 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef C_CBCTESTAPPFRMCASE_H
+#define C_CBCTESTAPPFRMCASE_H
+
+#include "bctestcase.h"
+
+class CBCTestAppFrmContainer;
+class CCoeControl;
+
+/**
+* test case for various list classes
+*/
+class CBCTestAppFrmCase: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestAppFrmCase* NewL( CBCTestAppFrmContainer* aContainer );
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestAppFrmCase();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Create control or allocate resource for test
+ * @param aCmd UI command, maybe you need to do some work
+ * for different outline
+ */
+ void PrepareCaseL( TInt aCmd );
+
+ /**
+ * Release resource used in test
+ */
+ void ReleaseCaseL();
+
+ /**
+ * Test functions
+ */
+ void TestFunction();
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestAppFrmCase( CBCTestAppFrmContainer* aContainer );
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+private: // data
+
+ /**
+ * Pointer to a control, maybe you need one in your test
+ * own
+ */
+ CCoeControl* iControl;
+
+ /**
+ * Pointer to container.
+ * not own
+ */
+ CBCTestAppFrmContainer* iContainer;
+
+ };
+
+#endif // C_CBCTESTAPPFRMCASE_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmcontainer.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmcontainer.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,90 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: container
+*
+*/
+
+#ifndef C_CBCTESTAPPFRMCONTAINER_H
+#define C_CBCTESTAPPFRMCONTAINER_H
+
+#include
+
+/**
+* container class
+*/
+class CBCTestAppFrmContainer: public CCoeControl
+ {
+public: // constructor and destructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestAppFrmContainer();
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestAppFrmContainer();
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL( const TRect& aRect );
+
+public: // new functions
+
+ /**
+ * Set component control, and container will own the control
+ * @param aControl pointer to a control.
+ */
+ void SetControl( CCoeControl* aControl );
+
+ /**
+ * Delete control
+ */
+ void ResetControl();
+
+public: // from CCoeControl
+
+ /**
+ * Return count of component controls
+ */
+ TInt CountComponentControls() const;
+
+ /**
+ * Return pointer to component control specified by index
+ * @param aIndex, a index to specify a component control
+ */
+ CCoeControl* ComponentControl( TInt aIndex ) const;
+
+private: // from CCoeControl
+
+ /**
+ * From CCoeControl, Draw.
+ * Fills the window's rectangle.
+ * @param aRect Region of the control to be (re)drawn.
+ */
+ void Draw( const TRect& aRect ) const;
+
+private: // data
+
+ /**
+ * Pointer to component control.
+ * own
+ */
+ CCoeControl* iControl;
+
+ };
+
+#endif // C_CBCTESTAPPFRMCONTAINER_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmdocument.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmdocument.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,71 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+#ifndef C_CBCTESTAPPFRMDOCUMENT_H
+#define C_CBCTESTAPPFRMDOCUMENT_H
+
+// INCLUDES
+#include
+
+// CONSTANTS
+
+// FORWARD DECLARATIONS
+class CEikAppUi;
+
+// CLASS DECLARATION
+
+/**
+* CBCTestAppFrmDocument application class.
+*/
+class CBCTestAppFrmDocument : public CAknDocument
+ {
+ public: // Constructors and destructor
+
+ /**
+ * Symbian OS two-phased constructor.
+ * @return Pointer to created Document class object.
+ * @param aApp Reference to Application class object.
+ */
+ static CBCTestAppFrmDocument* NewL( CEikApplication& aApp );
+
+ /**
+ * Destructor.
+ */
+ virtual ~CBCTestAppFrmDocument();
+
+ private: // Constructors
+
+ /**
+ * Overload constructor.
+ * @param aApp Reference to Application class object.
+ */
+ CBCTestAppFrmDocument( CEikApplication& aApp );
+
+ private: // From CEikDocument
+
+ /**
+ * From CEikDocument, CreateAppUiL.
+ * Creates CBCTestAppFrmAppUi "App UI" object.
+ * @return Pointer to created AppUi class object.
+ */
+ CEikAppUi* CreateAppUiL();
+
+ };
+
+#endif // C_CBCTESTAPPFRMDOCUMENT_H
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmeikappuicase.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmeikappuicase.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,107 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef C_CBCTESTAPPFRMEIKAPPUICASE_H
+#define C_CBCTESTAPPFRMEIKAPPUICASE_H
+
+#include "bctestcase.h"
+
+class CBCTestAppFrmContainer;
+class CCoeControl;
+
+/**
+* test case for various list classes
+*/
+class CBCTestAppFrmEikAppUICase: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestAppFrmEikAppUICase* NewL( CBCTestAppFrmContainer* aContainer );
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestAppFrmEikAppUICase();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Create control or allocate resource for test
+ * @param aCmd UI command, maybe you need to do some work
+ * for different outline
+ */
+ void PrepareCaseL( TInt aCmd );
+
+ /**
+ * Release resource used in test
+ */
+ void ReleaseCaseL();
+
+ /**
+ * Test functions
+ */
+ void TestFunction();
+
+ void TestPublicFunction();
+
+ void TestProtectedFunction();
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestAppFrmEikAppUICase( CBCTestAppFrmContainer* aContainer );
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+private: // data
+
+ /**
+ * Pointer to a control, maybe you need one in your test
+ * own
+ */
+ CCoeControl* iControl;
+
+ /**
+ * Pointer to container.
+ * not own
+ */
+ CBCTestAppFrmContainer* iContainer;
+
+ };
+
+#endif // C_CBCTESTAPPFRMEIKAPPUICASE_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmeiksrvcase.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmeiksrvcase.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,107 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef C_CBCTESTAPPFRMEIKSRVCASE_H
+#define C_CBCTESTAPPFRMEIKSRVCASE_H
+
+#include "bctestcase.h"
+
+class CBCTestAppFrmContainer;
+class CCoeControl;
+
+/**
+* test case for various list classes
+*/
+class CBCTestAppFrmEikSrvCase: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestAppFrmEikSrvCase* NewL( CBCTestAppFrmContainer* aContainer );
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestAppFrmEikSrvCase();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Create control or allocate resource for test
+ * @param aCmd UI command, maybe you need to do some work
+ * for different outline
+ */
+ void PrepareCaseL( TInt aCmd );
+
+ /**
+ * Release resource used in test
+ */
+ void ReleaseCaseL();
+
+ /**
+ * Test functions
+ */
+ void TestFunction();
+
+ void TestPublicFunction();
+
+ void TestProtectedFunction();
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestAppFrmEikSrvCase( CBCTestAppFrmContainer* aContainer );
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+private: // data
+
+ /**
+ * Pointer to a control, maybe you need one in your test
+ * own
+ */
+ CCoeControl* iControl;
+
+ /**
+ * Pointer to container.
+ * not own
+ */
+ CBCTestAppFrmContainer* iContainer;
+
+ };
+
+#endif // C_CBCTESTAPPFRMEIKSRVCASE_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmview.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestappfrmview.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,117 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test BC for Template control API.
+*
+*/
+
+
+#ifndef C_CBCTESTAPPFRMVIEW_H
+#define C_CBCTESTAPPFRMVIEW_H
+
+#include
+
+const TUid KBCTestAppFrmViewId = { 1 };
+
+class CBCTestAppFrmContainer;
+class CBCTestUtil;
+class CAknViewAppUi;
+
+/**
+ * Application UI class
+ *
+ * @lib bctestutil.lib
+ */
+class CBCTestAppFrmView : public CAknView
+ {
+public: // Constructors and destructor
+
+ /**
+ * Symbian static 2nd constructor
+ */
+ static CBCTestAppFrmView* NewL(CAknViewAppUi* aUI);
+
+ /**
+ * dtor
+ */
+ virtual ~CBCTestAppFrmView();
+
+public: // from CAknView
+
+ /**
+ * Return view Id.
+ */
+ TUid Id() const;
+
+ /**
+ * From CAknView, HandleCommandL.
+ * @param aCommand Command to be handled.
+ */
+ void HandleCommandL( TInt aCommand );
+
+ void AppFrmView_HandleCommandL( TInt aCommand );
+
+ void AppFrmView_cba();
+
+ void AppFrmView_StatusPane();
+
+ void AppFrmView_ViewScreenDeviceChangedL();
+
+ void AppFrmView_DoActivateL(const TVwsViewId& aViewId, TUid aId , const TDesC8& aDes);
+
+ void AppFrmView_MopNext();
+
+ void AppFrmView_MopSupplyObject( TTypeUid aId );
+
+protected: // from CAknView
+
+ /**
+ * When view is activated, do something
+ */
+ void DoActivateL( const TVwsViewId&, TUid, const TDesC8& );
+
+ /**
+ * When view is deactivated, do something
+ */
+ void DoDeactivate();
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestAppFrmView();
+
+ /**
+ * symbian 2nd ctor
+ */
+ void ConstructL(CAknViewAppUi* aUI);
+
+private: // data
+
+ /**
+ * pointor to the BC Test framework utility.
+ * own
+ */
+ CBCTestUtil* iTestUtil;
+
+ /**
+ * pointor to the container.
+ * own
+ */
+ CBCTestAppFrmContainer* iContainer;
+
+ };
+
+#endif // C_CBCTESTAPPFRMVIEW_H
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctesteikenvcase.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctesteikenvcase.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,69 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test bc for the volume control API(s)
+*
+*/
+
+#ifndef C_TESTEIKENV_H
+#define C_TESTEIKENV_H
+
+#include "bctestcase.h"
+
+class CBCTestAppFrmContainer;
+
+/**
+* test case for testing volume setting page.
+*/
+class CBCTestEikenv: public CBCTestCase
+ {
+public:
+ /**
+ * symbian NewL
+ * @param aView, pointer to the active view
+ */
+ static CBCTestEikenv* NewL( CBCTestAppFrmContainer* aContainer );
+
+ /** dtor */
+ virtual ~CBCTestEikenv();
+
+ /**
+ * from CBCTestCase
+ */
+ virtual void RunL(int aCmd);
+
+protected: // new
+ /** do necessary setup things. */
+ virtual void SetupL();
+
+ /** do necessary teardown things. */
+ virtual void TearDownL();
+
+ /** ctor */
+ CBCTestEikenv( CBCTestAppFrmContainer* aContainer );
+
+ /** symbian 2nd phase ctor */
+ void ConstructL();
+
+ /** build the necessary test scripts */
+ void BuildScriptL();
+
+ /** perform test */
+ void TestL();
+
+private:
+ CEikonEnv* iEikenv;
+ CBCTestAppFrmContainer* iContainer;
+ };
+
+#endif // C_TESTEIKENV_H
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctesteikmobs.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctesteikmobs.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,65 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test bc for the volume control API(s)
+*
+*/
+
+#ifndef C_TESTEIKMOBS_H
+#define C_TESTEIKMOBS_H
+
+#include "bctestcase.h"
+
+/**
+* test case for testing volume setting page.
+*/
+class CBCTestEikMObserver: public CBCTestCase
+ {
+public:
+ /**
+ * symbian NewL
+ * @param aView, pointer to the active view
+ */
+ static CBCTestEikMObserver* NewL();
+
+ /** dtor */
+ virtual ~CBCTestEikMObserver();
+
+ /**
+ * from CBCTestCase
+ */
+ virtual void RunL(int aCmd);
+
+protected: // new
+ /** do necessary setup things. */
+ virtual void SetupL();
+
+ /** do necessary teardown things. */
+ virtual void TearDownL();
+
+ /** ctor */
+ CBCTestEikMObserver();
+
+ /** symbian 2nd phase ctor */
+ void ConstructL();
+
+ /** build the necessary test scripts */
+ void BuildScriptL();
+
+ /** perform test */
+ void TestL();
+
+private:
+ };
+
+#endif // C_TESTEIKMOBS_H
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestvcurs.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/inc/bctestvcurs.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,65 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test bc for the volume control API(s)
+*
+*/
+
+#ifndef C_TESTVCURS_H
+#define C_TESTVCURS_H
+
+#include "bctestcase.h"
+
+/**
+* test case for testing volume setting page.
+*/
+class CBCTestVCursor: public CBCTestCase
+ {
+public:
+ /**
+ * symbian NewL
+ * @param aView, pointer to the active view
+ */
+ static CBCTestVCursor* NewL();
+
+ /** dtor */
+ virtual ~CBCTestVCursor();
+
+ /**
+ * from CBCTestCase
+ */
+ virtual void RunL(int aCmd);
+
+protected: // new
+ /** do necessary setup things. */
+ virtual void SetupL();
+
+ /** do necessary teardown things. */
+ virtual void TearDownL();
+
+ /** ctor */
+ CBCTestVCursor();
+
+ /** symbian 2nd phase ctor */
+ void ConstructL();
+
+ /** build the necessary test scripts */
+ void BuildScriptL();
+
+ /** perform test */
+ void TestL();
+
+private:
+ };
+
+#endif // C_TESTVCURS_H
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/sis/bctestappfrm.pkg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/sis/bctestappfrm.pkg Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,48 @@
+;
+; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;
+; bctestappfrm.pkg
+
+; Languages
+&EN
+
+; Header
+#{"UIFW_bctestappfrm"},(0x200045CC),1,0,0,TYPE=SA
+
+; List of localised vendor names
+%{"Vendor-EN"}
+
+; The non-localised, globally unique vendor name (mandatory)
+:"Nokia OY"
+
+;Supports Series 60 v 3.0
+;This line indicates that this installation is for the Series 60 platform v3.0
+;This line must appear _exactly_ as shown below in the sis file
+;If this line is missing or incorrect, the sis file will not be able
+;to be installed on Series 60 v3.0 platforms
+(0x101F7961), 0, 0, 0, {"Series60ProductID"}
+
+; Target
+"\epoc32\release\armv5\urel\bctestappfrm.exe"-
+"!:\sys\bin\bctestappfrm.exe"
+
+"\epoc32\data\z\resource\apps\bctestappfrm.RSC"-
+"!:\resource\apps\bctestappfrm.RSC"
+
+"\epoc32\data\z\PRIVATE\10003A3F\APPS\bctestappfrm_reg.RSC"-
+"!:\PRIVATE\10003A3F\import\APPS\bctestappfrm_reg.RSC"
+
+; bctestutil must be installed
+(0x20004742), 1, 10, 0, {"bctestutil.dll"}
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestaknapplication.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestaknapplication.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,138 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+#include
+#include
+#include
+#include
+#include "bctestaknapplication.h"
+#include "bctestappfrm.hrh"
+#include "streamlogger.h"
+
+// ----------------------------------------------------------------------------
+// ctor, do nothing.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknApplication::CBCTestAknApplication()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// dtor, do nothing.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknApplication::~CBCTestAknApplication()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// symbian 2nd phase ctor.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknApplication::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ----------------------------------------------------------------------------
+// symbian NewL.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknApplication* CBCTestAknApplication::NewL()
+ {
+ CBCTestAknApplication* self = new ( ELeave ) CBCTestAknApplication();
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+// ----------------------------------------------------------------------------
+// override the CBCTestCase::RunL, only response to the related command ID.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknApplication::RunL(int aCmd)
+ {
+ if(aCmd != EBCTestCmdApplication) return;
+ SetupL();
+ TestL();
+ TearDownL();
+ }
+
+// ----------------------------------------------------------------------------
+// build the test scripts for this test case.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknApplication::BuildScriptL()
+ {
+ const TInt scripts[] =
+ {
+ DELAY(1), // delay between commands is 1*0.1 seconds = 0.1 seconds
+ LeftCBA,
+ //REP(Down, n),
+ LeftCBA
+ };
+ AddTestScriptL(scripts, sizeof(scripts)/sizeof(TInt));
+ }
+
+void CBCTestAknApplication::TestIniFileL(CAknApplication* aApp, RFs& aFs)
+{
+ // In fact OpenIniFileLC do nothing with clean up stack, but leave with
+ // not supported error.
+ aApp->OpenIniFileLC(aFs);
+}
+
+// ----------------------------------------------------------------------------
+// test the volume setting page creation api.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknApplication::TestL()
+ {
+ CAknApplication* app = static_cast(CEikonEnv::Static()->EikAppUi()->Application());
+
+ //app->PreDocConstructL(); //TO DO: need a release, but dono
+ //AssertTrueL(ETrue, _L("CAknApplication::PreDocConstructL() invoked."));
+
+ RFs& fs = CEikonEnv::Static()->FsSession();
+ TRAPD( err, TestIniFileL(app, fs));
+ if(err == KErrNotSupported){
+ AssertTrueL(ETrue, _L("CAknApplication::OpenIniFileLC () isn't supported in S60"));
+ }
+
+ CApaAppServer* server = NULL;
+ app->NewAppServerL(server);
+ CleanupStack::PushL(server);
+ AssertNotNullL(server, _L("CAknApplication::NewAppServerL() invoked."));
+ CleanupStack::PopAndDestroy(server); //server
+ }
+
+// ----------------------------------------------------------------------------
+// prepare for the test.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknApplication::SetupL()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// do release jobs.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknApplication::TearDownL()
+ {
+ }
+
+//end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestakndoc.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestakndoc.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,168 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include "bctestakndoc.h"
+#include "bctestappfrm.hrh"
+#include "bctestappfrmapp.h"
+#include "streamlogger.h"
+
+//============helper class==============
+class CMockDocument: public CAknDocument
+ {
+public:
+ CMockDocument(CEikApplication& aApp);
+ CEikAppUi* CreateAppUiL()
+ {
+ return NULL;
+ }
+ };
+
+CMockDocument::CMockDocument(CEikApplication& aApp):CAknDocument(aApp)
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// ctor, do nothing.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknDoc::CBCTestAknDoc()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// dtor, do nothing.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknDoc::~CBCTestAknDoc()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// symbian 2nd phase ctor.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknDoc::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ----------------------------------------------------------------------------
+// symbian NewL.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknDoc* CBCTestAknDoc::NewL()
+ {
+ CBCTestAknDoc* self = new ( ELeave ) CBCTestAknDoc();
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+// ----------------------------------------------------------------------------
+// override the CBCTestCase::RunL, only response to the related command ID.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknDoc::RunL(int aCmd)
+ {
+ if(aCmd != EBCTestCmdDocument) return;
+ SetupL();
+ TestL();
+ TearDownL();
+ }
+
+// ----------------------------------------------------------------------------
+// build the test scripts for this test case.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknDoc::BuildScriptL()
+ {
+ const TInt scripts[] =
+ {
+ DELAY(1), // delay between commands is 1*0.1 seconds = 0.1 seconds
+ LeftCBA,
+ REP(Down, 1),
+ LeftCBA
+ };
+ AddTestScriptL(scripts, sizeof(scripts)/sizeof(TInt));
+ }
+
+// ----------------------------------------------------------------------------
+// test the volume setting page creation api.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknDoc::TestL()
+ {
+ CBCTestAppFrmApp* app = new CBCTestAppFrmApp();
+ CleanupStack::PushL(app);
+ CMockDocument* ptr = new (ELeave) CMockDocument(*app);
+ delete ptr;
+ CleanupStack::Pop(); //app;
+ delete app;
+
+ //CEikDocument subclass #CAknDocument,
+ CEikDocument* doc = CEikonEnv::Static()->EikAppUi()->Document(); // doc pointer to CBCTestAppFrmDocument(which is infact a CAknDocument)
+
+ RFs& fs = CEikonEnv::Static()->FsSession();
+ _LIT(KFileName, "C:\\BCTestLog\\foo.txt");
+ CFileStore* store = doc->OpenFileL(EFalse, KFileName, fs);
+ //AssertNotNullL(store, _L("CFileStore* CAknDocument::OpenFileL() invoked with EFalse."));
+ AssertTrueL(ETrue, _L("CAknDocument::OpenFileL() is empty in S60."));
+ delete store;
+
+ store = NULL;
+ store = doc->OpenFileL(ETrue, KFileName, fs);
+ //AssertNotNullL(store, _L("CFileStore* CAknDocument::OpenFileL() invoked with ETrue."));
+ AssertTrueL(ETrue, _L("CAknDocument::OpenFileL() is empty in S60."));
+ delete store;
+
+ store = NULL;
+ RFile file;
+ if ( file.Open( fs, KFileName, EFileWrite | EFileShareAny ) != KErrNone ){
+ file.Create( fs, KFileName, EFileWrite | EFileShareAny );
+ }
+
+ doc->OpenFileL(store, file);
+ //AssertNotNullL(store, _L("void CAknDocument::OpenFileL() invoked."));
+ AssertTrueL(ETrue, _L("CAknDocument::OpenFileL() is empty in S60."));
+ delete store;
+ file.Close();
+ }
+
+// ----------------------------------------------------------------------------
+// prepare for the test.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknDoc::SetupL()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// do release jobs.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknDoc::TearDownL()
+ {
+ }
+
+//end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestaknviewappui.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestaknviewappui.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,174 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+#include
+#include
+#include
+#include
+#include
+
+#include "bctestaknviewappui.h"
+#include "bctestappfrm.hrh"
+#include "streamlogger.h"
+#include "bctestappfrmview.h"
+#include "bctestappfrmappui.h"
+
+const TUid KMonkViewID = { 2 };
+
+// ----------------------------------------------------------------------------
+// ctor, do nothing.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknViewAppUi::CBCTestAknViewAppUi(CAknViewAppUi* aUI, TUid aViewID)
+ :iUI(aUI), iViewID(aViewID)
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// dtor, do nothing.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknViewAppUi::~CBCTestAknViewAppUi()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// symbian 2nd phase ctor.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknViewAppUi::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ----------------------------------------------------------------------------
+// symbian NewL.
+// ----------------------------------------------------------------------------
+//
+CBCTestAknViewAppUi* CBCTestAknViewAppUi::NewL(CAknViewAppUi* aUI, TUid aViewID)
+ {
+ CBCTestAknViewAppUi* self = new ( ELeave ) CBCTestAknViewAppUi(aUI, aViewID);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+// ----------------------------------------------------------------------------
+// override the CBCTestCase::RunL, only response to the related command ID.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknViewAppUi::RunL(int aCmd)
+ {
+ if(aCmd != EBCTestCmdViewAppUi) return;
+ SetupL();
+ TestL();
+ TearDownL();
+ }
+
+// ----------------------------------------------------------------------------
+// build the test scripts for this test case.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknViewAppUi::BuildScriptL()
+ {
+ const TInt scripts[] =
+ {
+ DELAY(1), // delay between commands is 1*0.1 seconds = 0.1 seconds
+ LeftCBA,
+ REP(Down, 2),
+ LeftCBA
+ };
+ AddTestScriptL(scripts, sizeof(scripts)/sizeof(TInt));
+ }
+
+// ----------------------------------------------------------------------------
+// test the volume setting page creation api.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknViewAppUi::TestL()
+ {
+ TestActiateViewL();
+ TestViewFacilityL();
+ TestSplitViewL();
+ TestOthersL();
+ }
+
+void CBCTestAknViewAppUi::TestActiateViewL(){
+ iUI->ActivateLocalViewL(iViewID);
+ AssertTrueL(ETrue, _L("CAknViewAppUi::ActivateLocalViewL(TUid) invoked.") );
+ iUI->ActivateLocalViewL(iViewID, KNullUid, KNullDesC8 );
+ AssertTrueL(ETrue, _L("CAknViewAppUi::ActivateLocalViewL(TUid, TUid, const TDesC8&) invoked.") );
+
+ AssertTrueL(KNullUid==iUI->FocusedView(), _L("CAknViewAppUi::FocusedView() for split view ONLY") );
+ AssertTrueL(EFalse==iUI->ViewShown(iViewID), _L("CAknViewAppUi::ViewShown() for split view ONLY") );
+}
+
+void CBCTestAknViewAppUi::TestViewFacilityL(){
+ class CMonkView: public CAknView
+ {
+ public:
+ TUid Id() const{ return KMonkViewID; }
+ void DoActivateL( const TVwsViewId&, TUid, const TDesC8& ){}
+ void DoDeactivate(){}
+ };
+
+ CAknView* view = new (ELeave) CMonkView;
+ CleanupStack::PushL(view);
+ iUI->AddViewL(view);
+ CleanupStack::Pop(view);
+ AssertTrueL(ETrue, _L("CAknViewAppUi::AddViewL() invoked.") );
+
+ AssertTrueL(view == iUI->View(KMonkViewID), _L("CAknViewAppUI::View(TUid) got") );
+
+ iUI->RemoveView(KMonkViewID);
+ AssertTrueL(ETrue, _L("CAknViewAppUi::RemoveView() invoked.") );
+}
+
+void CBCTestAknViewAppUi::TestSplitViewL(){
+ // not supported , omit
+ AssertTrueL( EFalse == iUI->SplitViewActive(), _L("SplitViewActive() not support") );
+
+ iUI->SetSplitViewL(KMonkViewID, iViewID, 0);
+ AssertTrueL( ETrue, _L("SetSplitViewL() not support"));
+
+ iUI->RemoveSplitViewL(KMonkViewID);
+
+ AssertTrueL( KNullUid==iUI->FocusedView(), _L("CAknViewAppUi::FocusedView() not support") );
+ AssertTrueL( EFalse==iUI->ViewShown(iViewID), _L("CAknViewAppUi::ViewShown() note support") );
+}
+
+void CBCTestAknViewAppUi::TestOthersL(){
+ static_cast(iUI)->HandleStatusPaneSizeChange();
+ AssertTrueL( ETrue, _L("CAknViewAppUi::HandleStautsPaneSizeChange() invoked"));
+}
+// ----------------------------------------------------------------------------
+// prepare for the test.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknViewAppUi::SetupL()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// do release jobs.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAknViewAppUi::TearDownL()
+ {
+ }
+
+//end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmaknappuicase.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmaknappuicase.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,311 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include // for TAknUiZoom
+#include
+#include
+#include
+
+#include "bctestappfrm.hrh"
+#include "bctestappfrmaknappuicase.h"
+#include "bctestappfrmcontainer.h"
+#include "bctestappfrmappui.h"
+
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmAknAppUICase* CBCTestAppFrmAknAppUICase::NewL(
+ CBCTestAppFrmContainer* aContainer )
+ {
+ CBCTestAppFrmAknAppUICase* self = new( ELeave ) CBCTestAppFrmAknAppUICase(
+ aContainer );
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmAknAppUICase::CBCTestAppFrmAknAppUICase(
+ CBCTestAppFrmContainer* aContainer )
+ : iContainer( aContainer )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmAknAppUICase::~CBCTestAppFrmAknAppUICase()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknAppUICase::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmAknAppUICase::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknAppUICase::BuildScriptL()
+ {
+ const TInt scripts[] =
+ {
+ DELAY(1), // delay between commands is 1*0.1 seconds = 0.1 seconds
+ LeftCBA,
+ REP(Down, 6),
+ LeftCBA
+ };
+ AddTestScriptL(scripts, sizeof(scripts)/sizeof(TInt));
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmAknAppUICase::RunL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknAppUICase::RunL( TInt aCmd )
+ {
+ if ( aCmd !=EBCTestAknAppUi)
+ {
+ return;
+ }
+ // Call release before prepare to let container has time to draw the
+ // control created in PrepareCaseL.
+ ReleaseCaseL();
+ PrepareCaseL( aCmd );
+ TestFunction();
+
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmAknAppUICase::PrepareCaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknAppUICase::PrepareCaseL( TInt aCmd )
+ {
+ switch ( aCmd )
+ {
+ case EBCTestAknAppUi:
+ // Here is a simple demo. You should create your control
+ // instead of this.
+ iControl = new( ELeave ) CCoeControl();
+ iControl->SetContainerWindowL( *iContainer );
+ iControl->MakeVisible( ETrue );
+ break;
+ default:
+ break;
+ }
+ // Pass the owner of iControl to iContainer.
+ iContainer->SetControl( iControl );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmAknAppUICase::ReleaseCaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknAppUICase::ReleaseCaseL()
+ {
+ // let container delete the component control.
+ iContainer->ResetControl();
+ iControl = NULL;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmAknAppUICase::TestLayoutDecorator
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknAppUICase::TestFunction()
+ {
+ // Test some API here
+
+ TestPublicFunction();
+ TestProtectedAknAppUi();
+ }
+
+void CBCTestAppFrmAknAppUICase::TestProtectedAknAppUi()
+ {
+ CBCTestAppFrmAppUi *iTestAppUi = static_cast
+ ( CEikonEnv::Static()->EikAppUi() );
+ iTestAppUi->AppFrm_SetKeyBlockMode();
+ _LIT( KSetKeyBlockMode, "CAknAppUi::SetKeyBlockMode() invoked" );
+ AssertTrueL( ETrue, KSetKeyBlockMode );
+
+ iTestAppUi->AppFrm_HandleStatusPaneSizeChange();
+ _LIT(KHandleStatusPaneSizeChange ,
+ "CAknAppUiBase::HandleStatusPaneSizeChange() invoked" );
+ AssertTrueL( ETrue, KHandleStatusPaneSizeChange );
+
+ TWsEvent iEvent ;
+ iTestAppUi->AppFrm_HandleApplicationSpecificEventL(
+ KEikPartialForeground, iEvent );
+ _LIT( KHandleApplicationSpecificEventL,
+ "CAknAppUiBase::HandleApplicationSpecificEventL() invoked" );
+ AssertTrueL( ETrue, KHandleApplicationSpecificEventL);
+
+ iTestAppUi->AppFrm_HandleScreenDeviceChangedL();
+ _LIT( KHandleScreenDeviceChangedL ,
+ "CAknAppUiBase::HandleScreenDeviceChangedL() invoked" );
+ AssertTrueL( ETrue, KHandleScreenDeviceChangedL );
+
+ TInt uid = KErrNotFound;
+ iTestAppUi->AppFrm_ReplaceKeySoundsL( uid );
+ _LIT( KReplaceKeySoundsL ,
+ "CAknAppUiBase::ReplaceKeySoundsL(TInt aUid) invoked" );
+ AssertTrueL( ETrue, KReplaceKeySoundsL );
+
+ }
+
+void CBCTestAppFrmAknAppUICase::TestPublicFunction()
+ {
+ /*********************************************************/
+ /*CAknAppUi*/
+ /*********************************************************/
+
+ CAknAppUi* iAknAppUI = static_cast
+ ( CEikonEnv::Static()->EikAppUi() );
+ iAknAppUI->Cba();
+ _LIT( KCAknAppUiCba, "CAknAppUi::Cba() invoked" );
+ AssertTrueL( ETrue, KCAknAppUiCba );
+
+ iAknAppUI->CurrentPopupToolbar();
+ _LIT( KCurrentPopupToolbar, "CAknAppUi::CurrentPopupToolbar() invoked" );
+ AssertTrueL( ETrue, KCurrentPopupToolbar );
+
+ TInt iErrCode = KErrNone;
+ SExtendedError iExtErr;
+ TBuf<16> iErrorText;
+ TBuf<16> iContextText;
+ iAknAppUI->HandleError( iErrCode, iExtErr, iErrorText, iContextText );
+ _LIT( KCAknAppUiHandleError , "CAknAppUi::HandleError() invoked" );
+ AssertTrueL( ETrue, KCAknAppUiHandleError);
+
+ iAknAppUI->TouchPane();
+ _LIT( KTouchPane ,"CAknAppUi::TouchPane() invoked" );
+ AssertTrueL( ETrue, KTouchPane );
+
+ iAknAppUI->PopupToolbar();
+ _LIT( KPopupToolbar , "CAknAppUi::PopupToolbar() invoked" );
+ AssertTrueL( ETrue, KPopupToolbar );
+
+ iAknAppUI->HandleTouchPaneSizeChange();
+ _LIT( KHandleTouchPaneSizeChange ,
+ "CAknAppUi::HandleTouchPaneSizeChange() invoked" );
+ AssertTrueL( ETrue, KHandleTouchPaneSizeChange );
+
+ TBool iHide = ETrue;
+ iAknAppUI->HideApplicationFromFSW( iHide );
+ _LIT( KHideApplicationFromFSW ,
+ "CAknAppUi::HideApplicationFromFSW() invoked" );
+ AssertTrueL( ETrue, KHideApplicationFromFSW );
+
+ iAknAppUI->IsAppShutterRunning();
+ _LIT( KIsAppShutterRunning ,
+ "CAknAppUi::IsAppShutterRunning() invoked" );
+ AssertTrueL( ETrue, KIsAppShutterRunning);
+
+ iAknAppUI->ProcessCommandL( 100 );
+ _LIT( KProcessCommandL,"CAknAppUi::ProcessCommandL() invoked" );
+ AssertTrueL( ETrue, KProcessCommandL);
+
+ /*********************************************************/
+ /*CAknAppUiBase*/
+ /*********************************************************/
+
+ CAknAppUiBase* iAknAppUIBase = static_cast
+ ( CEikonEnv::Static()->EikAppUi() );
+
+ iAknAppUIBase->IsFullScreenApp();
+ _LIT( KIsFullScreenApp , "CAknAppUIBase::IsFullScreenApp() invoked" );
+ AssertTrueL( ETrue, KIsFullScreenApp );
+
+ iAknAppUIBase->IsPartialForeground();
+ _LIT( KIsPartialForeground,
+ "CAknAppUIBase::IsPartialForeground() invoked" );
+ AssertTrueL( ETrue, KIsPartialForeground );
+
+ iAknAppUIBase->LocalUiZoom();
+ _LIT( KLocalUiZoom ,"CAknAppUIBase::LocalUiZoom() invoked" );
+ AssertTrueL( ETrue, KLocalUiZoom );
+
+ iAknAppUIBase->Orientation();
+ _LIT( KOrientation , "CAknAppUIBase::Orientation() invoked" );
+ AssertTrueL( ETrue, KOrientation );
+
+ iAknAppUIBase->SetLayoutAwareApp( ETrue );
+ _LIT( KSetLayoutAwareApp , "CAknAppUIBase::SetLayoutAwareApp() invoked" );
+ AssertTrueL( ETrue, KSetLayoutAwareApp );
+
+ iAknAppUIBase->SetLocalUiZoomL( EAknUiZoomNormal );
+ _LIT( KSetLocalUiZoomL , "CAknAppUIBase::SetLocalUiZoomL() invoked" );
+ AssertTrueL( ETrue, KSetLocalUiZoomL );
+
+ iAknAppUIBase->HandleForegroundEventL( ETrue );
+ _LIT( KHandleForegroundEventL,
+ "CAknAppUIBase::HandleForegroundEventL() invoked" );
+ AssertTrueL( ETrue, KHandleForegroundEventL );
+
+ iAknAppUIBase->SetOrientationL( iAknAppUIBase->Orientation() );
+ _LIT( KSetOrientationL, "CAknAppUIBase::SetOrientationL() invoked" );
+ AssertTrueL( ETrue, KSetOrientationL);
+
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmaknviewcase.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmaknviewcase.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,250 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+#include
+
+#include "bctestappfrmaknviewcase.h"
+#include "bctestappfrmcontainer.h"
+#include "bctestappfrm.hrh"
+
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmAknViewCase* CBCTestAppFrmAknViewCase::NewL(
+ CBCTestAppFrmContainer* aContainer ,CAknView* aView)
+ {
+ CBCTestAppFrmAknViewCase* self = new( ELeave ) CBCTestAppFrmAknViewCase(
+ aContainer ,aView);
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmAknViewCase::CBCTestAppFrmAknViewCase(
+ CBCTestAppFrmContainer* aContainer ,CAknView* aView)
+ : iContainer( aContainer ) , iView ( aView )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmAknViewCase::~CBCTestAppFrmAknViewCase()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknViewCase::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmAknViewCase::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknViewCase::BuildScriptL()
+ {
+ // Add script as your need.
+ const TInt scripts[] =
+ {
+ DELAY(1), // delay between commands is 1*0.1 seconds = 0.1 seconds
+ LeftCBA,
+ REP(Down, 7),
+ LeftCBA
+ };
+ AddTestScriptL(scripts, sizeof(scripts)/sizeof(TInt));
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmAknViewCase::RunL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknViewCase::RunL( TInt aCmd )
+ {
+ if ( aCmd !=EBCTestAknView)
+ {
+ return;
+ }
+ // Call release before prepare to let container has time to draw the
+ // control created in PrepareCaseL.
+ ReleaseCaseL();
+ PrepareCaseL( aCmd );
+ TestFunction();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmAknViewCase::PrepareCaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknViewCase::PrepareCaseL( TInt aCmd )
+ {
+ switch ( aCmd )
+ {
+ case EBCTestAknView:
+ // Here is a simple demo. You should create your control
+ // instead of this.
+ iControl = new( ELeave ) CCoeControl();
+ iControl->SetContainerWindowL( *iContainer );
+ iControl->MakeVisible( ETrue );
+ break;
+ default:
+ break;
+ }
+ // Pass the owner of iControl to iContainer.
+ iContainer->SetControl( iControl );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmAknViewCase::ReleaseCaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknViewCase::ReleaseCaseL()
+ {
+ // let container delete the component control.
+ iContainer->ResetControl();
+ iControl = NULL;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmAknViewCase::TestLayoutDecorator
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknViewCase::TestFunction()
+ {
+ // Test some API here
+ TestPublicFunction();
+ TestProtectedFunction();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmAknViewCase::TestPublicFunction (Test class CAknView)
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknViewCase::TestPublicFunction()
+ {
+ TVwsViewId iVwsViewId = iView->ViewId();
+ iView->ActivateViewL( iVwsViewId );
+ _LIT( KActivateViewL1 , "CAknView::ActivateViewL() invoked" );
+ AssertTrueL( ETrue, KActivateViewL1 );
+
+ iView->ActivateViewL( iVwsViewId, KNullUid, KNullDesC8 );
+ _LIT( KActivateViewL2,
+ "CAknView::ActivateViewL(const TVwsViewId&) invoked" );
+ AssertTrueL( ETrue, KActivateViewL2 );
+
+ iView->AknViewActivatedL( iVwsViewId, KNullUid, KNullDesC8 );
+ _LIT( KAknViewActivatedL,
+ "CAknView::AknViewActivatedL(TVwsViewId&,TUid,TDesC8&) invoked" );
+ AssertTrueL( ETrue, KAknViewActivatedL );
+
+ iView->ClientRect();
+ _LIT( KClientRect , "CAknView::ClientRect() invoked" );
+ AssertTrueL( ETrue, KClientRect);
+
+ iView->ConstructMenuAndCbaEarlyL();
+ _LIT( KConstructMenuAndCbaEarlyL,
+ "CAknView::ConstructMenuAndCbaEarlyL() invoked" );
+ AssertTrueL( ETrue, KConstructMenuAndCbaEarlyL );
+
+ iView->HandleStatusPaneSizeChange();
+ _LIT( KHandleStatusPaneSizeChange,
+ "CAknView::HandleStatusPaneSizeChange() invoked" );
+ AssertTrueL( ETrue, KHandleStatusPaneSizeChange );
+
+ iView->HandleViewRectChange();
+ _LIT( KHandleViewRectChange, "CAknView::HandleViewRectChange() invoked" );
+ AssertTrueL( ETrue, KHandleViewRectChange );
+
+ iView->Id();
+ _LIT( KId, "CAknView::Id() invoked" );
+ AssertTrueL( ETrue, KId);
+
+ iView->IsForeground();
+ _LIT( KIsForeground, "CAknView::IsForeground() invoked" );
+ AssertTrueL( ETrue, KIsForeground );
+
+ iView->Redraw();
+ _LIT( KRedraw, "CAknView::Redraw() invoked" );
+ AssertTrueL( ETrue, KRedraw );
+
+ iView->StopDisplayingToolbar();
+ _LIT( KStopDisplayingToolbar,
+ "CAknView::StopDisplayingToolbar() invoked" );
+ AssertTrueL( ETrue, KStopDisplayingToolbar );
+
+ iView->Toolbar();
+ _LIT( KToolbar , "CAknView::Toolbar() invoked" );
+ AssertTrueL( ETrue, KToolbar );
+
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmAknViewCase::TestProtectedFunction (Test class CAknView)
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAknViewCase::TestProtectedFunction()
+ {
+ CBCTestAppFrmView* iTestView = static_cast( iView );
+ iTestView->AppFrmView_cba();
+ _LIT( Kcba , "CAknView::cba() invoked" );
+ AssertTrueL( ETrue, Kcba);
+
+ iTestView->AppFrmView_HandleCommandL(1);
+ _LIT( KHandleCommandL , "CAknView::HandleCommandL(TInt) invoked" );
+ AssertTrueL( ETrue, KHandleCommandL);
+
+ iTestView->AppFrmView_StatusPane();
+ _LIT( KStatusPane, "CAknView::StatusPane() invoked" );
+ AssertTrueL( ETrue, KStatusPane );
+
+ iTestView->AppFrmView_ViewScreenDeviceChangedL();
+ _LIT( KViewScreenDeviceChangedL,
+ "CAknView::ViewScreenDeviceChangedL() invoked" );
+ AssertTrueL( ETrue, KViewScreenDeviceChangedL );
+
+ iTestView->AppFrmView_DoActivateL( iView->ViewId(), KNullUid, KNullDesC8 );
+ _LIT( KDoActivateL,
+ "CAknView::DoActivateL() invoked" );
+ AssertTrueL( ETrue, KDoActivateL );
+
+ iTestView->AppFrmView_MopNext();
+ _LIT( KMopNext , "CAknView::MopNext() invoked" );
+ AssertTrueL( ETrue, KMopNext );
+
+ iTestView->AppFrmView_MopSupplyObject( 0 );
+ _LIT( KMopSupplyObject ,"CAknView::MopSupplyObject(TTypeUid) invoked" );
+ AssertTrueL( ETrue, KMopSupplyObject );
+
+ }
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmapp.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmapp.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,69 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Avkon Sound test app
+*
+*/
+
+
+// INCLUDE FILES
+#include "bctestappfrmapp.h"
+#include "bctestappfrmdocument.h"
+#include
+
+// ================= MEMBER FUNCTIONS =========================================
+
+// ----------------------------------------------------------------------------
+// TUid CBCTestAppFrmApp::AppDllUid()
+// Returns application UID.
+// ----------------------------------------------------------------------------
+//
+TUid CBCTestAppFrmApp::AppDllUid() const
+ {
+ return KUidBCTestAppFrm;
+ }
+
+// ----------------------------------------------------------------------------
+// CApaDocument* CBCTestAppFrmApp::CreateDocumentL()
+// Creates CBCTestAppFrmDocument object.
+// ----------------------------------------------------------------------------
+//
+CApaDocument* CBCTestAppFrmApp::CreateDocumentL()
+ {
+ return CBCTestAppFrmDocument::NewL( *this );
+ }
+
+void CBCTestAppFrmApp::PreDocConstructL()
+ {
+ CAknApplication::PreDocConstructL();
+ }
+
+// ================= OTHER EXPORTED FUNCTIONS =================================
+//
+// ----------------------------------------------------------------------------
+// CApaApplication* NewApplication()
+// Constructs CBCTestAppFrmApp.
+// Returns: CApaDocument*: created application object
+// ----------------------------------------------------------------------------
+//
+LOCAL_C CApaApplication* NewApplication()
+ {
+ return new CBCTestAppFrmApp;
+ }
+
+GLDEF_C TInt E32Main()
+ {
+ return EikStart::RunApplication(NewApplication);
+ }
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmappui.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmappui.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,108 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test bc for template control api(s)
+*
+*/
+
+#include
+#include
+#include "bctestappfrmappui.h"
+#include "bctestappfrm.hrh"
+#include "bctestappfrmview.h"
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// ctro do nothing
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmAppUi::CBCTestAppFrmAppUi()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// symbian 2nd phase ctor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmAppUi::ConstructL()
+ {
+ BaseConstructL();
+ AknsUtils::SetAvkonSkinEnabledL( ETrue );
+
+ // init view
+ CBCTestAppFrmView* view = CBCTestAppFrmView::NewL(this);
+ CleanupStack::PushL( view );
+ AddViewL( view );
+ CleanupStack::Pop( view );
+
+ ActivateLocalViewL( view->Id() );
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestAppFrmAppUi::~CBCTestAppFrmAppUi()
+// Destructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestAppFrmAppUi::~CBCTestAppFrmAppUi()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// handle menu command events
+// ----------------------------------------------------------------------------
+//
+void CBCTestAppFrmAppUi::HandleCommandL( TInt aCommand )
+ {
+ switch ( aCommand )
+ {
+ case EAknSoftkeyBack:
+ case EEikCmdExit:
+ {
+ Exit();
+ return;
+ }
+ default:
+ break;
+ }
+ }
+
+void CBCTestAppFrmAppUi::HandleStatusPaneSizeChange(){
+ CAknViewAppUi::HandleStatusPaneSizeChange();
+}
+
+void CBCTestAppFrmAppUi::AppFrm_SetKeyBlockMode()
+{
+ SetKeyBlockMode(EDefaultBlockMode);
+}
+
+void CBCTestAppFrmAppUi::AppFrm_HandleStatusPaneSizeChange()
+{
+ CAknAppUi::HandleStatusPaneSizeChange();
+}
+
+void CBCTestAppFrmAppUi::AppFrm_HandleApplicationSpecificEventL(TInt aType,
+ const TWsEvent& aEvent)
+{
+ CAknAppUiBase::HandleApplicationSpecificEventL(aType,aEvent);
+}
+
+void CBCTestAppFrmAppUi::AppFrm_HandleScreenDeviceChangedL()
+{
+ CAknAppUiBase::HandleScreenDeviceChangedL();
+}
+
+void CBCTestAppFrmAppUi::AppFrm_ReplaceKeySoundsL(TInt aUid)
+{
+ CAknAppUiBase::ReplaceKeySoundsL(aUid);
+}
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmcase.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmcase.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,146 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+#include "bctestappfrmcase.h"
+#include "bctestappfrmcontainer.h"
+#include "bctestappfrm.hrh"
+
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmCase* CBCTestAppFrmCase::NewL(
+ CBCTestAppFrmContainer* aContainer )
+ {
+ CBCTestAppFrmCase* self = new( ELeave ) CBCTestAppFrmCase(
+ aContainer );
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmCase::CBCTestAppFrmCase(
+ CBCTestAppFrmContainer* aContainer )
+ : iContainer( aContainer )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmCase::~CBCTestAppFrmCase()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmCase::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmCase::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmCase::BuildScriptL()
+ {
+ // Add script as your need.
+ //AddTestL( LeftCBA, KeyOK, TEND );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmCase::RunL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmCase::RunL( TInt aCmd )
+ {
+ if ( aCmd < EBCTestCmdOutline1 || aCmd > EBCTestCmdOutline1 )
+ {
+ return;
+ }
+ // Call release before prepare to let container has time to draw the
+ // control created in PrepareCaseL.
+ ReleaseCaseL();
+ PrepareCaseL( aCmd );
+ switch ( aCmd )
+ {
+ case EBCTestCmdOutline1:
+ TestFunction();
+ break;
+ default:
+ break;
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmCase::PrepareCaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmCase::PrepareCaseL( TInt aCmd )
+ {
+ switch ( aCmd )
+ {
+ case EBCTestCmdOutline1:
+ // Here is a simple demo. You should create your control
+ // instead of this.
+ //iControl = new( ELeave ) CCoeControl();
+ //iControl->SetContainerWindowL( *iContainer );
+ //iControl->MakeVisible( ETrue );
+ break;
+ default:
+ break;
+ }
+ // Pass the owner of iControl to iContainer.
+ //iContainer->SetControl( iControl );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmCase::ReleaseCaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmCase::ReleaseCaseL()
+ {
+ // let container delete the component control.
+ iContainer->ResetControl();
+ iControl = NULL;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmCase::TestLayoutDecorator
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmCase::TestFunction()
+ {
+ // Test some API here
+ }
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmcontainer.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmcontainer.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,116 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: container
+*
+*/
+
+
+#include "bctestappfrmcontainer.h"
+
+#define KAknAtListGray TRgb(0xaaaaaa)
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// C++ default Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmContainer::CBCTestAppFrmContainer()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmContainer::~CBCTestAppFrmContainer()
+ {
+ ResetControl();
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmContainer::ConstructL( const TRect& aRect )
+ {
+ CreateWindowL();
+ SetRect( aRect );
+ ActivateL();
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestAppFrmContainer::Draw
+// Fills the window's rectangle.
+// ----------------------------------------------------------------------------
+//
+void CBCTestAppFrmContainer::Draw( const TRect& aRect ) const
+ {
+ CWindowGc& gc = SystemGc();
+ gc.SetPenStyle( CGraphicsContext::ENullPen );
+ gc.SetBrushColor( KAknAtListGray );
+ gc.SetBrushStyle( CGraphicsContext::ESolidBrush );
+ gc.DrawRect( aRect );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmContainer::CountComponentControls
+// ---------------------------------------------------------------------------
+//
+TInt CBCTestAppFrmContainer::CountComponentControls() const
+ {
+ if ( iControl )
+ {
+ return 1;
+ }
+ else
+ {
+ return 0;
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmContainer::ComponentControl
+// ---------------------------------------------------------------------------
+//
+CCoeControl* CBCTestAppFrmContainer::ComponentControl( TInt ) const
+ {
+ return iControl;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmContainer::SetControl
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmContainer::SetControl( CCoeControl* aControl )
+ {
+ iControl = aControl;
+ if ( iControl )
+ {
+ // You can change the position and size
+ iControl->SetExtent( Rect().iTl, Rect().Size() );
+ DrawNow();
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmContainer::ResetControl
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmContainer::ResetControl()
+ {
+ delete iControl;
+ iControl = NULL;
+ }
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmdocument.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmdocument.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,64 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Avkon Template test application
+*
+*/
+
+
+// INCLUDE FILES
+#include "bctestappfrmdocument.h"
+#include "bctestappfrmappui.h"
+
+// ================= MEMBER FUNCTIONS =========================================
+
+// ----------------------------------------------------------------------------
+// CBCTestAppFrmDocument* CBCTestAppFrmDocument::NewL( CEikApplication& )
+// Symbian OS two-phased constructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestAppFrmDocument* CBCTestAppFrmDocument::NewL( CEikApplication& aApp )
+ {
+ CBCTestAppFrmDocument* self = new( ELeave ) CBCTestAppFrmDocument( aApp );
+ return self;
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestAppFrmDocument::~CBCTestAppFrmDocument()
+// Destructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestAppFrmDocument::~CBCTestAppFrmDocument()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestAppFrmDocument::CBCTestAppFrmDocument( CEikApplication& )
+// Overload constructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestAppFrmDocument::CBCTestAppFrmDocument( CEikApplication& aApp )
+ : CAknDocument( aApp )
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// CEikAppUi* CBCTestAppFrmDocument::CreateAppUiL()
+// Constructs CBCTestVolumeAppUi.
+// ----------------------------------------------------------------------------
+//
+CEikAppUi* CBCTestAppFrmDocument::CreateAppUiL()
+ {
+ return new( ELeave ) CBCTestAppFrmAppUi;
+ }
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmeikappuicase.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmeikappuicase.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,224 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+#include
+#include
+
+#include "bctestappfrmeikappuicase.h"
+#include "bctestappfrmcontainer.h"
+#include "bctestappfrm.hrh"
+
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmEikAppUICase* CBCTestAppFrmEikAppUICase::NewL(
+ CBCTestAppFrmContainer* aContainer )
+ {
+ CBCTestAppFrmEikAppUICase* self = new( ELeave ) CBCTestAppFrmEikAppUICase(
+ aContainer );
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmEikAppUICase::CBCTestAppFrmEikAppUICase(
+ CBCTestAppFrmContainer* aContainer )
+ : iContainer( aContainer )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmEikAppUICase::~CBCTestAppFrmEikAppUICase()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmEikAppUICase::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmEikAppUICase::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmEikAppUICase::BuildScriptL()
+ {
+ // Add script as your need.
+ const TInt scripts[] =
+ {
+ DELAY(1), // delay between commands is 1*0.1 seconds = 0.1 seconds
+ LeftCBA,
+ REP(Down, 8),
+ LeftCBA
+ };
+ AddTestScriptL(scripts, sizeof(scripts)/sizeof(TInt));
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmEikAppUICase::RunL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmEikAppUICase::RunL( TInt aCmd )
+ {
+ if ( aCmd !=EBCTestEikAppUi)
+ {
+ return;
+ }
+ // Call release before prepare to let container has time to draw the
+ // control created in PrepareCaseL.
+ ReleaseCaseL();
+ PrepareCaseL( aCmd );
+ TestFunction();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmEikAppUICase::PrepareCaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmEikAppUICase::PrepareCaseL( TInt aCmd )
+ {
+ switch ( aCmd )
+ {
+ case EBCTestEikAppUi:
+ // Here is a simple demo. You should create your control
+ // instead of this.
+ iControl = new( ELeave ) CCoeControl();
+ iControl->SetContainerWindowL( *iContainer );
+ iControl->MakeVisible( ETrue );
+ break;
+ default:
+ break;
+ }
+ // Pass the owner of iControl to iContainer.
+ iContainer->SetControl( iControl );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmEikAppUICase::ReleaseCaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmEikAppUICase::ReleaseCaseL()
+ {
+ // let container delete the component control.
+ iContainer->ResetControl();
+ iControl = NULL;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmEikAppUICase::TestLayoutDecorator
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmEikAppUICase::TestFunction()
+ {
+ // Test some API here
+ TestPublicFunction();
+ TestProtectedFunction();
+ }
+void CBCTestAppFrmEikAppUICase::TestProtectedFunction()
+ {
+ CEikAppUi* iEikAppUI = static_cast
+ ( CEikonEnv::Static()->EikAppUi() );
+
+ iEikAppUI->Application();
+ _LIT( KActivateViewL, "CEikAppUi::ActivateViewL() invoked" );
+ AssertTrueL( ETrue, KActivateViewL);
+
+ iEikAppUI->ApplicationLanguageL();
+ _LIT( KApplicationLanguageL,
+ "CEikAppUi::ApplicationLanguageL() invoked" );
+ AssertTrueL( ETrue, KApplicationLanguageL );
+
+ iEikAppUI->ApplicationRect();
+ _LIT( KApplicationRect, "CEikAppUi::ApplicationRect() invoked" );
+ AssertTrueL( ETrue, KApplicationRect );
+
+ iEikAppUI->Document();
+ _LIT( KDocument, "CEikAppUi::Document() invoked" );
+ AssertTrueL( ETrue, KDocument );
+
+ _LIT( KFileName, "C:\\BCTestLog\\eikappui.txt" );
+ iEikAppUI->CreateFileL( KFileName );
+ _LIT( KCreateFileL, "CEikAppUi::CreateFileL(const TDesC&) invoked" );
+ AssertTrueL( ETrue, KCreateFileL );
+
+ iEikAppUI->OpenFileL( KFileName );
+ _LIT( KOpenFileL , "CEikAppUi::OpenFileL(const TDesC&) invoked" );
+ AssertTrueL( ETrue, KOpenFileL);
+
+ TInt iNum = 10;
+ iEikAppUI->HandleCommandL( iNum );
+ _LIT( KHandleCommandL , "CEikAppUi::HandleCommandL(TInt) invoked" );
+ AssertTrueL( ETrue, KHandleCommandL );
+
+ SExtendedError iExtendedError;
+ TBuf<16> iErrorText;
+ TBuf<16> iContextText;
+ iEikAppUI->HandleError( KErrNone, iExtendedError, iErrorText, iErrorText );
+ _LIT( KHandleError ,
+ "CEikAppUi::HandleError(TInt,SExtendedError&,TDes&,TDes&) invoked" );
+ AssertTrueL( ETrue, KHandleError );
+
+ iEikAppUI->PrepareToExit();
+ _LIT( KPrepareToExit , "CEikAppUi::PrepareToExit() invoked" );
+ AssertTrueL( ETrue, KPrepareToExit );
+
+ iEikAppUI->HandleModelChangeL();
+ _LIT( KHandleModelChangeL , "CEikAppUi::HandleModelChangeL() invoked" );
+ AssertTrueL( ETrue, KHandleModelChangeL );
+
+ TInt iType = 2;
+ iEikAppUI->HandleResourceChangeL( iType );
+ _LIT( KHandleResourceChangeL,
+ "CEikAppUi::HandleResourceChangeL(TInt) invoked" );
+ AssertTrueL( ETrue, KHandleResourceChangeL );
+
+ TFileName iFileName;
+ iEikAppUI->ProcessCommandParametersL( EApaCommandRun, iFileName, KNullDesC8 );
+ _LIT( KProcessCommandParametersL,
+ "CEikAppUi::ProcessCommandParametersL(TApaCommand,TFileName&,TDesC8&) invoked" );
+ AssertTrueL( ETrue, KProcessCommandParametersL );
+
+ iEikAppUI->SetDocument( CEikonEnv::Static()->EikAppUi()->Document() );
+ _LIT( KSetDocument , "CEikAppUi::SetDocument(CEikDocument* ) invoked" );
+ AssertTrueL( ETrue, KSetDocument );
+
+ }
+
+void CBCTestAppFrmEikAppUICase::TestPublicFunction()
+ {
+
+ }
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmeiksrvcase.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmeiksrvcase.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,159 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+#include
+#include
+#include "bctestappfrmeiksrvcase.h"
+#include "bctestappfrmcontainer.h"
+#include "bctestappfrm.hrh"
+
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmEikSrvCase* CBCTestAppFrmEikSrvCase::NewL(
+ CBCTestAppFrmContainer* aContainer )
+ {
+ CBCTestAppFrmEikSrvCase* self = new( ELeave ) CBCTestAppFrmEikSrvCase(
+ aContainer );
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmEikSrvCase::CBCTestAppFrmEikSrvCase(
+ CBCTestAppFrmContainer* aContainer )
+ : iContainer( aContainer )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmEikSrvCase::~CBCTestAppFrmEikSrvCase()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmEikSrvCase::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmEikSrvCase::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmEikSrvCase::BuildScriptL()
+ {
+ // Add script as your need.
+ const TInt scripts[] =
+ {
+ DELAY(1), // delay between commands is 1*0.1 seconds = 0.1 seconds
+ LeftCBA,
+ REP(Down, 9),
+ LeftCBA
+ };
+ AddTestScriptL(scripts, sizeof(scripts)/sizeof(TInt));
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmEikSrvCase::RunL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmEikSrvCase::RunL( TInt aCmd )
+ {
+ if ( aCmd !=EBCTestEikSrv)
+ {
+ return;
+ }
+ // Call release before prepare to let container has time to draw the
+ // control created in PrepareCaseL.
+ ReleaseCaseL();
+ PrepareCaseL( aCmd );
+ TestFunction();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmEikSrvCase::PrepareCaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmEikSrvCase::PrepareCaseL( TInt aCmd )
+ {
+ switch ( aCmd )
+ {
+ case EBCTestEikSrv:
+ // Here is a simple demo. You should create your control
+ // instead of this.
+ iControl = new( ELeave ) CCoeControl();
+ iControl->SetContainerWindowL( *iContainer );
+ iControl->MakeVisible( ETrue );
+ break;
+ default:
+ break;
+ }
+ // Pass the owner of iControl to iContainer.
+ iContainer->SetControl( iControl );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmEikSrvCase::ReleaseCaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmEikSrvCase::ReleaseCaseL()
+ {
+ // let container delete the component control.
+ iContainer->ResetControl();
+ iControl = NULL;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmEikSrvCase::TestLayoutDecorator
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmEikSrvCase::TestFunction()
+ {
+ // Test some API here
+ TestPublicFunction();
+ TestProtectedFunction();
+ }
+void CBCTestAppFrmEikSrvCase::TestProtectedFunction()
+{
+
+}
+
+void CBCTestAppFrmEikSrvCase::TestPublicFunction()
+{
+
+}
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmview.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestappfrmview.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,226 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: view class
+*
+*/
+
+
+#include
+
+#include "bctestappfrm.hrh"
+#include
+#include "bctestappfrmview.h"
+#include "bctestappfrmcontainer.h"
+#include "bctestutil.h"
+#include "bctestaknapplication.h"
+#include "bctestakndoc.h"
+#include "bctestaknviewappui.h"
+#include "bctesteikmobs.h"
+#include "bctestvcurs.h"
+#include "bctesteikenvcase.h"
+
+#include "bctestappfrmcase.h"
+#include "bctestappfrmaknappuicase.h"
+#include "bctestappfrmaknviewcase.h"
+#include "bctestappfrmeikappuicase.h"
+#include "bctestappfrmeiksrvcase.h"
+
+
+
+_LIT( KAppFrmAknAppUICase, "Application Framework AknAppUi case");
+_LIT( KAppFrmAknViewCase, "Application Framework AknView case");
+_LIT( KAppFrmEikAppUICase, "Application Framework EikAppUi case");
+_LIT( KAppFrmEikSrvCase, "Application Framework EikSrv case");
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmView* CBCTestAppFrmView::NewL(CAknViewAppUi* aUI)
+ {
+ CBCTestAppFrmView* self = new( ELeave ) CBCTestAppFrmView();
+ CleanupStack::PushL( self );
+ self->ConstructL(aUI);
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmView::CBCTestAppFrmView()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmView::ConstructL(CAknViewAppUi* aUI)
+ {
+ BaseConstructL( R_BCTESTAPPFRM_VIEW );
+
+ iContainer = new( ELeave ) CBCTestAppFrmContainer();
+ iContainer->SetMopParent( this );
+ iContainer->ConstructL( ClientRect() );
+ AppUi()->AddToStackL( *this, iContainer );
+ iContainer->MakeVisible( ETrue );
+
+ iTestUtil = CBCTestUtil::NewL();
+
+ // Add test case here.
+ iTestUtil->AddTestCaseL( CBCTestAknApplication::NewL(), _L("CBCTestAknApplication") );
+ iTestUtil->AddTestCaseL( CBCTestAknDoc::NewL(), _L("CBCTestAknDoc") );
+ iTestUtil->AddTestCaseL( CBCTestAknViewAppUi::NewL(aUI, Id()), _L("CBCTestAknViewAppUi") );
+ iTestUtil->AddTestCaseL( CBCTestEikMObserver::NewL(), _L("CBCTestEikMObserver") );
+ iTestUtil->AddTestCaseL( CBCTestVCursor::NewL(), _L("CBCTestVCursor") );
+ iTestUtil->AddTestCaseL( CBCTestEikenv::NewL( iContainer ), _L("CBCTestEikEnv") );
+ iTestUtil->AddTestCaseL( CBCTestAppFrmAknAppUICase::NewL(iContainer),
+ KAppFrmAknAppUICase );
+ iTestUtil->AddTestCaseL( CBCTestAppFrmAknViewCase::NewL(iContainer,this),
+ KAppFrmAknViewCase );
+ iTestUtil->AddTestCaseL( CBCTestAppFrmEikAppUICase::NewL(iContainer),
+ KAppFrmEikAppUICase );
+ iTestUtil->AddTestCaseL( CBCTestAppFrmEikSrvCase::NewL(iContainer),
+ KAppFrmEikSrvCase );
+
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestAppFrmView::~CBCTestAppFrmView()
+ {
+ if ( iContainer )
+ {
+ AppUi()->RemoveFromStack( iContainer );
+ }
+ delete iContainer;
+ delete iTestUtil;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmView::Id
+// ---------------------------------------------------------------------------
+//
+TUid CBCTestAppFrmView::Id() const
+ {
+ return KBCTestAppFrmViewId;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmView::DoActivateL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmView::DoActivateL( const TVwsViewId&, TUid, const TDesC8& )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmView::DoDeactivate
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmView::DoDeactivate()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmView::HandleCommandL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmView::HandleCommandL( TInt aCommand )
+ {
+ switch ( aCommand )
+ {
+ case EProgCmdAutoTest:
+ iTestUtil->RunL();
+ break;
+ default:
+ if ( aCommand > EBCTestCmdEmptyOutline &&
+ aCommand < EBCTestCmdMaxOutline )
+ {
+ iTestUtil->RunL( aCommand );
+ }
+ break;
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmView::AppFrmView_cba
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmView::AppFrmView_cba()
+ {
+ Cba();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmView::AppFrmView_StatusPane
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmView::AppFrmView_StatusPane()
+ {
+ StatusPane();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmView::AppFrmView_ViewScreenDeviceChangedL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmView::AppFrmView_ViewScreenDeviceChangedL()
+ {
+ ViewScreenDeviceChangedL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmView::AppFrmView_DoActivateL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmView::AppFrmView_DoActivateL( const TVwsViewId& aViewId,
+ TUid aId , const TDesC8& aDes)
+ {
+ DoActivateL(aViewId,aId,aDes);
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmView::AppFrmView_MopNext
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmView::AppFrmView_MopNext()
+ {
+ MopNext();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmView::AppFrmView_MopSupplyObject
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmView::AppFrmView_MopSupplyObject( TTypeUid aId )
+ {
+ MopSupplyObject( aId );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestAppFrmView::AppFrmView_HandleCommandL
+// ---------------------------------------------------------------------------
+//
+void CBCTestAppFrmView::AppFrmView_HandleCommandL( TInt aCommand )
+ {
+ CAknView::HandleCommandL( aCommand );
+ }
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctesteikenvcase.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctesteikenvcase.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,347 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include "bctesteikenvcase.h"
+#include "bctestappfrmcontainer.h"
+#include "bctestappfrm.hrh"
+
+// ----------------------------------------------------------------------------
+// ctor, do nothing.
+// ----------------------------------------------------------------------------
+//
+CBCTestEikenv::CBCTestEikenv( CBCTestAppFrmContainer* /*aContainer*/ )
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// dtor, do nothing.
+// ----------------------------------------------------------------------------
+//
+CBCTestEikenv::~CBCTestEikenv()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// symbian 2nd phase ctor.
+// ----------------------------------------------------------------------------
+//
+void CBCTestEikenv::ConstructL()
+ {
+ BuildScriptL();
+ iEikenv = CEikonEnv::Static();
+ }
+
+// ----------------------------------------------------------------------------
+// symbian NewL.
+// ----------------------------------------------------------------------------
+//
+CBCTestEikenv* CBCTestEikenv::NewL( CBCTestAppFrmContainer* aContainer )
+ {
+ CBCTestEikenv* self = new ( ELeave ) CBCTestEikenv( aContainer );
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+// ----------------------------------------------------------------------------
+// override the CBCTestCase::RunL, only response to the related command ID.
+// ----------------------------------------------------------------------------
+//
+void CBCTestEikenv::RunL(int aCmd)
+ {
+ if(aCmd != EBCTestCmdEikenv) return;
+ SetupL();
+ TestL();
+ TearDownL();
+ }
+
+// ----------------------------------------------------------------------------
+// build the test scripts for this test case.
+// ----------------------------------------------------------------------------
+//
+void CBCTestEikenv::BuildScriptL()
+ {
+ const TInt scripts[] =
+ {
+ DELAY(1), // delay between commands is 1*0.1 seconds = 0.1 seconds
+ LeftCBA,
+ REP(Down, 5),
+ LeftCBA,
+ LeftCBA,
+ WAIT(20)
+ };
+ AddTestScriptL(scripts, sizeof(scripts)/sizeof(TInt));
+ }
+
+// ----------------------------------------------------------------------------
+// test the volume setting page creation api.
+// ----------------------------------------------------------------------------
+//
+void CBCTestEikenv::TestL()
+ {
+ // Test class CEikonEnv
+ // The following are ok.
+ iEikenv->Version();
+ _LIT( KVersion, "CEikonEnv Version" );
+ AssertNotNullL( iEikenv, KVersion );
+
+ iEikenv->Beep();
+ _LIT( KBeep, "CEikonEnv Beep." );
+ AssertNotNullL( iEikenv, KBeep );
+
+ iEikenv->InfoMsgCancel();
+ _LIT( KInfoMsgCancel, "CEikonEnv InfoMsgCancel." );
+ AssertNotNullL( iEikenv, KInfoMsgCancel );
+
+ TGulAlignment alignment( EHCenterVCenter );
+ TTimeIntervalMicroSeconds32 duration( 1000*1000*5 );
+ _LIT( KShowMsgInfo, "Msg Info!" );
+ TBuf<16> msgInfo( KShowMsgInfo );
+ //VA_LIST list;
+
+ iEikenv->InfoMsg( msgInfo );
+ _LIT( KInfoMsg1, "CEikonEnv InfoMsg(&TDesC) method" );
+ AssertNotNullL( iEikenv, KInfoMsg1 );
+
+ iEikenv->InfoMsg( R_BCTESTAPPFRM_MSGINFO );
+ _LIT( KInfoMsg2, "CEikonEnv InfoMsg(TInt) method" );
+ AssertNotNullL( iEikenv, KInfoMsg2 );
+
+ //iEikenv->InfoMsg( R_BCTESTAPPFRM_MSGINFO, list );
+ _LIT( KInfoMsg3, "CEikonEnv InfoMsg(TInt, VA_LIST) method" );
+ AssertNotNullL( iEikenv, KInfoMsg3 );
+
+ iEikenv->InfoMsgWithDuration( msgInfo, duration );
+ _LIT( KInfoMsg4, "InfoMsgWithDuration first method" );
+ AssertNotNullL( iEikenv, KInfoMsg4 );
+
+ iEikenv->InfoMsgWithDuration( R_BCTESTAPPFRM_MSGINFO, duration );
+ _LIT( KInfoMsg5, "InfoMsgWithDuration second method" );
+ AssertNotNullL( iEikenv, KInfoMsg5 );
+
+ //iEikenv->InfoMsgWithDuration( R_BCTESTAPPFRM_MSGINFO, duration, list );
+ _LIT( KInfoMsg6, "InfoMsgWithDuration third method" );
+ AssertNotNullL( iEikenv, KInfoMsg6 );
+
+ iEikenv->InfoMsgWithAlignment( alignment, msgInfo );
+ _LIT( KInfoMsg7, "InfoMsgWithAlignment first method" );
+ AssertNotNullL( iEikenv, KInfoMsg7 );
+
+ iEikenv->InfoMsgWithAlignment( alignment, R_BCTESTAPPFRM_MSGINFO );
+ _LIT( KInfoMsg8, "InfoMsgWithAlignment second method" );
+ AssertNotNullL( iEikenv, KInfoMsg8 );
+
+ //iEikenv->InfoMsgWithAlignment( alignment, R_BCTESTAPPFRM_MSGINFO, list );
+ _LIT( KInfoMsg9, "InfoMsgWithAlignment third method" );
+ AssertNotNullL( iEikenv, KInfoMsg9 );
+
+ iEikenv->InfoMsgWithAlignmentAndDuration( alignment, msgInfo,duration );
+ _LIT( KInfoMsg10, "InfoMsgWithAlignmentAndDuration first method" );
+ AssertNotNullL( iEikenv, KInfoMsg10 );
+
+ iEikenv->InfoMsgWithAlignmentAndDuration( alignment,
+ R_BCTESTAPPFRM_MSGINFO, duration );
+ _LIT( KInfoMsg11, "InfoMsgWithAlignmentAndDuration second method" );
+ AssertNotNullL( iEikenv, KInfoMsg11 );
+
+ //iEikenv->InfoMsgWithAlignmentAndDuration( alignment,
+ // R_BCTESTAPPFRM_MSGINFO, duration, list );
+ _LIT( KInfoMsg12, "InfoMsgWithAlignmentAndDuration third method" );
+ AssertNotNullL( iEikenv, KInfoMsg12 );
+
+ TGulAlignment busyMsgAlignment( EHLeftVCenter );
+ TTimeIntervalMicroSeconds32 delaytime( 1000*1000*5 );
+ _LIT( KShowBusyMsgInfo, "Busy Msg Info!" );
+ TBuf<16> busyMsgInfo( KShowBusyMsgInfo );
+
+ iEikenv->BusyMsgL( busyMsgInfo );
+ _LIT( KBusyMsg1, "CEikonEnv BusyMsgL first method." );
+ AssertNotNullL( iEikenv, KBusyMsg1 );
+
+ iEikenv->BusyMsgL( busyMsgInfo, busyMsgAlignment );
+ _LIT( KBusyMsg2, "CEikonEnv BusyMsgL second method." );
+ AssertNotNullL( iEikenv, KBusyMsg2 );
+
+ iEikenv->BusyMsgL( R_BCTESTAPPFRM_BUSYMSGINFO );
+ _LIT( KBusyMsg3, "CEikonEnv BusyMsgL third method." );
+ AssertNotNullL( iEikenv, KBusyMsg3 );
+
+ iEikenv->BusyMsgL( busyMsgInfo, delaytime );
+ _LIT( KBusyMsg4, "CEikonEnv BusyMsgL fourth method." );
+ AssertNotNullL( iEikenv, KBusyMsg4 );
+
+ iEikenv->BusyMsgL( busyMsgInfo, busyMsgAlignment, delaytime );
+ _LIT( KBusyMsg5, "CEikonEnv BusyMsgL fifth method." );
+ AssertNotNullL( iEikenv, KBusyMsg5 );
+
+ iEikenv->BusyMsgL( R_BCTESTAPPFRM_BUSYMSGINFO, delaytime );
+ _LIT( KBusyMsg6, "CEikonEnv BusyMsgL sixth method." );
+ AssertNotNullL( iEikenv, KBusyMsg6 );
+
+ iEikenv->BusyMsgCancel();
+ _LIT( KBusyMsgCancel, "CEikonEnv BusyMsgCancel." );
+ AssertNotNullL( iEikenv, KBusyMsgCancel );
+
+ _LIT( KChanges, "CEikonEnv ConfirmLossOfAllChangesL." );
+ AssertTrueL( iEikenv->ConfirmLossOfAllChangesL(), KChanges );
+
+ CCharFormatLayer* cLayer = iEikenv->SystemCharFormatLayerL();
+ CleanupStack::PushL(cLayer);
+ _LIT( KCharFormat, "CEikonEnv SystemCharFormatLayerL." );
+ AssertNotNullL( cLayer, KCharFormat );
+ CleanupStack::Pop(cLayer);
+ cLayer = NULL;
+
+ CParaFormatLayer* pLayer = iEikenv->SystemParaFormatLayerL();
+ CleanupStack::PushL(pLayer);
+ _LIT( KParaFormat, "CEikonEnv SystemParaFormatLayerL." );
+ AssertNotNullL( pLayer, KParaFormat );
+ CleanupStack::Pop(pLayer);
+ pLayer = NULL;
+
+ iEikenv->UpdateTaskNameL();
+ _LIT( KUpdName, "CEikonEnv UpdateTaskNameL." );
+ AssertNotNullL( iEikenv, KUpdName );
+
+ //iEikenv->DisplayTaskList();
+ //_LIT( KDisplayTaskList, "CEikonEnv DisplayTaskList." );
+ //AssertNotNullL( iEikenv, KDisplayTaskList );
+
+ //iEikenv->DismissTaskList();
+ //_LIT( KDismissTask, "CEikonEnv DismissTaskList." );
+ //AssertNotNullL( iEikenv, KDismissTask );
+
+ CParaFormatLayer* paraLayer = iEikenv->NewDefaultParaFormatLayerL();
+ CleanupStack::PushL(paraLayer);
+ _LIT( KNDParaLayer, "CEikonEnv NewDefaultParaFormatLayerL." );
+ AssertNotNullL( paraLayer, KNDParaLayer );
+ CleanupStack::Pop(paraLayer);
+ delete paraLayer;
+
+ CCharFormatLayer* charLayer = iEikenv->NewDefaultCharFormatLayerL();
+ CleanupStack::PushL(charLayer);
+ _LIT( KNDCharLayer, "CEikonEnv NewDefaultCharFormatLayerL." );
+ AssertNotNullL( charLayer, KNDCharLayer );
+ CleanupStack::Pop(charLayer);
+ delete charLayer;
+
+ CParaFormatLayer* singlelineLayer =
+ iEikenv->NewDefaultSingleLineParaFormatLayerL();
+ CleanupStack::PushL(singlelineLayer);
+ _LIT( KNDSParaLayer, "CEikonEnv NewDefaultSingleLineParaFormatLayerL." );
+ AssertNotNullL( singlelineLayer, KNDSParaLayer );
+ CleanupStack::Pop(singlelineLayer);
+ delete singlelineLayer;
+
+ iEikenv->SetBusy( ETrue );
+ _LIT( KSetBusy, "CEikonEnv SetBusy." );
+ AssertNotNullL( iEikenv, KSetBusy );
+
+ _LIT( KIsBusy, "CEikonEnv IsBusy ETrue." );
+ AssertTrueL( iEikenv->IsBusy(), KIsBusy );
+
+ iEikenv->SetSystem( ETrue );
+ _LIT( KSetSystem, "CEikonEnv SetSystem." );
+ AssertNotNullL( iEikenv, KSetSystem );
+
+ _LIT( KIsSystem, "CEikonEnv IsSystem ETrue." );
+ AssertTrueL( iEikenv->IsSystem(), KIsSystem );
+
+ iEikenv->SetDocNameIsAFile( ETrue );
+ _LIT( KSetDocNameIsAFile, "CEikonEnv SetDocNameIsAFile ETrue." );
+ AssertNotNullL( iEikenv, KSetDocNameIsAFile );
+
+ _LIT( KDocNameIsFile, "CEikonEnv DocNameIsAFile ETrue." );
+ AssertTrueL( iEikenv->DocNameIsAFile(), KDocNameIsFile );
+
+ iEikenv->SetRespondsToShutdownEvent( ETrue );
+ _LIT( KShutdownEvent, "CEikonEnv SetRespondsToShutdownEvent ETrue." );
+ AssertNotNullL( iEikenv, KShutdownEvent );
+
+ _LIT( KRespondsToShutdown, "CEikonEnv RespondsToShutdownEvent ETrue." );
+ AssertTrueL( iEikenv->RespondsToShutdownEvent(), KRespondsToShutdown );
+
+ iEikenv->SetRespondsToSwitchFilesEvent( ETrue );
+ _LIT( KSwitchFilesEvent, "SetRespondsToSwitchFilesEvent ETrue." );
+ AssertNotNullL( iEikenv, KSwitchFilesEvent );
+
+ _LIT( KRespondsToSwitch, "CEikonEnv RespondsToSwitchFilesEvent ETrue." );
+ AssertTrueL( iEikenv->RespondsToSwitchFilesEvent(), KRespondsToSwitch );
+
+ _LIT( KAsServerApp, "CEikonEnv StartedAsServerApp." );
+ AssertTrueL( !iEikenv->StartedAsServerApp(), KAsServerApp );
+
+ CEikAppServer* appServer = iEikenv->AppServer();
+ _LIT( KAppServer, "CEikonEnv AppServer." );
+ AssertTrueL( appServer == NULL, KAppServer );
+ appServer = NULL;
+
+ iEikenv->WriteInternalStateOfStackedControlsL();
+ _LIT( KWriteState, "CEikonEnv WriteInternalStateOfStackedControlsL." );
+ AssertNotNullL( iEikenv, KWriteState );
+
+ iEikenv->DoGetErrorText( msgInfo, 12 ); //12 means KErrFolderNotFound
+ // Display the error text via InfoMsg() method.
+ iEikenv->InfoMsg( msgInfo );
+
+ iEikenv->HandleError(12);
+ _LIT( KHandleError, "CEikonEnv HandleError." );
+ AssertNotNullL( iEikenv, KHandleError );
+
+ iEikenv->HandleErrorWithContext( 12, R_BCTESTAPPFRM_MSGINFO );
+ _LIT( KHandleErrorContext, "CEikonEnv HandleErrorWithContext." );
+ AssertNotNullL( iEikenv, KHandleErrorContext );
+
+ TDisplayMode displayMode = iEikenv->DefaultDisplayMode();
+ _LIT( KDisplayMode, "CEikonEnv DefaultDisplayMode." );
+ AssertNotNullL( iEikenv, KDisplayMode );
+
+ iEikenv->UpdateSystemFontsL();
+ _LIT( KUpdFonts, "CEikonEnv UpdateSystemFontsL." );
+ AssertNotNullL( iEikenv, KUpdFonts );
+
+ CColorList* colorList = iEikenv->CreateSystemColorListL();
+ _LIT( KcolorList, "CEikonEnv CreateSystemColorListL NULL." );
+ AssertTrueL( colorList==NULL, KcolorList );
+ }
+
+// ----------------------------------------------------------------------------
+// prepare for the test.
+// ----------------------------------------------------------------------------
+//
+void CBCTestEikenv::SetupL()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// do release jobs.
+// ----------------------------------------------------------------------------
+//
+void CBCTestEikenv::TearDownL()
+ {
+ }
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctesteikmobs.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctesteikmobs.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,128 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+#include "bctestappfrm.hrh"
+#include "streamlogger.h"
+#include "bctesteikmobs.h"
+#include "eikcmobs.h"
+
+class CMonkObserver: public MEikCommandObserver, public CBase{
+public:
+ CMonkObserver(): MEikCommandObserver(){}
+ void ProcessCommandL(TInt /*aCommandId*/){}
+ CCoeControl* CreateCustomCommandControlL(TInt aControlType){
+ return MEikCommandObserver::CreateCustomCommandControlL(aControlType);
+ }
+};
+
+// ----------------------------------------------------------------------------
+// ctor, do nothing.
+// ----------------------------------------------------------------------------
+//
+CBCTestEikMObserver::CBCTestEikMObserver()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// dtor, do nothing.
+// ----------------------------------------------------------------------------
+//
+CBCTestEikMObserver::~CBCTestEikMObserver()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// symbian 2nd phase ctor.
+// ----------------------------------------------------------------------------
+//
+void CBCTestEikMObserver::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ----------------------------------------------------------------------------
+// symbian NewL.
+// ----------------------------------------------------------------------------
+//
+CBCTestEikMObserver* CBCTestEikMObserver::NewL()
+ {
+ CBCTestEikMObserver* self = new ( ELeave ) CBCTestEikMObserver();
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+// ----------------------------------------------------------------------------
+// override the CBCTestCase::RunL, only response to the related command ID.
+// ----------------------------------------------------------------------------
+//
+void CBCTestEikMObserver::RunL(int aCmd)
+ {
+ if(aCmd != EBCTestCmdEikMObserver) return;
+ SetupL();
+ TestL();
+ TearDownL();
+ }
+
+// ----------------------------------------------------------------------------
+// build the test scripts for this test case.
+// ----------------------------------------------------------------------------
+//
+void CBCTestEikMObserver::BuildScriptL()
+ {
+ const TInt scripts[] =
+ {
+ DELAY(1), // delay between commands is 1*0.1 seconds = 0.1 seconds
+ LeftCBA,
+ REP(Down, 3),
+ LeftCBA
+ };
+ AddTestScriptL(scripts, sizeof(scripts)/sizeof(TInt));
+ }
+
+// ----------------------------------------------------------------------------
+// test the volume setting page creation api.
+// ----------------------------------------------------------------------------
+//
+void CBCTestEikMObserver::TestL()
+ {
+ CMonkObserver* obs = new (ELeave) CMonkObserver;
+ AssertNotNullL(obs, _L("MEikObserver ctor invoked"));
+
+ AssertTrueL( NULL == obs->CreateCustomCommandControlL(0),
+ _L("MEikCommandObserver::CreateCustomCommandControlL() invoked") );
+
+ delete obs;
+ }
+
+// ----------------------------------------------------------------------------
+// prepare for the test.
+// ----------------------------------------------------------------------------
+//
+void CBCTestEikMObserver::SetupL()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// do release jobs.
+// ----------------------------------------------------------------------------
+//
+void CBCTestEikMObserver::TearDownL()
+ {
+ }
+
+//end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestvcurs.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestappfrm/src/bctestvcurs.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,117 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+#include "bctestappfrm.hrh"
+#include "streamlogger.h"
+#include "bctestvcurs.h"
+#include "eikcmobs.h"
+
+// ----------------------------------------------------------------------------
+// ctor, do nothing.
+// ----------------------------------------------------------------------------
+//
+CBCTestVCursor::CBCTestVCursor()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// dtor, do nothing.
+// ----------------------------------------------------------------------------
+//
+CBCTestVCursor::~CBCTestVCursor()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// symbian 2nd phase ctor.
+// ----------------------------------------------------------------------------
+//
+void CBCTestVCursor::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ----------------------------------------------------------------------------
+// symbian NewL.
+// ----------------------------------------------------------------------------
+//
+CBCTestVCursor* CBCTestVCursor::NewL()
+ {
+ CBCTestVCursor* self = new ( ELeave ) CBCTestVCursor();
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+// ----------------------------------------------------------------------------
+// override the CBCTestCase::RunL, only response to the related command ID.
+// ----------------------------------------------------------------------------
+//
+void CBCTestVCursor::RunL(int aCmd)
+ {
+ if(aCmd != EBCTestCmdVCursor) return;
+ SetupL();
+ TestL();
+ TearDownL();
+ }
+
+// ----------------------------------------------------------------------------
+// build the test scripts for this test case.
+// ----------------------------------------------------------------------------
+//
+void CBCTestVCursor::BuildScriptL()
+ {
+ const TInt scripts[] =
+ {
+ DELAY(1), // delay between commands is 1*0.1 seconds = 0.1 seconds
+ LeftCBA,
+ REP(Down, 4),
+ LeftCBA
+ };
+ AddTestScriptL(scripts, sizeof(scripts)/sizeof(TInt));
+ }
+
+// ----------------------------------------------------------------------------
+// test the volume setting page creation api.
+// ----------------------------------------------------------------------------
+//
+void CBCTestVCursor::TestL()
+ {
+ CCoeEnv* env = CCoeEnv::Static();
+ TEikVirtualCursor& ref = CEikonEnv::Static()->VirtualCursor();
+ ref.SetCursorStateL( TEikVirtualCursor::EOn, *env);
+ AssertTrueL( TEikVirtualCursor::EOn == ref.CursorState(*env),
+ _L("Get State is equal to EOn"));
+ }
+
+// ----------------------------------------------------------------------------
+// prepare for the test.
+// ----------------------------------------------------------------------------
+//
+void CBCTestVCursor::SetupL()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// do release jobs.
+// ----------------------------------------------------------------------------
+//
+void CBCTestVCursor::TearDownL()
+ {
+ }
+
+//end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/datasrc/sampleicon.bmp
Binary file apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/datasrc/sampleicon.bmp has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/datasrc/sampleiconmask.bmp
Binary file apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/datasrc/sampleiconmask.bmp has changed
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/group/bctestbuttons.mmp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/group/bctestbuttons.mmp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,101 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: project specification file for the bctestbuttons.
+*
+*/
+
+
+TARGET bctestbuttons.exe
+TARGETTYPE exe
+UID 0x0 0x20004744
+
+VENDORID 0x101FB657
+CAPABILITY NetworkServices LocalServices Location ReadUserData \
+ WriteUserData ReadDeviceData WriteDeviceData SwEvent \
+ UserEnvironment
+
+TARGETPATH /sys/bin
+
+EPOCSTACKSIZE 0x10000
+EPOCHEAPSIZE 0x10000 0x1000000
+
+START RESOURCE bctestbuttons.rss
+HEADER
+TARGETPATH resource/apps
+END // RESOURCE
+
+//LANG 01
+
+SOURCEPATH ../src
+SOURCE bctestbuttonsapp.cpp
+SOURCE bctestbuttonsdocument.cpp
+SOURCE bctestbuttonsappui.cpp
+SOURCE bctestbuttonsview.cpp
+SOURCE bctestbuttonscontainer.cpp
+SOURCE bctestbuttonscase.cpp
+
+USERINCLUDE ../../../bctestutil/inc
+
+#ifdef SBSV2
+ USERINCLUDE ../inc
+ #if defined(__S60_)
+ APP_LAYER_SYSTEMINCLUDE
+ #else // __S60_ not defined
+ SYSTEMINCLUDE /epoc32/include
+ #endif // __S60_
+#else // SBSV2 not defined
+ USERINCLUDE ../inc
+ #if defined(__S60_)
+ APP_LAYER_SYSTEMINCLUDE
+ #else // __S60_ not defined
+ SYSTEMINCLUDE /epoc32/include
+ #endif // __S60_
+#endif // SBSV2
+
+LIBRARY euser.lib
+LIBRARY apparc.lib
+LIBRARY cone.lib
+LIBRARY eikcore.lib
+LIBRARY eikcoctl.lib
+LIBRARY avkon.lib
+LIBRARY ws32.lib
+LIBRARY AknSkins.lib
+LIBRARY apgrfx.lib
+LIBRARY bctestutil.lib
+LIBRARY efsrv.lib
+
+LIBRARY estor.lib
+LIBRARY aknicon.lib
+LIBRARY bafl.lib
+
+
+
+// Creates Mbm file.
+START BITMAP bctestbuttons.mbm
+HEADER
+TARGETPATH /resource/apps
+SOURCEPATH ../datasrc
+SOURCE C8 sampleicon.bmp
+SOURCE C8 sampleiconmask.bmp
+END
+
+// Changes for Scalable UI:
+// New registration resource defined.
+// else Normal AIF will work.
+
+START RESOURCE ../group/bctestbuttons_reg.rss
+HEADER
+TARGETPATH /private/10003a3f/apps
+END
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/group/bctestbuttons.rss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/group/bctestbuttons.rss Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,389 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: resources for the module
+*
+*/
+
+
+// RESOURCE IDENTIFIER
+NAME BUTT
+
+// INCLUDES
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include "bctestbuttons.hrh"
+#include "bctestbuttons.loc"
+
+// CONSTANTS
+#define APP_BITMAP_DIR "\\resource\\apps"
+#define AVKON_BMP_FILENAME AVKON_ICON_FILE
+#define BCTESTBUTTONS_BMP_FNAME APP_BITMAP_DIR"\\bctestbuttons.mbm"
+
+
+// MACROS
+
+
+
+// RESOURCE DEFINITIONS
+//-----------------------------------------------------------------------------
+//
+// RSS_SIGNATURE
+//
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE RSS_SIGNATURE
+ {
+ }
+
+//-----------------------------------------------------------------------------
+//
+// TBUF16
+//
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE TBUF16
+ {
+ buf = qtn_bctest_buf;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// EIK_APP_INFO
+//
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE EIK_APP_INFO
+ {
+ menubar = r_bctestbuttons_menubar_main;
+ cba = r_bctestbuttons_cba_options_next;
+ }
+
+//-----------------------------------------------------------------------------
+// Provide Caption and Icon Info for Scalable UI
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE LOCALISABLE_APP_INFO r_bctestbuttons_localisable_app_info
+ {
+ short_caption = qtn_apps_tavl_grid;
+
+ caption_and_icon =
+ CAPTION_AND_ICON_INFO
+ {
+ caption = qtn_apps_tavl_list;
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestbuttons_view
+// AVKON_VIEW for CBCTestButtonsView
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_bctestbuttons_view
+ {
+ menubar = r_bctestbuttons_menubar_main;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestbuttons_menubar
+// MenuBar
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_BAR r_bctestbuttons_menubar_main
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_bctestbuttons_menu;
+ },
+ MENU_TITLE
+ {
+ menu_pane = r_bctestbuttons_case_menu;
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestbuttons_case_menu
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestbuttons_case_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EBCTestCmdTestEikBgftyAndEikBtgpcL;
+ txt = qtn_bctestbuttons_testeikbgftyandeikbtgcl;
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdTestEikButbAndEikCbaL;
+ txt = qtn_bctestbuttons_testeikbutbandeikcbal;
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCEikCommandButtonL;
+ txt = qtn_bctestbuttons_testceikcommandbuttonl;
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCEikTwoPictureCmdL;
+ txt = qtn_bctestbuttons_testceikpicturecmdl;
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCEikInverterCmdL;
+ txt = qtn_bctestbuttons_testceikinvertercmdl;
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCEikTextBtnL;
+ txt = qtn_bctestbuttons_testceiktextbtnl;
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCEikBitmapBtnL;
+ txt = qtn_bctestbuttons_testceikbitmapbtnl;
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCEikLabeledBtnL;
+ txt = qtn_bctestbuttons_testceiklabeledbtnl;
+ },
+ MENU_ITEM
+ {
+ command = EBCTestMnbutAndBtgpsAndBtgrpL;
+ txt = qtn_bctestbuttons_testmnbutandbtgpsandbtgrpl;
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCba;
+ txt = qtn_bctestbuttons_testcba;
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestbuttons_menu
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestbuttons_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EProgCmdAutoTest;
+ txt = qtn_bctestbuttons_autotest;
+ },
+ MENU_ITEM // Menu "Exit"
+ {
+ command = EAknCmdExit;
+ txt = qtn_bctestbuttons_menu_exit;
+ }
+ };
+ }
+
+// ----------------------------------------------------------------------------
+//
+// r_bctestbuttons_cba_options_next
+// ?description
+//
+// ----------------------------------------------------------------------------
+//
+
+RESOURCE CBA r_bctestbuttons_cba_options_next
+ {
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id=EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = EBCTestButtonsCbaCmdNext;
+ txt = qtn_bctestbuttons_cba_next;
+ }
+ };
+ }
+// ----------------------------------------------------------------------------
+//
+// r_bctestbuttons_toolbar
+// ?description
+//
+// ----------------------------------------------------------------------------
+//
+RESOURCE TOOLBAR r_bctestbuttons_toolbar
+ {
+ length=0;
+ breadth=KEikStdToolBarWidth;
+ lines=1;
+ flags=0;
+ extension=0;
+ }
+
+// ----------------------------------------------------------------------------
+//
+// r_aknatbutton_button_mnbut
+// ?description
+//
+// ----------------------------------------------------------------------------
+//
+RESOURCE MNBUT r_bctestbuttons_mnbut
+ {
+ popout=0;
+ version=0;
+ behavior=0;
+ layout=0; // ETextRightPictureLeft
+ helptxt="";
+ extension=0;
+ txt="";
+ bmpfile="";
+ bmpid=0xffff;
+ bmpmask=0xffff;
+ }
+// ----------------------------------------------------------------------------
+//
+// r_bctestbuttons_picmbut
+// ?description
+//
+// ----------------------------------------------------------------------------
+//
+RESOURCE PICMBUT r_bctestbuttons_picmbut
+ {
+ version=0;
+ behavior=0;
+ layout=0; // ETextRightPictureLeft|EEikCmdButShareExcess
+ helptxt="";
+ extension=0;
+ txt="";
+ bmpfile = BCTESTBUTTONS_BMP_FNAME;
+ bmpid = EMbmBctestbuttonsSampleicon;
+ bmpmask= EMbmBctestbuttonsSampleiconmask;
+ bmpsecondid= EMbmBctestbuttonsSampleicon;
+ bmpsecondmask= EMbmBctestbuttonsSampleiconmask;
+ }
+// ----------------------------------------------------------------------------
+//
+// r_bctestbuttons_txtbut
+// ?description
+//
+// ----------------------------------------------------------------------------
+//
+RESOURCE TXTBUT r_bctestbuttons_txtbut
+ {
+ version=0;
+ behavior=0;
+ layout=0; // EFirstRightSecondLeft|EEikCmdButShareExcess
+ helptxt="";
+ extension=0;
+ txt1="";
+ txt2="";
+ }
+// ----------------------------------------------------------------------------
+//
+// r_bctest_lbbut
+// ?description
+//
+// ----------------------------------------------------------------------------
+//
+RESOURCE LBBUT r_bctestbuttons_lbbut
+ {
+ buttontype=0; // EEikCtCommandButton
+ button = CMBUT
+ {
+ version=0;
+ behavior=0;
+ layout=0; // ETextRightPictureLeft|EEikCmdButShareExcess
+ helptxt="";
+ extension=0;
+ txt="";
+ bmpfile= BCTESTBUTTONS_BMP_FNAME;
+ bmpid=EMbmBctestbuttonsSampleicon;
+ bmpmask=EMbmBctestbuttonsSampleiconmask;
+ };
+ hotkey=0;
+ flags=1; // EEikLabeledButtonShowHotKey
+ }
+
+// ----------------------------------------------------------------------------
+//
+// r_aknatbutton_button_cmbut
+// ?description
+//
+// ----------------------------------------------------------------------------
+//
+RESOURCE CMBUT r_bctestbuttons_cmbut
+ {
+ version=0;
+ behavior=0;
+ layout=0; // ETextRightPictureLeft|EEikCmdButShareExcess
+ helptxt="";
+ extension=0;
+ txt="";
+ bmpfile="";
+ bmpid=0xffff;
+ bmpmask=0xffff;
+ }
+
+// ----------------------------------------------------------------------------
+//
+// r_aknatbutton_button_cmbut
+// ?description
+//
+// ----------------------------------------------------------------------------
+//
+RESOURCE BMPBUT r_bctestbuttons_bmpbut
+ {
+ version = 0;
+ behavior = 0;
+ layout = 0; // ETextRightPictureLeft|EEikCmdButShareExcess
+ helptxt = "";
+ extension = 0;
+ bmp1file = BCTESTBUTTONS_BMP_FNAME;
+ bmp1id = EMbmBctestbuttonsSampleicon;
+ bmp1mask = EMbmBctestbuttonsSampleiconmask;
+ bmp2file= BCTESTBUTTONS_BMP_FNAME;
+ bmp2id=EMbmBctestbuttonsSampleicon;
+ bmp2mask = EMbmBctestbuttonsSampleiconmask;
+ }
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/group/bctestbuttons_reg.rss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/group/bctestbuttons_reg.rss Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,39 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: bctestbuttons resource header file
+*
+*/
+
+
+
+#include
+#include
+
+#include "bctestbuttons.loc"
+
+UID2 KUidAppRegistrationResourceFile
+UID3 0x20004744 // application UID
+
+RESOURCE APP_REGISTRATION_INFO
+ {
+ app_file = qtn_bctest_app_file;
+ localisable_resource_file = qtn_bctest_resource;
+ localisable_resource_id = R_BCTESTBUTTONS_LOCALISABLE_APP_INFO;
+ hidden = KAppIsHidden;
+ embeddability = KAppNotEmbeddable;
+ //newfile = KAppDoesNotSupportNewFile;
+ //launch = KAppLaunchInForeground;
+ group_name = qtn_bctest_group;
+ //default_screen_number = 2;
+ }
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/group/bld.inf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/group/bld.inf Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,22 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: build information
+*
+*/
+
+
+
+PRJ_MMPFILES
+
+bctestbuttons.mmp
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/StreamLogger.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/StreamLogger.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,124 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+//
+// just for simple use,
+// this file doesn't following any code convensions or symbian rules.
+//
+
+#ifndef __DLL_LOGGER_H__
+#define __DLL_LOGGER_H__
+
+#include // link against efsrv.lib
+#include
+
+#define CERR StreamLogger::begin()
+
+/**
+* usage: StreamLogger::begin()<<"your string"<FsSession();
+ if ( file.Open( fs, KLogFile, EFileWrite | EFileShareAny ) != KErrNone )
+ file.Create( fs, KLogFile, EFileWrite | EFileShareAny );
+
+ TInt pos=0; // this must be 0
+ file.Seek( ESeekEnd, pos );
+ }
+
+ ~LogFile(){
+ file.Close();
+ }
+
+ RFile& operator()(){ return file; }
+ private:
+ RFile file;
+ };
+
+public:
+ ~StreamLogger(){}
+
+ static StreamLogger& begin(){
+ StreamLogger* self = new (ELeave) StreamLogger;
+ return *self;
+ }
+
+ void suicide(){ delete this; }
+
+ StreamLogger& operator<<(const TDesC& aText){
+ LogFile file;
+
+ HBufC8* text = HBufC8::NewL( aText.Length() );
+ TPtr8 textPtr = text->Des();
+ textPtr.Copy( aText );
+ file().Write( *text );
+ delete text;
+
+ return *this;
+ }
+
+ StreamLogger& operator<<(TInt n){
+ LogFile file;
+
+ TInt i=1;
+ for(TInt v=n; v!=0; ++i, v/=10){}
+ HBufC* text = HBufC::NewL( i );
+ TPtr textPtr = text->Des();
+
+ _LIT(KFmt, "%d");
+ textPtr.Format( KFmt, n );
+ HBufC8* text8 = HBufC8::NewL( textPtr.Length() );
+ TPtr8 textPtr8 = text8->Des();
+ textPtr8.Copy(*text);
+
+ file().Write( *text8 );
+ delete text;
+ delete text8;
+
+ return *this;
+ }
+
+ StreamLogger& cr(){
+ LogFile file;
+ TBuf8<2> enter;
+ enter.Append( 13 );
+ enter.Append( 10 );
+ file().Write( enter );
+ return *this;
+ }
+
+ typedef StreamLogger& (*_Manipulator)(StreamLogger&);
+ StreamLogger& operator<<(_Manipulator op){ return op(*this); }
+
+private:
+ StreamLogger(){} //disable ctor
+};
+
+inline StreamLogger& end(StreamLogger& self){ self.suicide(); return self; }
+
+inline StreamLogger& endl(StreamLogger& self){ self.cr(); return self; }
+
+#endif //__FILE_LOGGER_H__
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttons.hrh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttons.hrh Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,51 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: bctestbuttons resource header file
+*
+*/
+
+
+#ifndef BCTESTBUTTONS_HRH
+#define BCTESTBUTTONS_HRH
+
+enum TBCTestButtonsMenuCommands
+ {
+ EBCTestCmdEmptyOutline = 0x6000,
+ EBCTestCmdTestEikBgftyAndEikBtgpcL,
+ EBCTestCmdTestEikButbAndEikCbaL,
+ EBCTestCEikCommandButtonL,
+ EBCTestCEikTwoPictureCmdL,
+ EBCTestCEikInverterCmdL,
+ EBCTestCEikTextBtnL,
+ EBCTestCEikBitmapBtnL,
+ EBCTestCEikLabeledBtnL,
+ EBCTestMnbutAndBtgpsAndBtgrpL,
+ EBCTestCba,
+ EBCTestCmdMaxOutline,
+
+ EProgCmdAutoTest
+ };
+
+enum TBCTestButtonsCba
+ {
+ EBCTestButtonsCbaCmdNext = 0x6300
+ };
+enum TBCTestButtons
+ {
+ EToolbarTestCmdToolbarButton1 = 0x6600,
+ EToolbarTestCmdToolbarButton2
+ };
+
+#endif // BCTESTBUTTONS_HRH
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttons.loc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttons.loc Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,61 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: BCTestButtons localise file
+*
+*/
+
+// LOCALISATION STRINGS
+
+// Caption
+#define qtn_apps_tavl_list "BCTESTBUTTONS"
+#define qtn_apps_tavl_grid "BCTESTBUTTONS"
+
+// MenuBar
+#define qtn_bctestbuttons_menubar "Option"
+#define qtn_bctestbuttons_cba_next "Next"
+#define qtn_bctestbuttons_autotest "Autotest"
+#define qtn_bctestbuttons_menu_exit "Exit"
+//Name
+#define qtn_bctest_buf "bctestbuttons"
+#define qtn_bctest_app_file "bctestbuttons"
+#define qtn_bctest_resource "\\resource\\apps\\bctestbuttons"
+#define qtn_bctest_group "BCTest"
+
+// softkey
+#define text_softkey_option "Options"
+
+// outline
+#define qtn_bctestbuttons_testeikbgftyandeikbtgcl "TestEikBgftyAndEikBtgc"
+#define qtn_bctestbuttons_testeikbutbandeikcbal "TestEikButbAndEikCba"
+#define qtn_bctestbuttons_testceikcommandbuttonl "TestEikCommandButton"
+#define qtn_bctestbuttons_testceikpicturecmdl \
+ "TestCEikPictureCommandButton"
+#define qtn_bctestbuttons_testceikinvertercmdl \
+ "TestCEikInverterCommandButton"
+#define qtn_bctestbuttons_testceiktextbtnl "TestCEikTextButton"
+#define qtn_bctestbuttons_testceikbitmapbtnl "TestCEikBitmapButton"
+#define qtn_bctestbuttons_testceiklabeledbtnl "TestCEikLabeledButton"
+#define qtn_bctestbuttons_testmnbutandbtgpsandbtgrpl \
+ "TestEikMnbutAndEikBtgpsAndEikBtgrp"
+#define qtn_bctestbuttons_testcba "TestCBA"
+#define qtn_aknbutton_help0 "help0 button"
+#define qtn_aknatbutton_text0 "text0"
+
+
+#define qtn_bctestvolume_label_outline06 \
+"Press 2/8 <-, ->\nor side volume keys\nto see AknVolumePopup\n0,1 \
+ to change label"
+
+// Application name
+#define qtn_bctestvolume_text_other_app_name "BCTestSoftkey"
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttonsapp.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttonsapp.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,55 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Declares main application class.
+*
+*/
+
+
+#ifndef C_CBCTESTBUTTONSAPP_H
+#define C_CBCTESTBUTTONSAPP_H
+
+// INCLUDES
+#include
+
+// CONSTANTS
+const TUid KUidBCTestButtons = { 0x20004744 }; // UID of the application.
+
+// CLASS DECLARATION
+
+/**
+* CBCTestButtonsApp application class.
+* Provides factory to create concrete document object.
+*/
+class CBCTestButtonsApp : public CAknApplication
+ {
+private: // From CApaApplication
+
+ /**
+ * From CApaApplication, CreateDocumentL.
+ * Creates CBCTestButtonsDocument document object.
+ * @return A pointer to the created document object.
+ */
+ CApaDocument* CreateDocumentL();
+
+ /**
+ * From CApaApplication, AppDllUid.
+ * Returns application's UID ( KUidBCTestButtons ).
+ * @return The value of KUidBCTestButtons.
+ */
+ TUid AppDllUid() const;
+
+ };
+
+#endif
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttonsappUi.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttonsappUi.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,66 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test BC for Buttons control API.
+*
+*/
+
+
+#ifndef C_BCTESTBUTTONSAPPUI_H
+#define C_BCTESTBUTTONSAPPUI_H
+
+#include
+
+class CBCTestButtonsView;
+
+/**
+ * Application UI class
+ */
+class CBCTestButtonsAppUi : public CAknViewAppUi
+ {
+public: // Constructors and destructor
+
+ /**
+ * ctor
+ */
+ CBCTestButtonsAppUi();
+
+ /**
+ * symbian 2nd ctor
+ */
+ void ConstructL();
+
+ /**
+ * dtor
+ */
+ virtual ~CBCTestButtonsAppUi();
+
+private:
+
+ /**
+ * From CEikAppUi
+ */
+ void HandleCommandL( TInt aCommand );
+
+private: // data
+
+ /**
+ * pointor to the view.
+ * own
+ */
+ CBCTestButtonsView* iView;
+ };
+
+#endif // C_BCTESTBUTTONSAPPUI_H
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttonscase.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttonscase.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,225 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef BCTEST_BUTTONSCASE_H
+#define BCTEST_BUTTONSCASE_H
+
+#include
+#include
+#include
+
+#include "bctestcase.h"
+
+class CBCTestButtonsContainer;
+class CCoeControl;
+class CEikLabeledButton;
+class CEikTwoPictureCommandButton;
+class CBCTestCmdBtnBase;
+
+/**
+* test case for various list classes
+*/
+class CBCTestButtonsCase: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestButtonsCase* NewL( CBCTestButtonsContainer* aContainer );
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestButtonsCase();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Test TestEikBgftyAndEikBtgpcL
+ */
+ void TestEikBgftyAndEikBtgpcL();
+ /**
+ * Test TestEIKBTGPCL
+ */
+ void TestEikButbAndEikCbaL();
+ /**
+ * Test TestCEikCommandButton
+ */
+ void TestCEikCommandButtonL();
+ /**
+ * Test TestCEikTwoPictureCmd
+ */
+ void TestCEikTwoPictureCmdL();
+ /**
+ * Test TestCEikInverterCmdL
+ */
+ void TestCEikInverterCmdL();
+ /**
+ * Test TestCEikTextBtnL
+ */
+ void TestCEikTextBtnL();
+ /**
+ * Test TestCEikBitmapBtnL
+ */
+ void TestCEikBitmapBtnL();
+ /**
+ * Test TestEikCmbutAndEikLbbutL
+ */
+ void TestCEikLabeledBtnL();
+ /**
+ * Test TestMnbutAndBtgpsAndBtgrpL
+ */
+ void TestMnbutAndBtgpsAndBtgrpL();
+
+ /**
+ * Test TestCbaButtonL
+ */
+ void TestCbaButtonL();
+
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestButtonsCase( CBCTestButtonsContainer* aContainer );
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+ CEikCommandButton* SetupCommandBtnL();
+ void TeardownCommandBtnL(CEikCommandButton* aBtn);
+ void TestSetBtnLayoutL();
+ void TestExcessSpace();
+ void TestStuff();
+ void TestImgBtnL();
+ void TestStackRelatedL();
+ void TestCommandButtonBaseL();
+ void TestButtonBaseL();
+
+ CEikTwoPictureCommandButton* SetupTwoPictureCmdL();
+ void TestSetTwoPicturesL();
+ void TeardownTwoPictureCmdL( CEikTwoPictureCommandButton* aBtn );
+
+ CEikInverterCommandButton* SetupInverterCmdL();
+ void TeardownInverterCmdL( CEikInverterCommandButton* aBtn );
+
+ CEikTextButton* SetupTextBtnL();
+ void TeardownTextBtnL( CEikTextButton* aBtn );
+
+ CEikBitmapButton* SetupBitmapBtnL();
+ void TeardownBitmapBtnL( CEikBitmapButton* aBtn );
+
+ CEikLabeledButton* SetupLabeledBtnLC();
+ void TeardownLabeledBtnL( CEikLabeledButton* aBtn );
+
+private: // data
+
+ CBCTestCmdBtnBase* iCmdBtnBase;//own
+
+ /**
+ * Pointer to container.
+ * not own
+ */
+ CBCTestButtonsContainer* iContainer;
+
+ CEikonEnv* iEnv;
+
+ };
+/**
+* For MEikCommandObserver classes test
+*/
+class TBCTestCommandObserver: public MEikCommandObserver
+ {
+ void ProcessCommandL( TInt aCommandId );
+ };
+/**
+* For MEikMenuObserver classes test
+*/
+class TBCTestMenuObserver: public MEikMenuObserver
+ {
+ void SetEmphasis(CCoeControl* aMenuControl,TBool aEmphasis);
+
+ void ProcessCommandL( TInt aCommandId );
+ };
+/**
+* For CEikLabeledButton classes test
+*/
+class CBCTestLabeledButton: public CEikLabeledButton
+ {
+ friend class CBCTestButtonsCase;
+ };
+/**
+* For CEikTwoPictureCommandButton classes test
+*/
+
+class CBCTestTwoPicture: public CEikTwoPictureCommandButton
+ {
+ friend class CBCTestButtonsCase;
+ };
+
+/**
+* For CEikCommandButtonBase classes test
+*/
+
+class CBCTestCmdBtnBase: public CEikCommandButtonBase
+ {
+ friend class CBCTestButtonsCase;
+ };
+/**
+* For CEikButtonBase classes test
+*/
+
+class CBCTestBtnBase: public CEikButtonBase
+ {
+ friend class CBCTestButtonsCase;
+ };
+
+/**
+ * For CEikInverterCommandButton classes test
+ */
+class CBCTestInverterCmdButton: public CEikInverterCommandButton
+ {
+ friend class CBCTestButtonsCase;
+ };
+
+/**
+ * For CEikMenuButton classes test
+ */
+class CBCTestMenuButton: public CEikMenuButton
+ {
+ friend class CBCTestButtonsCase;
+ };
+
+#endif // BCTEST_BUTTONSCASE_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttonscontainer.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttonscontainer.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,86 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: container
+*
+*/
+
+#ifndef C_CBCTESTBUTTONSCONTAINER_H
+#define C_CBCTESTBUTTONSCONTAINER_H
+
+#include
+
+/**
+* container class
+*/
+class CBCTestButtonsContainer: public CCoeControl
+ {
+public: // constructor and destructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestButtonsContainer();
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestButtonsContainer();
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL( const TRect& aRect );
+
+ /**
+ * Set component control, and container will own the control
+ * @param aControl pointer to a control.
+ */
+ void SetControlL( CCoeControl* aControl );
+
+ /**
+ * Delete control
+ */
+ void ResetControl();
+
+ /**
+ * Return count of component controls
+ */
+ TInt CountComponentControls() const;
+
+ /**
+ * Return pointer to component control specified by index
+ * @param aIndex, a index to specify a component control
+ */
+ CCoeControl* ComponentControl( TInt aIndex ) const;
+
+private: // from CCoeControl
+
+ /**
+ * From CCoeControl, Draw.
+ * Fills the window's rectangle.
+ * @param aRect Region of the control to be (re)drawn.
+ */
+ void Draw( const TRect& aRect ) const;
+
+private: // data
+
+ /**
+ * Pointer to component control.
+ * own
+ */
+ CCoeControl* iControl;
+
+ };
+
+#endif // BCTESTBUTTONSCONTAINER_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttonsdocument.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttonsdocument.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,71 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+#ifndef C_BCTESTBUTTONSDOCUMENT_H
+#define C_BCTESTBUTTONSDOCUMENT_H
+
+// INCLUDES
+#include
+
+// CONSTANTS
+
+// FORWARD DECLARATIONS
+class CEikAppUi;
+
+// CLASS DECLARATION
+
+/**
+* CBCTestButtonsDocument application class.
+*/
+class CBCTestButtonsDocument : public CEikDocument
+ {
+public: // Constructors and destructor
+
+ /**
+ * Symbian OS two-phased constructor.
+ * @return Pointer to created Document class object.
+ * @param aApp Reference to Application class object.
+ */
+ static CBCTestButtonsDocument* NewL( CEikApplication& aApp );
+
+ /**
+ * Destructor.
+ */
+ virtual ~CBCTestButtonsDocument();
+
+private: // Constructors
+
+ /**
+ * Overload constructor.
+ * @param aApp Reference to Application class object.
+ */
+ CBCTestButtonsDocument( CEikApplication& aApp );
+
+private: // From CEikDocument
+
+ /**
+ * From CEikDocument, CreateAppUiL.
+ * Creates CBCTestButtonsAppUi "App UI" object.
+ * @return Pointer to created AppUi class object.
+ */
+ CEikAppUi* CreateAppUiL();
+
+ };
+
+#endif // C_BCTESTBUTTONSDOCUMENT_H
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttonsview.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/inc/bctestbuttonsview.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,98 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test BC for Buttons control API.
+*
+*/
+
+
+#ifndef C_CBCTESTBUTTONSVIEW_H
+#define C_CBCTESTBUTTONSVIEW_H
+
+#include
+
+const TUid KBCTestButtonsViewId = { 1 };
+
+class CBCTestButtonsContainer;
+class CBCTestUtil;
+
+/**
+ * Application UI class
+ */
+class CBCTestButtonsView : public CAknView
+ {
+public: // Constructors and destructor
+
+ /**
+ * Symbian static 2nd constructor
+ */
+ static CBCTestButtonsView* NewL();
+
+ /**
+ * dtor
+ */
+ virtual ~CBCTestButtonsView();
+
+ /**
+ * Return view Id.
+ */
+ TUid Id() const;
+
+ /**
+ * From CAknView, HandleCommandL.
+ * @param aCommand Command to be handled.
+ */
+ void HandleCommandL( TInt aCommand );
+
+protected: // from CAknView
+
+ /**
+ * When view is activated, do something
+ */
+ void DoActivateL( const TVwsViewId&, TUid, const TDesC8& );
+
+ /**
+ * When view is deactivated, do something
+ */
+ void DoDeactivate();
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestButtonsView();
+
+ /**
+ * symbian 2nd ctor
+ */
+ void ConstructL();
+
+private: // data
+
+ /**
+ * pointor to the BC Test framework utility.
+ * own
+ */
+ CBCTestUtil* iTestUtil;
+
+ /**
+ * pointor to the container.
+ * own
+ */
+ CBCTestButtonsContainer* iContainer;
+
+ };
+
+#endif // BCTESTBUTTONSVIEW_H
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/sis/bctestbuttons.pkg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/sis/bctestbuttons.pkg Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,51 @@
+;
+; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;
+; BCTestButtons-3.pkg
+
+; Languages
+&EN
+
+; Header
+#{"UIFW_BCTestButtons"},(0x20004744),1,0,0,TYPE=SA
+
+; List of localised vendor names
+%{"Vendor-EN"}
+
+; The non-localised, globally unique vendor name (mandatory)
+:"Nokia OY"
+
+;Supports Series 60 v 3.0
+;This line indicates that this installation is for the Series 60 platform v3.0
+;This line must appear _exactly_ as shown below in the sis file
+;If this line is missing or incorrect, the sis file will not be able
+;to be installed on Series 60 v3.0 platforms
+(0x101F7961), 0, 0, 0, {"Series60ProductID"}
+
+; Target
+"\epoc32\release\armv5\urel\BCTestButtons.exe"-
+"!:\sys\bin\BCTestButtons.exe"
+
+"\epoc32\data\z\resource\apps\BCTestButtons.RSC"-
+"!:\resource\apps\BCTestButtons.RSC"
+
+"\epoc32\data\z\resource\apps\BCTestButtons.mbm"-
+"!:\resource\apps\BCTestButtons.mbm"
+
+"\epoc32\data\z\PRIVATE\10003A3F\APPS\BCTestButtons_reg.RSC"-
+"!:\PRIVATE\10003A3F\import\APPS\BCTestButtons_reg.RSC"
+
+; bctestutil must be installed
+(0x20004742), 1, 10, 0, {"bctestutil.dll"}
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/src/bctestbuttonsapp.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/src/bctestbuttonsapp.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,65 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: avkon buttons test app
+*
+*/
+
+
+// INCLUDE FILES
+#include
+
+#include "bctestbuttonsapp.h"
+#include "bctestbuttonsdocument.h"
+
+// ================= MEMBER FUNCTIONS =========================================
+
+// ----------------------------------------------------------------------------
+// TUid CBCTestButtonsApp::AppDllUid()
+// Returns application UID.
+// ----------------------------------------------------------------------------
+//
+TUid CBCTestButtonsApp::AppDllUid() const
+ {
+ return KUidBCTestButtons;
+ }
+
+// ----------------------------------------------------------------------------
+// CApaDocument* CBCTestButtonsApp::CreateDocumentL()
+// Creates CBCTestButtonsDocument object.
+// ----------------------------------------------------------------------------
+//
+CApaDocument* CBCTestButtonsApp::CreateDocumentL()
+ {
+ return CBCTestButtonsDocument::NewL( *this );
+ }
+
+// ================= OTHER EXPORTED FUNCTIONS =================================
+//
+// ----------------------------------------------------------------------------
+// CApaApplication* NewApplication()
+// Constructs CBCTestButtonsApp.
+// Returns: CApaDocument*: created application object
+// ----------------------------------------------------------------------------
+//
+LOCAL_C CApaApplication* NewApplication()
+ {
+ return new CBCTestButtonsApp;
+ }
+
+GLDEF_C TInt E32Main()
+ {
+ return EikStart::RunApplication(NewApplication);
+ }
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/src/bctestbuttonsappui.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/src/bctestbuttonsappui.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,82 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test bc for buttons control api(s)
+*
+*/
+
+
+#include
+#include
+
+#include "bctestbuttons.hrh"
+#include "bctestbuttonsappui.h"
+#include "bctestbuttonsview.h"
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// ctro do nothing
+// ---------------------------------------------------------------------------
+//
+CBCTestButtonsAppUi::CBCTestButtonsAppUi()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// symbian 2nd phase ctor
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsAppUi::ConstructL()
+ {
+ BaseConstructL();
+ AknsUtils::SetAvkonSkinEnabledL( ETrue );
+
+ // init view
+ CBCTestButtonsView* view = CBCTestButtonsView::NewL();
+ CleanupStack::PushL( view );
+ AddViewL( view );
+ CleanupStack::Pop( view );
+
+ ActivateLocalViewL( view->Id() );
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestButtonsAppUi::~CBCTestButtonsAppUi()
+// Destructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestButtonsAppUi::~CBCTestButtonsAppUi()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// handle menu command events
+// ----------------------------------------------------------------------------
+//
+void CBCTestButtonsAppUi::HandleCommandL( TInt aCommand )
+ {
+ switch ( aCommand )
+ {
+ case EAknSoftkeyBack:
+ case EEikCmdExit:
+ {
+ Exit();
+ return;
+ }
+ default:
+ break;
+ }
+ }
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/src/bctestbuttonscase.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/src/bctestbuttonscase.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,1317 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include
+#include
+#include
+
+#include "bctestbuttonscase.h"
+#include "bctestbuttonscontainer.h"
+#include "bctestbuttons.hrh"
+#include "streamlogger.h"
+
+_LIT( KStreamName, "c:\\BCTestLog\\buttontest.txt" );
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestButtonsCase* CBCTestButtonsCase::NewL(
+ CBCTestButtonsContainer* aContainer )
+ {
+ CBCTestButtonsCase* self = new( ELeave ) CBCTestButtonsCase(
+ aContainer );
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestButtonsCase::CBCTestButtonsCase(
+ CBCTestButtonsContainer* aContainer )
+ : iContainer( aContainer )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestButtonsCase::~CBCTestButtonsCase()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::ConstructL()
+ {
+ BuildScriptL();
+ iEnv = CEikonEnv::Static();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::BuildScriptL()
+ {
+ // Add script as your need.
+ AddTestL( DELAY(1), TEND);
+ TInt loop = EBCTestCmdMaxOutline - EBCTestCmdTestEikBgftyAndEikBtgpcL;
+ for ( TInt i = 0; i < loop; i++ )
+ {
+ AddTestL( LeftCBA, REP( Down, i ), KeyOK, TEND );
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::RunL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::RunL( TInt aCmd )
+ {
+ if ( aCmd < EBCTestCmdTestEikBgftyAndEikBtgpcL || aCmd > EBCTestCmdMaxOutline )
+ {
+ return;
+ }
+ // Call release before prepare to let container has time to draw the
+ // control created in PrepareCaseL.
+ switch ( aCmd )
+ {
+ case EBCTestCmdTestEikBgftyAndEikBtgpcL:
+ TestEikBgftyAndEikBtgpcL();
+ break;
+ case EBCTestCmdTestEikButbAndEikCbaL:
+ TestEikButbAndEikCbaL();
+ break;
+ case EBCTestCEikCommandButtonL:
+ TestCEikCommandButtonL();
+ break;
+ case EBCTestCEikTwoPictureCmdL:
+ TestCEikTwoPictureCmdL();
+ break;
+ case EBCTestCEikInverterCmdL:
+ TestCEikInverterCmdL();
+ break;
+ case EBCTestCEikTextBtnL:
+ TestCEikTextBtnL();
+ break;
+ case EBCTestCEikBitmapBtnL:
+ TestCEikBitmapBtnL();
+ break;
+ case EBCTestCEikLabeledBtnL:
+ TestCEikLabeledBtnL();
+ break;
+ case EBCTestMnbutAndBtgpsAndBtgrpL:
+ TestMnbutAndBtgpsAndBtgrpL();
+ break;
+ case EBCTestCba:
+ TestCbaButtonL();
+ break;
+ default:
+ break;
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestEikBgftyAndEikBtgpcL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestEikBgftyAndEikBtgpcL()
+ {
+ // Test some API for class EikButtonGroupFactory
+ TBCTestCommandObserver commandObserver;
+ TInt resourceId = R_BCTESTBUTTONS_MENU;
+
+ RWindowGroup& parentWg = iEnv->RootWin();
+ TUint flags = 0;
+
+ EikButtonGroupFactory::TCreationData creationData(
+ CEikButtonGroupContainer::EView, &commandObserver,
+ resourceId, &parentWg, flags,
+ CEikButtonGroupContainer::EVertical );
+ _LIT( KTCreationData, "TCreationData test" );
+ AssertTrueL( ETrue, KTCreationData );
+
+ // Test some API for class CEikButtonGroupFactoryArray
+ CEikButtonGroupFactoryArray::AppendFactoryFunctionL(
+ CEikCoCtlLibrary::ButtonGroupFactory() );
+ _LIT( KAppendFactoryFunctionL, "AppendFactoryFunctionL test" );
+ AssertTrueL( ETrue, KAppendFactoryFunctionL );
+
+ CEikButtonGroupFactoryArray::RemoveFactoryFunction(
+ CEikCoCtlLibrary::ButtonGroupFactory() );
+ _LIT( KRemoveFactoryFunction, "RemoveFactoryFunction test" );
+ AssertTrueL( ETrue, KRemoveFactoryFunction );
+
+ // Test some API for class CEikButtonGroupContainer
+ TInt resourceIdForToolbar = R_BCTESTBUTTONS_TOOLBAR;
+ CEikButtonGroupContainer* buttonGroupContainer1 =
+ CEikButtonGroupContainer::NewL( CEikButtonGroupContainer::EView,
+ CEikButtonGroupContainer::EVertical, &commandObserver,
+ resourceIdForToolbar, CEikButtonGroupContainer::EAddToStack );
+ CleanupStack::PushL( buttonGroupContainer1 );
+ _LIT( KNewL, "NewL test" );
+ AssertTrueL( ETrue, KNewL );
+ CleanupStack::PopAndDestroy( buttonGroupContainer1 );
+
+ CEikButtonGroupContainer* buttonGroupContainer2 =
+ CEikButtonGroupContainer::NewL( CEikButtonGroupContainer::EView,
+ CEikButtonGroupContainer::EVertical, &commandObserver,
+ resourceIdForToolbar, *iContainer,
+ CEikButtonGroupContainer::EAddToStack);
+ CleanupStack::PushL( buttonGroupContainer2 );
+ _LIT( KNewLWithCCoeControl, "NewL WithCCoeControl test" );
+ AssertTrueL( ETrue, KNewLWithCCoeControl );
+ CleanupStack::PopAndDestroy( buttonGroupContainer2 );
+
+
+ CEikButtonGroupContainer* buttonGroupContainer3 =
+ CEikButtonGroupContainer::NewL( CEikButtonGroupContainer::EView,
+ CEikButtonGroupContainer::EVertical, &commandObserver,
+ resourceIdForToolbar, parentWg,
+ CEikButtonGroupContainer::EAddToStack );
+ CleanupStack::PushL( buttonGroupContainer3 );
+ _LIT( KNewLWithRWindowGroup, "NewL With RWindowGroup test" );
+ AssertTrueL( ETrue, KNewLWithRWindowGroup );
+ CleanupStack::PopAndDestroy( buttonGroupContainer3 );
+
+ CEikButtonGroupContainer* buttonGroupContainer4 =
+ CEikButtonGroupContainer::Current();
+
+ _LIT( KCurrent, "Current test" );
+ AssertTrueL( ETrue, KCurrent );
+
+ TInt resourceIdForCba = R_BCTESTBUTTONS_CBA_OPTIONS_NEXT;
+ buttonGroupContainer4->SetCommandSetL( resourceIdForCba );
+ _LIT( KSetCommandSetL, "SetCommandSetL test" );
+ AssertTrueL( ETrue, KSetCommandSetL );
+
+ buttonGroupContainer4->AddCommandSetToStackL( resourceIdForCba );
+ _LIT( KAddCommandSetToStackL, "AddCommandSetToStackL test" );
+ AssertTrueL( ETrue, KAddCommandSetToStackL );
+
+ TInt commandId = EAknSoftkeyOptions;
+ TInt position = buttonGroupContainer4->PositionById( commandId );
+ _LIT( KPositionById, "PositionById test" );
+ AssertTrueL( ETrue, KPositionById );
+
+ buttonGroupContainer4->RemoveCommandFromStack( position, commandId);
+ _LIT( KRemoveCommandFromStack, "RemoveCommandFromStack test" );
+ AssertTrueL( ETrue, KRemoveCommandFromStack );
+
+ buttonGroupContainer4->SetDefaultCommand( commandId );
+ _LIT( KSetDefaultCommand, "SetDefaultCommand test" );
+ AssertTrueL( ETrue, KSetDefaultCommand );
+
+ TSize size1 = buttonGroupContainer4->CalcMinimumSizeL( resourceIdForCba );
+ _LIT( KCalcMinimumSizeL, "CalcMinimumSizeL test" );
+ AssertTrueL( ETrue, KCalcMinimumSizeL );
+
+ buttonGroupContainer4->CleanupCommandPushL( position );
+ _LIT( KCleanupCommandPushL, "CleanupCommandPushL test" );
+ AssertTrueL( ETrue, KCleanupCommandPushL );
+
+ TInt res( KErrNone );
+ _LIT( KOfferCommandListL, "OfferCommandListL tested" );
+ TRAP( res, buttonGroupContainer4->OfferCommandListL( resourceIdForCba ) );
+ AssertTrueL( ETrue, KOfferCommandListL );
+
+ RArray arr;
+ arr.Append( commandId );
+ _LIT( KOfferCommandListLOverload, "OfferCommandListL overload tested" );
+ TRAP( res, buttonGroupContainer4->OfferCommandListL( arr ) );
+ AssertTrueL( ETrue, KOfferCommandListLOverload );
+ arr.Close();
+
+ TInt countForCleanupCommandPop = 1;
+ buttonGroupContainer4->CleanupCommandPop( countForCleanupCommandPop );
+ _LIT( KCleanupCommandPop, "CleanupCommandPop test" );
+ AssertTrueL( ETrue, KCleanupCommandPop );
+
+ TInt maxCommands = buttonGroupContainer4->MaxCommands();
+ _LIT( KMaxCommands, "MaxCommands test" );
+ AssertTrueL( ETrue, KMaxCommands );
+
+ TInt buttonCount = buttonGroupContainer4->ButtonCount();
+ _LIT( KButtonCount, "ButtonCount test" );
+ AssertTrueL( ETrue, KButtonCount );
+
+ TBool dimmed = ETrue;
+ buttonGroupContainer4->DimCommand( commandId, dimmed );
+ _LIT( KDimCommand, "DimCommand test" );
+ AssertTrueL( ETrue, KDimCommand );
+ buttonGroupContainer4->DimCommand( commandId, EFalse );
+
+ TBool isCommandDimmed = buttonGroupContainer4->IsCommandDimmed( commandId );
+ _LIT( KIsCommandDimmed, "IsCommandDimmed test" );
+ AssertTrueL( ETrue, KIsCommandDimmed );
+
+ TBool visible = ETrue;
+ buttonGroupContainer4->MakeCommandVisible( commandId, visible );
+ _LIT( KMakeCommandVisible, "MakeCommandVisible test" );
+ AssertTrueL( ETrue, KMakeCommandVisible );
+
+ TBool isCommandVisible = buttonGroupContainer4->IsCommandVisible( commandId );
+ _LIT( KIsCommandVisible, "IsCommandVisible test" );
+ AssertTrueL( ETrue, KIsCommandVisible );
+
+ buttonGroupContainer4->AnimateCommand( commandId );
+ _LIT( KAnimateCommand1, "AnimateCommand test" );
+ AssertTrueL( ETrue, KAnimateCommand1 );
+
+ CEikButtonGroupContainer::TLocation location =
+ buttonGroupContainer4->Location();
+ _LIT( KLocation, "Location test" );
+ AssertTrueL( ETrue, KLocation );
+
+#ifndef _DEBUG
+ CEikCommandButton* commandButton1 =
+ buttonGroupContainer4->CommandButtonOrNull( commandId );
+ CleanupStack::PushL( commandButton1 );
+ _LIT( KCommandButtonOrNull, "CommandButtonOrNull test" );
+ AssertTrueL( ETrue, KCommandButtonOrNull );
+ CleanupStack::PopAndDestroy( commandButton1 );
+#endif
+
+ TRect rect = iContainer->Rect();
+ buttonGroupContainer4->SetBoundingRect( rect );
+ _LIT( KSetBoundingRect, "SetBoundingRect test" );
+ AssertTrueL( ETrue, KSetBoundingRect );
+
+ buttonGroupContainer4->ReduceRect( rect );
+ _LIT( KReduceRect, "ReduceRect test" );
+ AssertTrueL( ETrue, KReduceRect );
+
+ CCoeControl* coeControl =
+ buttonGroupContainer4->ControlOrNull( commandId );
+ _LIT( KControlOrNull, "ControlOrNull test" );
+ AssertTrueL( ETrue, KControlOrNull );
+
+#ifndef _DEBUG
+ CEikCommandButton* commandbutton2 =
+ buttonGroupContainer4->ButtonById( commandId );
+ _LIT( KButtonById, "ButtonById test" );
+ AssertTrueL( ETrue, KButtonById );
+#endif
+
+ TInt keyId = 1;
+ buttonGroupContainer4->UpdateHotKey( commandId,
+ CEikButtonGroupContainer::EShowHotKey, keyId);
+ _LIT( KUpdateHotKey, "UpdateHotKey test" );
+ AssertTrueL( ETrue, KUpdateHotKey );
+
+ TInt pos = 1;
+ buttonGroupContainer4->UpdateCommandObserverL( pos, commandObserver );
+ _LIT( KUpdateCommandObserverL, "UpdateCommandObserverL test" );
+ AssertTrueL( ETrue, KUpdateCommandObserverL );
+
+ buttonGroupContainer4->RemoveCommandObserver( pos );
+ _LIT( KRemoveCommandObserver, "RemoveCommandObserver test" );
+ AssertTrueL( ETrue, KRemoveCommandObserver );
+
+ TBool delayActivation = buttonGroupContainer4->DelayActivation();
+ _LIT( KDelayActivation, "DelayActivation test" );
+ AssertTrueL( ETrue, KDelayActivation );
+
+ TSize minimumSize1 = buttonGroupContainer4->MinimumSize();
+ _LIT( KMinimumSize1, "MinimumSize test" );
+ AssertTrueL( ETrue, KMinimumSize1 );
+
+ TKeyEvent keyEvent1 = { EKeyPause, EStdKeySpace, 0, 0 };
+ TKeyResponse keyresponse =
+ buttonGroupContainer4->OfferKeyEventL( keyEvent1, EEventKey );
+ _LIT( KOfferKeyEventL1, "OfferKeyEventL test" );
+ AssertTrueL( ETrue, KOfferKeyEventL1 );
+
+ RFs& tempServer = iEnv->FsSession();
+ tempServer.Delete( KStreamName );
+ RFileWriteStream fWrite;
+ User::LeaveIfError( fWrite.Create( tempServer,
+ KStreamName, EFileWrite ) );
+ CleanupClosePushL( fWrite );
+ buttonGroupContainer4->WriteInternalStateL( fWrite );
+ CleanupStack::PopAndDestroy( &fWrite );
+ tempServer.Delete( KStreamName );
+ _LIT( KWriteInternalStateL1, "WriteInternalStateLtest test" );
+ AssertTrueL( ETrue, KWriteInternalStateL1);
+
+ buttonGroupContainer4->Reserved_MtsmPosition();
+ _LIT( KReserved_MtsmPosition, "Reserved_MtsmPosition" );
+ AssertTrueL( ETrue, KReserved_MtsmPosition );
+
+ buttonGroupContainer4->Reserved_MtsmObject();
+ _LIT( KReserved_MtsmObject, "Reserved_MtsmObject test" );
+ AssertTrueL( ETrue, KReserved_MtsmObject );
+
+ TBool isCommandInGroup = buttonGroupContainer4->IsCommandInGroup( commandId );
+ _LIT( KIsCommandInGroup, "IsCommandInGroup test" );
+ AssertTrueL( ETrue, KIsCommandInGroup );
+
+ buttonGroupContainer4->ReplaceCommand( commandId, resourceIdForCba );
+ _LIT( KReplaceCommand, "ReplaceCommand test" );
+ AssertTrueL( ETrue, KReplaceCommand );
+ }
+
+// --------------------------------------------------------------------------
+// TBCTestCommandObserver::ProcessCommandL
+// ---------------------------------------------------------------------------
+//
+void TBCTestCommandObserver::ProcessCommandL( TInt )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestEikButbAndEikCbaL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestEikButbAndEikCbaL()
+ {
+ // Test some API for class TEikButtonCoordinator
+ TEikButtonCoordinator coordinator;
+ _LIT( KTEikButtonCoordinator, "TEikButtonCoordinator test" );
+ AssertTrueL( ETrue, KTEikButtonCoordinator );
+
+ CEikButtonBase* chosenButton = new( ELeave ) CEikButtonBase();
+ CleanupStack::PushL( chosenButton );
+ coordinator.SetChosenButton( chosenButton );
+ _LIT( KSetChosenButton, "SetChosenButton test" );
+ AssertTrueL( ETrue, KSetChosenButton );
+ CleanupStack::PopAndDestroy( chosenButton );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::SetupCommandBtnL
+// ---------------------------------------------------------------------------
+//
+CEikCommandButton* CBCTestButtonsCase::SetupCommandBtnL()
+ {
+ //1. just new
+ CEikCommandButton* commandButton = new( ELeave )CEikCommandButton();
+ CleanupStack::PushL( commandButton );
+
+ //2. construct from res
+ TResourceReader reader1;
+ iEnv->CreateResourceReaderLC( reader1, R_BCTESTBUTTONS_CMBUT );
+ commandButton->ConstructFromResourceL( reader1 );
+ _LIT( KConstructFromResourceL1, "ConstructFromResourceL test" );
+ AssertTrueL( ETrue, KConstructFromResourceL1 );
+ CleanupStack::PopAndDestroy(); //reader1
+
+ return commandButton;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TeardownCommandBtnL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TeardownCommandBtnL(CEikCommandButton* aBtn)
+ {
+ CleanupStack::PopAndDestroy( aBtn );
+ _LIT( KDesCommandButton, "~CommandButton() test" );
+ AssertTrueL( ETrue, KDesCommandButton );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestSetBtnLayoutL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestSetBtnLayoutL()
+ {
+ CEikCommandButton* commandButton = SetupCommandBtnL();
+
+ commandButton->SetButtonLayout( CEikCommandButton::ETextRightPictureLeft );
+ _LIT( KSetButtonLayout, "TSetButtonLayout test" );
+ AssertTrueL( ETrue, KSetButtonLayout);
+
+ TeardownCommandBtnL(commandButton);
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestExcessSpace
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestExcessSpace()
+ {
+ CEikCommandButton* commandButton = SetupCommandBtnL();
+
+ commandButton->SetExcessSpace( CEikCommandButton::EShare );
+ _LIT( KSetExcessSpace, "SetExcessSpace test" );
+ AssertTrueL( ETrue, KSetExcessSpace );
+
+ TeardownCommandBtnL(commandButton);
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestStuff
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestStuff()
+ {
+ CEikCommandButton* commandButton = SetupCommandBtnL();
+
+ _LIT( KText, "xxxxxxxxx" );
+ commandButton->SetTextL( KText );
+ _LIT( KSetTextL1, "SetTextL test" );
+ AssertTrueL( ETrue, KSetTextL1 );
+
+ CEikLabel* label = commandButton->Label();
+ _LIT( KLabel1, "Label test" );
+ AssertTrueL( ETrue, KLabel1 );
+
+ commandButton->SetDisplayContent( CEikCommandButton::ETextOnly );
+ _LIT( KSetDisplayContent, "SetDisplayContent test" );
+ AssertTrueL( ETrue, KSetDisplayContent );
+
+ TeardownCommandBtnL(commandButton);
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestImgBtnL()
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestImgBtnL()
+ {
+ CEikCommandButton* commandButton = SetupCommandBtnL();
+
+ _LIT( KButtonIconFile1, "z:\\resource\\apps\\BCTestButtons.mbm" );
+ TInt normal1 = 1;
+ CFbsBitmap * normalBitmap1 = AknIconUtils::CreateIconL( KButtonIconFile1, normal1 );
+ CleanupStack::PushL( normalBitmap1 );
+
+ commandButton->SetPictureL( normalBitmap1, NULL );
+ _LIT( KSetPictureL1, "SetPictureL test" );
+ AssertTrueL( ETrue, KSetPictureL1 );
+
+ CEikImage* image = commandButton->Picture();
+ _LIT( KPicture, "Picture test" );
+ AssertTrueL( ETrue, KPicture );
+
+ CleanupStack::Pop(normalBitmap1);
+
+ TeardownCommandBtnL(commandButton);
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestStackRelatedL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestStackRelatedL()
+ {
+ // stack realated have issues
+ CEikCommandButton* commandButton = SetupCommandBtnL();
+
+ _LIT( KButtonIconFile2, "z:\\resource\\apps\\BCTestButtons.mbm" );
+ TInt normal2 = 1;
+ CFbsBitmap * normalBitmap2 = AknIconUtils::CreateIconL( KButtonIconFile2, normal2 );
+ CleanupStack::PushL( normalBitmap2 );
+
+ TInt commandId2 = EProgCmdAutoTest;
+ TBuf<10> buf2 = _L( "xxxxxxx" );
+ commandButton->AddCommandToStackL( commandId2, &buf2, normalBitmap2, normalBitmap2 );
+ _LIT( KAddCommandToStackL, "AddCommandToStackL test" );
+ AssertTrueL( ETrue, KAddCommandToStackL );
+
+ CleanupStack::Pop( normalBitmap2 );
+
+ TBool removeCommandFromStack = commandButton->RemoveCommandFromStack( R_BCTESTBUTTONS_CBA_OPTIONS_NEXT );
+ _LIT( KRemoveCommandFromStack, "RemoveCommandFromStack test" );
+ AssertTrueL( ETrue, KRemoveCommandFromStack );
+
+ TInt popCommandFromStack = commandButton->PopCommandFromStack();
+ _LIT( KPopCommandFromStack, "PopCommandFromStack test" );
+ AssertTrueL( ETrue, KPopCommandFromStack );
+
+ TeardownCommandBtnL(commandButton);
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestCommandButtonBaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestCommandButtonBaseL()
+ {
+ CEikCommandButton* commandButton = SetupCommandBtnL();
+
+ commandButton->CCoeControl::DrawNow();
+ _LIT( KDraw, "Draw for CEikCommandButtonBase test" );
+ AssertTrueL( ETrue, KDraw );
+
+ commandButton->CEikCommandButtonBase::LayoutComponents();
+ _LIT( KLayoutComponents,
+ "LayoutComponents for CEikCommandButtonBase test" );
+ AssertTrueL( ETrue, KLayoutComponents );
+
+ commandButton->CEikCommandButtonBase::SetDefault( ETrue );
+ _LIT( KSetDefault, "SetDefault for CEikCommandButtonBase test" );
+ AssertTrueL( ETrue, KSetDefault );
+
+ /*iCmdBtnBase = new( ELeave )CBCTestCmdBtnBase();
+ iContainer->SetControl( iCmdBtnBase );
+ _LIT( KDraw, "Draw for CEikCommandButtonBase test" );
+ AssertTrueL( ETrue, KDraw );*/
+
+ commandButton->CEikCommandButtonBase::FocusChanged( ENoDrawNow );
+ _LIT( KFocusChanged, "FocusChanged for CEikCommandButtonBase test" );
+ AssertTrueL( ETrue, KFocusChanged );
+
+ CArrayFixFlat* colorUseList2 =
+ new( ELeave ) CArrayFixFlat( 1 );
+ TCoeColorUse colorUse2;
+ colorUseList2->AppendL( colorUse2 );
+ commandButton->CEikCommandButtonBase::GetColorUseListL( *colorUseList2 );
+ CleanupStack::PushL( colorUseList2 );
+ _LIT( KGetColorUseListL2,
+ "GetColorUseListL for CEikCommandButtonBase test" );
+ AssertTrueL( ETrue, KGetColorUseListL2 );
+ CleanupStack::PopAndDestroy( colorUseList2 );
+
+ TKeyEvent keyEvent3 = { EKeyPause, EStdKeySpace, 0, 0 };
+ TKeyResponse keyResponse =
+ commandButton->CEikCommandButtonBase::OfferKeyEventL(
+ keyEvent3, EEventNull );
+ _LIT( KOfferKeyEventL3, "OfferKeyEventL for CEikCommandButtonBase test" );
+ AssertTrueL( ETrue, KOfferKeyEventL3 );
+
+ commandButton->CEikCommandButtonBase::ActivateL();
+ _LIT( KActivateL2, "ActivateL for CEikCommandButtonBase test" );
+ AssertTrueL( ETrue, KActivateL2 );
+
+ commandButton->CEikCommandButtonBase::UpdateComponentAlignment();
+ _LIT( KUpdateComponentAlignment,
+ "UpdateComponentAlignment for CEikCommandButtonBase test" );
+ AssertTrueL( ETrue, KUpdateComponentAlignment );
+
+
+ TeardownCommandBtnL(commandButton);
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestButtonBaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestButtonBaseL()
+ {
+ CEikCommandButton* commandButton = SetupCommandBtnL();
+
+ CBCTestBtnBase* btnBase = new( ELeave )CBCTestBtnBase();
+ CleanupStack::PushL( btnBase );
+
+ CEikButtonBase* buttonBase = new( ELeave ) CEikButtonBase();
+ CleanupStack::PushL( buttonBase );
+ btnBase->CEikButtonBase::CopyDrawStateTo( buttonBase );
+ CleanupStack::PopAndDestroy( buttonBase );
+ _LIT( KCopyDrawStateTo, "CopyDrawStateTo for CEikButtonBase test" );
+ AssertTrueL( ETrue, KCopyDrawStateTo );
+
+ TBool isPressed = btnBase->CEikButtonBase::IsPressed();
+ _LIT( KIsPressed, "IsPressed for CEikButtonBase test" );
+ AssertTrueL( ETrue, KIsPressed );
+
+ btnBase->CEikButtonBase::SetAllowTristate();
+ _LIT( KSetAllowTristate, "SetAllowTristate for CEikButtonBase test" );
+ AssertTrueL( ETrue, KSetAllowTristate );
+
+ CleanupStack::PopAndDestroy( btnBase );
+
+ CArrayFixFlat* colorUseList3 =
+ new( ELeave ) CArrayFixFlat( 1 );
+ TCoeColorUse colorUse3;
+ colorUseList3->AppendL( colorUse3 );
+ commandButton->CEikButtonBase::GetColorUseListL( *colorUseList3 );
+ CleanupStack::PushL( colorUseList3 );
+ _LIT( KGetColorUseListL3,
+ "GetColorUseListL for CEikButtonBase test" );
+ AssertTrueL( ETrue, KGetColorUseListL3 );
+ CleanupStack::PopAndDestroy( colorUseList3 );
+
+ TCoeInputCapabilities capabilities =
+ commandButton->CEikButtonBase::InputCapabilities();
+ _LIT( KInputCapabilities, "InputCapabilities for CEikButtonBase test" );
+ AssertTrueL( ETrue, KInputCapabilities );
+
+ TKeyEvent keyEvent4 = { EKeyPause, EStdKeySpace, 0, 0 };
+ TKeyResponse keyResponse4 =
+ commandButton->CEikButtonBase::OfferKeyEventL(
+ keyEvent4, EEventNull );
+ _LIT( KOfferKeyEventL4, "OfferKeyEventL for CEikButtonBase test" );
+ AssertTrueL( ETrue, KOfferKeyEventL4 );
+
+ TEikButtonCoordinator butCoord;
+ commandButton->CEikButtonBase::SetCoordinator( &butCoord );
+ _LIT( KSetCoordinator, "SetCoordinator for CEikButtonBase test" );
+ AssertTrueL( ETrue, KSetCoordinator );
+
+ commandButton->CEikButtonBase::SetIgnoreNextPointerUp();
+ _LIT( KSetIgnoreNextPointerUp, "SetIgnoreNextPointerUp for CEikButtonBase test" );
+ AssertTrueL( ETrue, KSetIgnoreNextPointerUp );
+
+ TeardownCommandBtnL(commandButton);
+ }
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestCEikCommandButton
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestCEikCommandButtonL()
+ {
+ // Test some API for class CEikCommandButtonBase
+ TestSetBtnLayoutL();
+ TestExcessSpace();
+ TestStuff();
+ TestImgBtnL();
+ TestCommandButtonBaseL();
+ TestButtonBaseL();
+
+ CEikCommandButton* commandButton = SetupCommandBtnL();
+
+ _LIT( KButtonIconFile1, "z:\\resource\\apps\\BCTestButtons.mbm" );
+ TInt normal1 = 1;
+ CFbsBitmap * normalBitmap1 = AknIconUtils::CreateIconL( KButtonIconFile1, normal1 );
+ CleanupStack::PushL( normalBitmap1 );
+
+ TInt commandId = R_BCTESTBUTTONS_CBA_OPTIONS_NEXT;
+ TBuf<10> buf = _L( "xxxxxxx" );
+ commandButton->SetCommandL( commandId, &buf, normalBitmap1, normalBitmap1 );
+ _LIT( KSetCommandL, "SetCommandL test" );
+ AssertTrueL( ETrue, KSetCommandL );
+
+ CleanupStack::Pop(normalBitmap1);
+
+ TPointerEvent pointerEvent1;
+ pointerEvent1.iType = TPointerEvent::EButton1Up;
+ commandButton->HandlePointerEventL( pointerEvent1 );
+ _LIT( KHandlePointerEventL1, "HandlePointerEventL test" );
+ AssertTrueL( ETrue, KHandlePointerEventL1 );
+
+ commandButton->UpdateComponentAlignment();
+ _LIT( KUpdateComponentAlignment, "UpdateComponentAlignment test" );
+ AssertTrueL( ETrue, KUpdateComponentAlignment );
+
+ commandButton->SetPictureFromFileL( AknIconUtils::AvkonIconFileName(),
+ EMbmAvkonQgn_indi_marked_add, EMbmAvkonQgn_indi_marked_add_mask );
+ _LIT( KSetPictureFromFileL1, "SetPictureFromFileL test" );
+ AssertTrueL( ETrue, KSetPictureFromFileL1 );
+
+ TestStackRelatedL();
+
+ TeardownCommandBtnL(commandButton);
+ }
+
+CEikTwoPictureCommandButton* CBCTestButtonsCase::SetupTwoPictureCmdL()
+ {
+ //1. just new
+ CEikTwoPictureCommandButton* twoPictureCommandButton =
+ new( ELeave ) CEikTwoPictureCommandButton();
+ CleanupStack::PushL( twoPictureCommandButton );
+ _LIT( KCEikTwoPictureCommandButton, "CEikTwoPictureCommandButton() test" );
+ AssertTrueL( ETrue, KCEikTwoPictureCommandButton );
+
+ //2. construct from res
+ TResourceReader reader2;
+ iEnv->CreateResourceReaderLC( reader2, R_BCTESTBUTTONS_PICMBUT );
+ twoPictureCommandButton->ConstructFromResourceL( reader2 );
+ _LIT( KConstructFromResourceL2,
+ "ConstructFromResourceL For CEikTwoPictureCommandButton test" );
+ AssertTrueL( ETrue, KConstructFromResourceL2 );
+ CleanupStack::PopAndDestroy(); //reader2
+
+ return twoPictureCommandButton;
+ }
+
+void CBCTestButtonsCase::TeardownTwoPictureCmdL(CEikTwoPictureCommandButton* aBtn)
+ {
+ CleanupStack::PopAndDestroy( aBtn );
+ _LIT( KDesCEikTwoPictureCommandButton, "~CEikTwoPictureCommandButton() test" );
+ AssertTrueL( ETrue, KDesCEikTwoPictureCommandButton );
+ }
+
+void CBCTestButtonsCase::TestSetTwoPicturesL()
+ {
+ CEikTwoPictureCommandButton* twoPictureCommandButton = SetupTwoPictureCmdL();
+
+ _LIT( KButtonIconFile2, "z:\\resource\\apps\\BCTestButtons.mbm" );
+ TInt normal2 = 1;
+ CFbsBitmap * normalBitmap2 = AknIconUtils::CreateIconL( KButtonIconFile2, normal2 );
+ CleanupStack::PushL( normalBitmap2 );
+
+ twoPictureCommandButton->SetTwoPicturesL( normalBitmap2, NULL, NULL, NULL);
+ _LIT( KSetTwoPicturesL, "SetTwoPicturesL test" );
+ AssertTrueL( ETrue, KSetTwoPicturesL );
+
+ CleanupStack::Pop(normalBitmap2);
+ TeardownTwoPictureCmdL( twoPictureCommandButton );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestCEikTwoPictureCmd
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestCEikTwoPictureCmdL()
+ {
+ // Test some API for class CEikTwoPictureCommandButton
+ CEikTwoPictureCommandButton* twoPictureCommandButton = SetupTwoPictureCmdL();
+
+ TestSetTwoPicturesL();
+
+ TBool isSecondPictureOwnedExternally =
+ twoPictureCommandButton->IsSecondPictureOwnedExternally();
+ _LIT( KIsSecondPictureOwnedExternally, "IsSecondPictureOwnedExternally test" );
+ AssertTrueL( ETrue, KIsSecondPictureOwnedExternally );
+
+ CEikImage* eikImage = twoPictureCommandButton->Picture();
+ _LIT( KPicture2, "Picture test" );
+ AssertTrueL( ETrue, KPicture2 );
+
+ _LIT( KText2,"xxxxxxxxxx" );
+ twoPictureCommandButton->SetTextL( KText2 );
+ _LIT( KSetTextL2, "SetTextL For CEikTwoPictureCommandButton test" );
+ AssertTrueL( ETrue, KSetTextL2 );
+
+ _LIT( KButtonIconFile3, "z:\\resource\\apps\\BCTestButtons.mbm" );
+ TInt normal3 = 1;
+ CFbsBitmap * normalBitmap3 = AknIconUtils::CreateIconL( KButtonIconFile3, normal3 );
+ CleanupStack::PushL( normalBitmap3 );
+
+ twoPictureCommandButton->SetSecondPicture( normalBitmap3, NULL );
+ _LIT( KSetSecondPicture3, "SetSecondPicture test" );
+ AssertTrueL( ETrue, KSetSecondPicture3 );
+
+ CleanupStack::Pop(normalBitmap3);
+
+ twoPictureCommandButton->SetSecondPictureOwnedExternally( EFalse );
+ _LIT( KSetSecondPictureOwnedExternally, "SetSecondPictureOwnedExternally test" );
+ AssertTrueL( ETrue, KSetSecondPictureOwnedExternally );
+
+ twoPictureCommandButton->ActivateL();
+ _LIT( KActivateL1, "ActivateL test" );
+ AssertTrueL( ETrue, KActivateL1 );
+
+ TPointerEvent pointerEvent2;
+ pointerEvent2.iType = TPointerEvent::EButton1Up;
+ twoPictureCommandButton->HandlePointerEventL( pointerEvent2 );
+ _LIT( KHandlePointerEventL2,
+ "HandlePointerEventL For CEikTwoPictureCommandButton test" );
+ AssertTrueL( ETrue, KHandlePointerEventL2 );
+
+ CBCTestTwoPicture* twoPicture = new( ELeave ) CBCTestTwoPicture();
+ CleanupStack::PushL( twoPicture );
+ TResourceReader reader;
+ iEnv->CreateResourceReaderLC( reader, R_BCTESTBUTTONS_PICMBUT );
+ twoPicture->ConstructFromResourceL( reader );
+ CleanupStack::PopAndDestroy(); // reader
+
+ _LIT( KStreamName2, "c:\\BCTestLog\\buttontest.txt" );
+ RFs& tempServer2 = iEnv->FsSession();
+ tempServer2.Delete( KStreamName2 );
+ RFileWriteStream fWrite2;
+ User::LeaveIfError( fWrite2.Create( tempServer2,
+ KStreamName2, EFileWrite ) );
+ CleanupClosePushL( fWrite2 );
+ twoPicture->WriteInternalStateL( fWrite2 );
+ CleanupStack::PopAndDestroy( &fWrite2 );
+ CleanupStack::PopAndDestroy( twoPicture );
+ _LIT( KWriteInternalStateL2, "WriteInternalStateL test" );
+ AssertTrueL( ETrue, KWriteInternalStateL2 );
+
+ TeardownTwoPictureCmdL( twoPictureCommandButton );
+
+ // Test private APIs
+ CCoeControl* test = new( ELeave ) CEikTwoPictureCommandButton();
+ CleanupStack::PushL( test );
+ test->DrawNow();
+ _LIT( KDraw, "Draw for CEikTwoPictureCommandButton test" );
+ AssertTrueL( ETrue, KDraw );
+ CleanupStack::PopAndDestroy( test );
+
+
+ }
+
+CEikInverterCommandButton* CBCTestButtonsCase::SetupInverterCmdL()
+ {
+ //1. just new
+ CEikInverterCommandButton* inverterCommandButton = new( ELeave ) CEikInverterCommandButton();
+ CleanupStack::PushL( inverterCommandButton );
+ _LIT( KCEikInverterCommandButton, "CEikInverterCommandButton test" );
+ AssertTrueL( ETrue, KCEikInverterCommandButton );
+
+ return inverterCommandButton;
+ }
+
+void CBCTestButtonsCase::TeardownInverterCmdL(CEikInverterCommandButton* aBtn)
+
+ {
+ CleanupStack::PopAndDestroy( aBtn );
+ _LIT( KDesCEikInverterCommandButton, "~CEikInverterCommandButton() test" );
+ AssertTrueL( ETrue, KDesCEikInverterCommandButton );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestCEikInverterCmdL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestCEikInverterCmdL()
+ {
+ // Test some API for class CEikInverterCommandButton
+ CEikInverterCommandButton* inverterCommandButton = SetupInverterCmdL();
+
+ TPointerEvent pointerEvent3;
+ pointerEvent3.iType = TPointerEvent::EButton1Up;
+ inverterCommandButton->HandlePointerEventL( pointerEvent3 );
+ _LIT( KHandlePointerEventL3, "HandlePointerEventL For CEikInverterCommandButton test" );
+ AssertTrueL( ETrue, KHandlePointerEventL3 );
+
+ CBCTestInverterCmdButton* inverterBtn = new( ELeave ) CBCTestInverterCmdButton();
+ CleanupStack::PushL( inverterBtn );
+ TResourceReader reader;
+ iEnv->CreateResourceReaderLC( reader, R_BCTESTBUTTONS_CMBUT );
+ inverterBtn->ConstructFromResourceL( reader );
+ CleanupStack::PopAndDestroy(); // reader
+
+ _LIT( KStreamName2, "c:\\BCTestLog\\buttontest.txt" );
+ RFs& tempServer2 = iEnv->FsSession();
+ tempServer2.Delete( KStreamName2 );
+ RFileWriteStream fWrite2;
+ User::LeaveIfError( fWrite2.Create( tempServer2,
+ KStreamName2, EFileWrite ) );
+ CleanupClosePushL( fWrite2 );
+ inverterBtn->WriteInternalStateL( fWrite2 );
+ CleanupStack::PopAndDestroy( &fWrite2 );
+ //WriteInternalStateL(RWriteStream& aWriteStream)
+ CleanupStack::PopAndDestroy( inverterBtn );
+ _LIT( KWriteInternalStateL3, "WriteInternalStateL test" );
+ AssertTrueL( ETrue, KWriteInternalStateL3 );
+
+ TeardownInverterCmdL( inverterCommandButton );
+ }
+
+CEikTextButton* CBCTestButtonsCase::SetupTextBtnL()
+ {
+ //1. just new
+ CEikTextButton* textButton = new( ELeave ) CEikTextButton();
+ CleanupStack::PushL( textButton );
+ _LIT( KCEikTextButton, "CEikTextButton test" );
+ AssertTrueL( ETrue, KCEikTextButton );
+ //2. construct from res
+ TResourceReader reader3;
+ iEnv->CreateResourceReaderLC( reader3, R_BCTESTBUTTONS_TXTBUT );
+ textButton->ConstructFromResourceL( reader3 );
+ _LIT( KConstructFromResourceL3, "ConstructFromResourceL For CEikTextButton test" );
+ AssertTrueL( ETrue, KConstructFromResourceL3 );
+ CleanupStack::PopAndDestroy(); //reader3
+ return textButton;
+ }
+
+void CBCTestButtonsCase::TeardownTextBtnL( CEikTextButton* aBtn )
+
+ {
+ CleanupStack::PopAndDestroy( aBtn );
+ _LIT( KDesCEikTextButton, "~CEikTextButton() test" );
+ AssertTrueL( ETrue, KDesCEikTextButton );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestCEikTextBtnL()
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestCEikTextBtnL()
+ {
+ // Test some API for class CEikTextButton
+ CEikTextButton* textButton = SetupTextBtnL();
+
+ _LIT( KText3, "xxxxxxxxxxx" );
+ textButton->SetTextL( KText3, CEikCommandButtonBase::EFirst );
+ _LIT( KSetTextL3, "SetTextL For CEikTextButton test" );
+ AssertTrueL( ETrue, KSetTextL3 );
+
+ CEikLabel* label2 = textButton->Label( CEikCommandButtonBase::EFirst );
+ _LIT( KLabel2, "Label test" );
+ AssertTrueL( ETrue, KLabel2 );
+
+ TPointerEvent pointerEvent4;
+ pointerEvent4.iType = TPointerEvent::EButton1Up;
+ textButton->HandlePointerEventL( pointerEvent4 );
+ _LIT( KHandlePointerEventL4, "HandlePointerEventL For CEikTextButton test" );
+ AssertTrueL( ETrue, KHandlePointerEventL4 );
+
+ TeardownTextBtnL( textButton );
+ }
+
+CEikBitmapButton* CBCTestButtonsCase::SetupBitmapBtnL()
+ {
+ //1. just new
+ CEikBitmapButton* bitmapButton = new( ELeave ) CEikBitmapButton();
+ CleanupStack::PushL( bitmapButton );
+ _LIT( KCEikBitmapButton, "CEikBitmapButton test" );
+ AssertTrueL( ETrue, KCEikBitmapButton );
+ //2. construct from res
+ TResourceReader reader4;
+ iEnv->CreateResourceReaderLC( reader4, R_BCTESTBUTTONS_BMPBUT );
+ bitmapButton->ConstructFromResourceL( reader4 );
+ _LIT( KConstructFromResourceL4, "ConstructFromResourceL For CEikBitmapButton test" );
+ AssertTrueL( ETrue, KConstructFromResourceL4 );
+ CleanupStack::PopAndDestroy();//reader4
+
+ return bitmapButton;
+ }
+void CBCTestButtonsCase::TeardownBitmapBtnL( CEikBitmapButton* aBtn )
+ {
+ CleanupStack::PopAndDestroy( aBtn );
+ _LIT( KDesCEikBitmapButton, "~CEikBitmapButton test" );
+ AssertTrueL( ETrue, KDesCEikBitmapButton );
+ }
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestCEikBitmapBtnL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestCEikBitmapBtnL()
+ {
+ CEikBitmapButton* bitmapButton = SetupBitmapBtnL();
+
+ // Test some API for class CEikBitmapButton
+ _LIT( KButtonIconFile3, "z:\\resource\\apps\\BCTestButtons.mbm" );
+ TInt normal3 = 1;
+ CFbsBitmap * normalBitmap3 = AknIconUtils::CreateIconL(
+ KButtonIconFile3, normal3 );
+ CleanupStack::PushL( normalBitmap3 );
+
+ bitmapButton->SetPictureL( normalBitmap3, NULL,
+ CEikCommandButtonBase::EFirst );
+ _LIT( KSetPictureL3, "SetPictureL for CEikBitmapButton test" );
+ AssertTrueL( ETrue, KSetPictureL3 );
+
+ CleanupStack::Pop( normalBitmap3 );
+
+ bitmapButton->SetPictureFromFileL( KButtonIconFile3,
+ EMbmBctestbuttonsSampleicon, EMbmBctestbuttonsSampleiconmask,
+ CEikCommandButtonBase::ESecond );
+ _LIT( KBitmapBtn1, "CEikBitmapButton::SetPictureFromFileL" );
+ AssertTrueL( ETrue, KBitmapBtn1 );
+
+ CEikImage* picture = bitmapButton->Picture( CEikCommandButtonBase::EFirst );
+ _LIT( KPicture1, "Picture For CEikTextButton test" );
+ AssertTrueL( ETrue, KPicture1 );
+
+
+ TPointerEvent pointerEvent5;
+ pointerEvent5.iType = TPointerEvent::EButton1Up;
+ bitmapButton->HandlePointerEventL( pointerEvent5 );
+ _LIT( KHandlePointerEventL5, "HandlePointerEventL For CEikBitmapButton test" );
+ AssertTrueL( ETrue, KHandlePointerEventL5 );
+
+ TeardownBitmapBtnL( bitmapButton );
+ }
+
+CEikLabeledButton* CBCTestButtonsCase::SetupLabeledBtnLC()
+ {
+ //1. just new
+ CEikLabeledButton* labeledButton = new( ELeave ) CEikLabeledButton();
+ CleanupStack::PushL( labeledButton );
+ _LIT( KCEikLabeledButton, "CEikLabeledButton test" );
+ AssertTrueL( ETrue, KCEikLabeledButton );
+
+ //2. construct from res
+ TInt hotKeyCode = 1;
+ TInt flags = 1;
+ CEikCommandButton* commandButton = new( ELeave )CEikCommandButton();
+ CleanupStack::PushL( commandButton );
+ labeledButton->ConstructL( commandButton, hotKeyCode, flags );
+ _LIT( KConstructL, "ConstructL For CEikLabelButton test" );
+ AssertTrueL( ETrue, KConstructL );
+ CleanupStack::Pop( commandButton );
+ CleanupStack::PopAndDestroy( labeledButton );
+
+ labeledButton = new( ELeave ) CEikLabeledButton();
+ CleanupStack::PushL( labeledButton );
+ TResourceReader reader5;
+ iEnv->CreateResourceReaderLC( reader5, R_BCTESTBUTTONS_LBBUT );
+ labeledButton->ConstructFromResourceL( reader5 );
+ _LIT( KConstructFromResourceL5, "ConstructFromResourceL For CEikLabeledButton test" );
+ AssertTrueL( ETrue, KConstructFromResourceL5 );
+ CleanupStack::PopAndDestroy(); //reader5
+
+ return labeledButton;
+ }
+
+void CBCTestButtonsCase::TeardownLabeledBtnL( CEikLabeledButton* aBtn )
+ {
+ CleanupStack::PopAndDestroy( aBtn );
+ _LIT( KDesCEikLabeledButton, "~CEikLabeledButton test" );
+ AssertTrueL( ETrue, KDesCEikLabeledButton );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestCEikLabeledBtnL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestCEikLabeledBtnL()
+ {
+ // Test some API for class CEikLabeledButton
+ CEikLabeledButton* labeledButton = SetupLabeledBtnLC();
+
+ CEikCommandButtonBase* commandButtonBase = labeledButton->Button();
+ _LIT( KButton, "Button test" );
+ AssertTrueL( ETrue, KButton );
+
+ CEikLabel* label3 = labeledButton->Label();
+ _LIT( KLabel3, "Label For CEikLabeledButton test" );
+ AssertTrueL( ETrue, KLabel3 );
+
+ TInt hotKeyCode2 = labeledButton->HotKeyCode();
+ _LIT( KHotKeyCode2, "HotKeyCode For CEikLabeledButton test" );
+ AssertTrueL( ETrue, KHotKeyCode2 );
+
+ TBool showsHotKey = labeledButton->ShowsHotKey();
+ _LIT( KShowsHotKey, "ShowsHotKey test" );
+ AssertTrueL( ETrue, KShowsHotKey );
+
+ TBool plainHotKey = labeledButton->PlainHotKey();
+ _LIT( KPlainHotKey, "PlainHotKey test" );
+ AssertTrueL( ETrue, KPlainHotKey );
+
+ labeledButton->Animate();
+ _LIT( KAnimate1, "Animate test" );
+ AssertTrueL( ETrue, KAnimate1 );
+
+ labeledButton->UpdateHotKey( EAknSoftkeyOk, CEikLabeledButton::EShowHotKey );
+ _LIT( KUpdateHotKey2, "UpdateHotKeytest" );
+ AssertTrueL( ETrue, KUpdateHotKey2 );
+
+ TKeyEvent keyEvent2 = { EKeyPause, EStdKeySpace, 0, 0 };
+ TKeyResponse keyResponse = labeledButton->OfferKeyEventL( keyEvent2, EEventNull );
+ _LIT( KOfferKeyEventL2, "OfferKeyEventL For CeikLabeledButton test" );
+ AssertTrueL( ETrue, KOfferKeyEventL2 );
+
+ TSize size2 = labeledButton->MinimumSize();
+ _LIT( KMinimumSize2, "MinimumSize test" );
+ AssertTrueL( ETrue, KMinimumSize2 );
+
+ labeledButton->SetContainerWindowL( *iContainer );
+ _LIT( KSetContainerWindowL, "SetContainerWindowL test" );
+ AssertTrueL( ETrue, KSetContainerWindowL );
+
+ labeledButton->SetDimmed( ETrue );
+ _LIT( KSetDimmed, "SetDimmed test" );
+ AssertTrueL( ETrue, KSetDimmed );
+
+ CArrayFixFlat* colorUseList = new( ELeave ) CArrayFixFlat( 1 );
+ TCoeColorUse colorUse;
+ colorUseList->AppendL( colorUse );
+ labeledButton->GetColorUseListL( *colorUseList );
+ CleanupStack::PushL( colorUseList );
+ _LIT( KGetColorUseListL, "GetColorUseListL test" );
+ AssertTrueL( ETrue, KGetColorUseListL );
+ CleanupStack::PopAndDestroy( colorUseList );
+
+ TInt type = 1;
+ labeledButton->HandleResourceChange( type );
+ _LIT( KHandleResourceChange, "HandleResourceChange test" );
+ AssertTrueL( ETrue, KHandleResourceChange );
+
+ TCoeInputCapabilities inputCapablilities = labeledButton->InputCapabilities();
+ _LIT( KInputCapabilities, "InputCapabilities test" );
+ AssertTrueL( ETrue, KInputCapabilities );
+
+
+ TPointerEvent pointerEvent6;
+ pointerEvent6.iType = TPointerEvent::EButton1Up;
+ labeledButton->HandlePointerEventL( pointerEvent6 );
+ _LIT( KHandlePointerEventL6, "HandlePointerEventL test" );
+ AssertTrueL( ETrue, KHandlePointerEventL6 );
+
+ TeardownLabeledBtnL( labeledButton );
+ }
+
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsCase::TestMnbutAndBtgpsAndBtgrpL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsCase::TestMnbutAndBtgpsAndBtgrpL()
+ {
+ // Test some API for class CEikMenuButton
+ CBCTestMenuButton* menuButton = new( ELeave ) CBCTestMenuButton();
+ CleanupStack::PushL( menuButton );
+ _LIT( KCEikMenuButton, "CEikMenuButton test" );
+ AssertTrueL( ETrue, KCEikMenuButton );
+
+ menuButton->SetContainerWindowL( *iContainer );
+
+ TResourceReader reader6;
+ iEnv->CreateResourceReaderLC( reader6, R_BCTESTBUTTONS_MNBUT );
+ menuButton->ConstructFromResourceL( reader6 );
+ _LIT( KConstructFromResourceL6, "ConstructFromResourceL For CEikMenuButton test" );
+ AssertTrueL( ETrue, KConstructFromResourceL6 );
+ CleanupStack::PopAndDestroy(); //reader6
+
+ menuButton->SetMenuPaneId( R_BCTESTBUTTONS_MENU );
+ _LIT( KSetMenuPaneId, "SetMenuPaneId test" );
+ AssertTrueL( ETrue, KSetMenuPaneId );
+
+ TBCTestMenuObserver menuObserver;
+ menuButton->LaunchPopupMenuL( &menuObserver );
+ _LIT( KLaunchPopupMenuL, "LaunchPopupMenuL test" );
+ AssertTrueL( ETrue, KLaunchPopupMenuL );
+
+ menuButton->Animate();
+ _LIT( KAnimate2, "Animatet For CEikMenuButton test" );
+ AssertTrueL( ETrue, KAnimate2 );
+
+ RFs& tempServer = iEnv->FsSession();
+ tempServer.Delete( KStreamName );
+ RFileWriteStream fWrite;
+ User::LeaveIfError( fWrite.Create( tempServer,
+ KStreamName, EFileWrite ) );
+ CleanupClosePushL( fWrite );
+ menuButton->WriteInternalStateL( fWrite );
+ CleanupStack::PopAndDestroy( &fWrite );
+ tempServer.Delete( KStreamName );
+ _LIT( KMenuWriteInternal, "CEikMenuButton::WriteInternalStateL" );
+ AssertTrueL( ETrue, KMenuWriteInternal );
+
+ TPointerEvent pointerEvent7;
+ pointerEvent7.iType = TPointerEvent::EButton1Up;
+ menuButton->HandlePointerEventL( pointerEvent7 );
+ _LIT( KHandlePointerEventL7, "HandlePointerEventL For CEikMenuButton test" );
+ AssertTrueL( ETrue, KHandlePointerEventL7 );
+
+ CleanupStack::PopAndDestroy( menuButton );
+ _LIT( KDesCEikMenuButton, "~CEikMenuButton() test" );
+ AssertTrueL( ETrue, KDesCEikMenuButton );
+
+ // Test some API for class CEikButtonGroupStack
+ TSize minimumSize3 = CEikButtonGroupStack::MinimumSize();
+ _LIT( KMinimumSize, "MinimumSizetest For CEikMenuButton" );
+ AssertTrueL( ETrue, KMinimumSize );
+ }
+
+void CBCTestButtonsCase::TestCbaButtonL()
+ {
+
+ _LIT( KSetButtonGroupFlags, " SetButtonGroupFlags " );
+ _LIT( KSetSkinBackgroundId, " SetSkinBackgroundId " );
+ _LIT( KOfferCommandListL, " OfferCommandListL( array )" );
+ _LIT( KOfferCommandListResL, " OfferCommandListL( resource ) " );
+ _LIT( KIsCommandInGroup, " IsCommandInGroup " );
+ _LIT( KReplaceCommand, " ReplaceCommand " );
+ _LIT( KHandlePointerEventL, "HandlePointerEventL" );
+
+ TInt resourceid = R_BCTESTBUTTONS_MENU;
+ TBCTestCommandObserver commandobserver;
+
+ RWindowGroup& parentwg = iEnv->RootWin();
+ TUint flags = 0;
+
+ EikButtonGroupFactory::TCreationData creationData(
+ CEikButtonGroupContainer::EView, &commandobserver,
+ resourceid, &parentwg, flags, CEikButtonGroupContainer::EVertical );
+
+ TInt toolbarresid = R_BCTESTBUTTONS_TOOLBAR;
+
+ CEikButtonGroupContainer* buttongroup1 = CEikButtonGroupContainer::NewL(
+ CEikButtonGroupContainer::EView, CEikButtonGroupContainer::EVertical,
+ &commandobserver, toolbarresid, parentwg,
+ CEikButtonGroupContainer::EAddToStack );
+ CleanupStack::PushL( buttongroup1 );
+ CleanupStack::PopAndDestroy( buttongroup1 );
+
+ CEikButtonGroupContainer* buttongroup = CEikButtonGroupContainer::Current();
+
+ CEikCba *eikcba = static_cast( buttongroup->ButtonGroup() );
+
+ eikcba->SetButtonGroupFlags( 0 );
+ AssertTrueL( ETrue, KSetButtonGroupFlags );
+
+ eikcba->SetSkinBackgroundId( KAknsIIDQsnBgAreaControlIdle );
+ AssertTrueL( ETrue, KSetSkinBackgroundId );
+
+ TInt toolbarresourceid = R_BCTESTBUTTONS_CBA_OPTIONS_NEXT;
+ TInt commandid = EAknSoftkeyOptions;
+ TInt res;
+
+ RArray arr;
+ arr.Append( commandid );
+ TRAP( res, eikcba->OfferCommandListL( arr ) );
+ AssertTrueL( ETrue, KOfferCommandListL );
+ arr.Close();
+
+ eikcba->IsCommandInGroup( commandid );
+ AssertTrueL( ETrue, KIsCommandInGroup );
+ eikcba->ReplaceCommand( commandid, toolbarresourceid );
+ AssertTrueL( ETrue, KReplaceCommand );
+
+ TRAP( res, eikcba->OfferCommandListL( commandid ) );
+ AssertTrueL( ETrue, KOfferCommandListResL );
+
+ CEikCbaButton* cbabutton = (CEikCbaButton*) buttongroup->ControlOrNull(commandid);
+ TPointerEvent pevent;
+ pevent.iType = TPointerEvent::EButton1Up;
+ TRAP( res, cbabutton->HandlePointerEventL( pevent ) );
+ AssertTrueL( ETrue, KHandlePointerEventL );
+ }
+// --------------------------------------------------------------------------
+// TBCTestMenuObserver::SetEmphasis
+// ---------------------------------------------------------------------------
+//
+void TBCTestMenuObserver::SetEmphasis( CCoeControl*, TBool )
+ {
+ }
+// --------------------------------------------------------------------------
+// TBCTestMenuObserver::ProcessCommandL
+// ---------------------------------------------------------------------------
+//
+void TBCTestMenuObserver::ProcessCommandL( TInt )
+ {
+
+ }
+
+
+
+
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/src/bctestbuttonscontainer.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/src/bctestbuttonscontainer.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,116 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: container
+*
+*/
+
+
+#include "bctestbuttonscontainer.h"
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// C++ default Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestButtonsContainer::CBCTestButtonsContainer()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestButtonsContainer::~CBCTestButtonsContainer()
+ {
+ ResetControl();
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsContainer::ConstructL( const TRect& aRect )
+ {
+ CreateWindowL();
+ SetRect( aRect );
+ ActivateL();
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestButtonsContainer::Draw
+// Fills the window's rectangle.
+// ----------------------------------------------------------------------------
+//
+void CBCTestButtonsContainer::Draw( const TRect& aRect ) const
+ {
+ CWindowGc& gc = SystemGc();
+ gc.SetPenStyle( CGraphicsContext::ENullPen );
+ gc.SetBrushColor( KRgbGray );
+ gc.SetBrushStyle( CGraphicsContext::ESolidBrush );
+ gc.DrawRect( aRect );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsContainer::CountComponentControls
+// ---------------------------------------------------------------------------
+//
+TInt CBCTestButtonsContainer::CountComponentControls() const
+ {
+ if ( iControl )
+ {
+ return 1;
+ }
+ else
+ {
+ return 0;
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsContainer::ComponentControl
+// ---------------------------------------------------------------------------
+//
+CCoeControl* CBCTestButtonsContainer::ComponentControl( TInt ) const
+ {
+ return iControl;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsContainer::SetControl
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsContainer::SetControlL( CCoeControl* aControl )
+ {
+ iControl = aControl;
+ if ( iControl )
+ {
+ // You can change the position and size
+ iControl->SetExtent( Rect().iTl, Rect().Size() );
+ iControl->ActivateL();
+ DrawNow();
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsContainer::ResetControl
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsContainer::ResetControl()
+ {
+ delete iControl;
+ iControl = NULL;
+ }
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/src/bctestbuttonsdocument.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/src/bctestbuttonsdocument.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,68 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: avkon buttons test application
+*
+*/
+
+
+// INCLUDE FILES
+#include "bctestbuttonsdocument.h"
+#include "bctestbuttonsappui.h"
+
+// ================= MEMBER FUNCTIONS =========================================
+
+// ----------------------------------------------------------------------------
+// CBCTestButtonsDocument* CBCTestButtonsDocument::NewL( CEikApplication& )
+// Symbian OS two-phased constructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestButtonsDocument* CBCTestButtonsDocument::NewL( CEikApplication& aApp )
+ {
+ CBCTestButtonsDocument* self =
+ new( ELeave ) CBCTestButtonsDocument( aApp );
+ return self;
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestButtonsDocument::~CBCTestButtonsDocument()
+// Destructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestButtonsDocument::~CBCTestButtonsDocument()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestButtonsDocument::CBCTestButtonsDocument( CEikApplication& )
+// Overload constructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestButtonsDocument::CBCTestButtonsDocument( CEikApplication& aApp )
+ : CEikDocument( aApp )
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// CEikAppUi* CBCTestButtonsDocument::CreateAppUiL()
+// Constructs CBCTestVolumeAppUi.
+// ----------------------------------------------------------------------------
+//
+CEikAppUi* CBCTestButtonsDocument::CreateAppUiL()
+ {
+ return new( ELeave ) CBCTestButtonsAppUi;
+ }
+
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/src/bctestbuttonsview.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestbuttons/src/bctestbuttonsview.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,133 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: view class
+*
+*/
+
+
+#include
+#include
+
+#include "bctestbuttons.hrh"
+#include "bctestbuttonsview.h"
+#include "bctestbuttonscontainer.h"
+#include "bctestutil.h"
+#include "bctestbuttonscase.h"
+
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestButtonsView* CBCTestButtonsView::NewL()
+ {
+ CBCTestButtonsView* self = new( ELeave ) CBCTestButtonsView();
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestButtonsView::CBCTestButtonsView()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsView::ConstructL()
+ {
+ BaseConstructL( R_BCTESTBUTTONS_VIEW );
+
+ iContainer = new( ELeave ) CBCTestButtonsContainer();
+ iContainer->SetMopParent( this );
+ iContainer->ConstructL( ClientRect() );
+ AppUi()->AddToStackL( *this, iContainer );
+ iContainer->MakeVisible( ETrue );
+
+ iTestUtil = CBCTestUtil::NewL();
+ // Add test case here.
+ _LIT( KEikBgftyCase , " eikbgfty Test for Buttons case" );
+ iTestUtil->AddTestCaseL( CBCTestButtonsCase::NewL( iContainer ),
+ KEikBgftyCase );
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestButtonsView::~CBCTestButtonsView()
+ {
+ if ( iContainer )
+ {
+ AppUi()->RemoveFromStack( iContainer );
+ }
+ delete iContainer;
+ delete iTestUtil;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsView::Id
+// ---------------------------------------------------------------------------
+//
+TUid CBCTestButtonsView::Id() const
+ {
+ return KBCTestButtonsViewId;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsView::DoActivateL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsView::DoActivateL( const TVwsViewId&, TUid, const TDesC8& )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsView::DoDeactivate
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsView::DoDeactivate()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestButtonsView::HandleCommandL
+// ---------------------------------------------------------------------------
+//
+void CBCTestButtonsView::HandleCommandL( TInt aCommand )
+ {
+ switch ( aCommand )
+ {
+ case EProgCmdAutoTest:
+ iTestUtil->RunL();
+ break;
+ default:
+ if ( aCommand > EBCTestCmdEmptyOutline &&
+ aCommand < EBCTestCmdMaxOutline )
+ {
+ iTestUtil->RunL( aCommand );
+ }
+ break;
+ }
+ }
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg.mmp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg.mmp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,77 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: project specification file for the BCTestCmDlg.
+*
+*/
+
+
+TARGET BCTestCmDlg.exe
+TARGETTYPE exe
+UID 0x0 0x2000475D
+
+VENDORID 0x101FB657
+CAPABILITY NetworkServices LocalServices Location ReadUserData \
+ WriteUserData ReadDeviceData WriteDeviceData SwEvent UserEnvironment
+
+TARGETPATH sys/bin
+
+EPOCSTACKSIZE 0x10000
+EPOCHEAPSIZE 0x10000 0x1000000
+
+START RESOURCE BCTestCmDlg.rss
+HEADER
+TARGETPATH resource/apps
+END // RESOURCE
+
+//LANG 01
+
+SOURCEPATH ../Src
+SOURCE bctestcmdlgapp.cpp
+SOURCE bctestcmdlgdocument.cpp
+SOURCE bctestcmdlgappui.cpp
+SOURCE bctestcmdlgview.cpp
+SOURCE bctestcmdlgcontainer.cpp
+SOURCE bctestcmdlgcase.cpp
+SOURCE bctestmemselpage.cpp
+SOURCE bctestfileseldlg.cpp
+SOURCE bctestfilenamedlg.cpp
+SOURCE bctestcommondlg.cpp
+SOURCE bctestmemselitem.cpp
+SOURCE CVRSettingsDialogMMCSupported.cpp
+
+USERINCLUDE . ../Inc
+USERINCLUDE ../../../bctestutil/inc
+
+SYSTEMINCLUDE . /epoc32/include
+
+LIBRARY euser.lib
+LIBRARY apparc.lib
+LIBRARY cone.lib
+LIBRARY eikcore.lib
+LIBRARY eikcoctl.lib
+LIBRARY avkon.lib
+LIBRARY ws32.lib
+LIBRARY AknSkins.lib
+LIBRARY apgrfx.lib
+LIBRARY bctestutil.lib
+LIBRARY efsrv.lib
+LIBRARY commondialogs.lib
+LIBRARY eikdlg.lib
+
+START RESOURCE ../group/bctestcmdlg_reg.rss
+HEADER
+TARGETPATH /private/10003a3f/apps
+END
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg.rss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg.rss Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,630 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: resources for the module
+*
+*/
+
+
+// RESOURCE IDENTIFIER
+NAME TEMP
+
+// INCLUDES
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include
+#include
+
+#include "bctestcmdlg.hrh"
+#include "bctestcmdlg.loc"
+
+// CONSTANTS
+#define APP_BITMAP_DIR "\\resource\\apps"
+#define AVKON_BMP_FILENAME AVKON_ICON_FILE
+#define BCTESTCMDLG_BMP_FNAME APP_BITMAP_DIR"\\bctestcmdlg.mbm"
+#define PHONE "C:\\Data\\"
+#define MMC "E:\\"
+
+// MACROS
+
+// RESOURCE DEFINITIONS
+//-----------------------------------------------------------------------------
+//
+// RSS_SIGNATURE
+//
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE RSS_SIGNATURE
+ {
+ }
+
+//-----------------------------------------------------------------------------
+//
+// TBUF16
+//
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE TBUF16
+ {
+ buf = "BCTestCmDlg";
+ }
+
+//-----------------------------------------------------------------------------
+//
+// EIK_APP_INFO
+//
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE EIK_APP_INFO
+ {
+ menubar = r_bctestcmdlg_menubar_main;
+ cba = r_bctestcmdlg_cba_options_next;
+ }
+
+// ---------------------------------------------------------
+// Provide Caption and Icon Info for Scalable UI
+//
+// ---------------------------------------------------------
+//
+RESOURCE LOCALISABLE_APP_INFO r_bctestcmdlg_localisable_app_info
+ {
+ short_caption = qtn_apps_tavl_grid;
+
+ caption_and_icon =
+ CAPTION_AND_ICON_INFO
+ {
+ caption = qtn_apps_tavl_list;
+ //number_of_icons = 2;
+ //icon_file = APP_BITMAP_DIR"\\bctestcmdlg_aif.mbm";
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestcmdlg_view
+// AVKON_VIEW for CBCTestCmDlgView
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_bctestcmdlg_view
+ {
+ menubar = r_bctestcmdlg_menubar_main;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestcmdlg_menubar
+// MenuBar
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_BAR r_bctestcmdlg_menubar_main
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_bctestcmdlg_menu;
+ },
+ MENU_TITLE
+ {
+ menu_pane = r_bctestcmdlg_case_menu;
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestcmdlg_case_menu
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestcmdlg_case_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ cascade = r_bctestcmdlg_mem_sel_menu;
+ txt = "Test Mem select dlg";
+ },
+ MENU_ITEM
+ {
+ cascade = r_bctestcmdlg_mem_sel_page;
+ txt = "Test Mem select page";
+ },
+ MENU_ITEM
+ {
+ cascade = r_bctestcmdlg_file_sel_dlg;
+ txt = "Test File select dlg";
+ },
+ MENU_ITEM
+ {
+ cascade = r_bctestcmdlg_file_name_dlg;
+ txt = "Test File prompt dlg";
+ },
+ MENU_ITEM
+ {
+ cascade = r_bctestcmdlg_common_dlg;
+ txt = "Test common dlg";
+ },
+ MENU_ITEM
+ {
+ cascade = r_bctestcmdlg_mem_sel_setting_item;
+ txt = "Test mem select item";
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestcmdlg_mem_sel_menu
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestcmdlg_mem_sel_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelDlgCreate;
+ txt = "Test NewL and ExecuteL";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelDlgCreateWithRes;
+ txt = "Test NewL with Res";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelDlgWithRoot;
+ txt = "Test With Root";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelDlgQuick;
+ txt = "Test RunDlgL";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelDlgQuickTitle;
+ txt = "Test RunDlgL with title";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelDlgQuickRes;
+ txt = "Test RunDlgL with ResID";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelDlgSetting;
+ txt = "Test Settings";
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestcmdlg_mem_sel_page
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestcmdlg_mem_sel_page
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelPageCreate;
+ txt = "Test NewL and ExecuteL";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelPageCreateRes;
+ txt = "Test Create with Res";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelPageQuickCreate;
+ txt = "Test Quick Create";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelPageQuickCreateTitle;
+ txt = "Test Quick Create with Title";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelPageQuickCreateRes;
+ txt = "Test Quick Create with Res";
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestcmdlg_file_sel_dlg
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestcmdlg_file_sel_dlg
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EBCTestCmdFileSelDlgCreate;
+ txt = "Test NewL and ExecuteL";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdFileSelDlgCreateRes;
+ txt = "Test Create with ResID";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdFileSelDlgQuickCreate;
+ txt = "Test Quick Create";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdFileSelDlgQuickCreateTitle;
+ txt = "Test Quick Create with Title";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdFileSelDlgQuickCreateRes;
+ txt = "Test Quick Create with Res";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdFileSelDlgSettings;
+ txt = "Test Settings";
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestcmdlg_file_name_dlg
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestcmdlg_file_name_dlg
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EBCTestCmdFileNameDlgCreate;
+ txt = "Test NewL and ExecuteL";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdFileNameDlgCreateRes;
+ txt = "Test Create with ResID";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdFileNameDlgQuickCreate;
+ txt = "Test Quick Create";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdFileNameDlgQuickCreateTitle;
+ txt = "Test Quick Create with Title";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdFileNameDlgQuickCreateRes;
+ txt = "Test Quick Create with Res";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdFileNameDlgSettings;
+ txt = "Test Settings";
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestcmdlg_file_name_dlg
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestcmdlg_mem_sel_setting_item
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelSettingItemCreate;
+ txt = "Test Create";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelSettingItemEdit;
+ txt = "Test Edit";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelSettingItemStore;
+ txt = "Test Quick Create";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdMemSelSettingItemSetting;
+ txt = "Test Setting";
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestcmdlg_common_dlg
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestcmdlg_common_dlg
+ {
+ items =
+ {
+ //select
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSelect1;
+ txt = "Test Select 1";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSelect2;
+ txt = "Test Select 2";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSelect3;
+ txt = "Test Select 3";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSelect4;
+ txt = "Test Select 4";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSelect5;
+ txt = "Test Select 5";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSelect6;
+ txt = "Test Select 6";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSelect7;
+ txt = "Test Select 7";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSelect8;
+ txt = "Test Select 8";
+ },
+ //move
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgMove1;
+ txt = "Test Move 1";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgMove2;
+ txt = "Test Move 2";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgMove3;
+ txt = "Test Move 3";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgMove4;
+ txt = "Test Move 4";
+ },
+ //save
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSave1;
+ txt = "Test Save 1";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSave2;
+ txt = "Test Save 2";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSave3;
+ txt = "Test Save 3";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSave4;
+ txt = "Test Save 4";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSave5;
+ txt = "Test Save 5";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSave6;
+ txt = "Test Save 6";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgSave7;
+ txt = "Test Save 7";
+ },
+ //copy
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgCopy1;
+ txt = "Test Copy 1";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgCopy2;
+ txt = "Test Copy 2";
+ },
+ MENU_ITEM
+ {
+ command = EBCTestCmdCommonDlgCopy3;
+ txt = "Test Copy 3";
+ }
+ };
+ }
+
+
+
+
+
+
+//-----------------------------------------------------------------------------
+//
+// r_bctestcmdlg_menu
+// Menu pane
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_bctestcmdlg_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EProgCmdAutoTest;
+ txt = qtn_bctestcmdlg_autotest;
+ },
+ MENU_ITEM // Menu "Exit"
+ {
+ command = EAknCmdExit;
+ txt = qtn_bctestcmdlg_menu_exit;
+ }
+ };
+ }
+
+// ----------------------------------------------------------------------------
+//
+// r_bctestcmdlg_cba_options_next
+// ?description
+//
+// ----------------------------------------------------------------------------
+//
+
+RESOURCE CBA r_bctestcmdlg_cba_options_next
+ {
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id=EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = EBCTestCmDlgCbaCmdNext;
+ txt = qtn_bctestcmdlg_cba_next;
+ }
+ };
+ }
+
+RESOURCE MEMORYSELECTIONDIALOG r_bctest_memory_selection_locations
+ {
+ locations =
+ {
+ LOCATION { root_path = PHONE; },
+ LOCATION { root_path = MMC; }
+ };
+ }
+
+RESOURCE FILESELECTIONDIALOG r_bctest_file_selection_all
+ {
+ title = "resTitle";
+ softkey_1_file = "resSk1";
+ softkey_1_folder = "resSk2";
+ softkey_2_root_level = "resSk3";
+ softkey_2_subfolder = "resSk4";
+ root_path = "C:\\Data\\";
+ default_folder = "Sounds\\";
+ }
+
+RESOURCE MENU_BAR r_vr_settings_menubar
+ {
+ titles=
+ {
+ MENU_TITLE { menu_pane = r_vr_settings_menupane; }
+ };
+ }
+
+RESOURCE MENU_PANE r_vr_settings_menupane
+ {
+ items=
+ {
+ MENU_ITEM { command = ECmdChange; txt = "change"; }
+ };
+ }
+
+RESOURCE TBUF r_qtn_vorec_set_store { buf = "set store"; }
+
+RESOURCE DIALOG r_vr_settings_dialog
+ {
+ buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
+ flags = EEikDialogFlagWait | EEikDialogFlagNoDrag
+ | EEikDialogFlagCbaButtons | EEikDialogFlagNoTitleBar
+ | EEikDialogFlagFillAppClientRect;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtSettingListBox;
+ id = EVRSettingsListboxId;
+ itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
+ control = LISTBOX
+ {
+ flags = EAknListBoxSelectionList;
+ };
+ }
+ };
+ }
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg_reg.rss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg_reg.rss Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,33 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+#include
+#include
+
+UID2 KUidAppRegistrationResourceFile
+UID3 0x2000475D // application UID
+
+RESOURCE APP_REGISTRATION_INFO
+ {
+ app_file = "bctestcmdlg";
+ localisable_resource_file = "\\resource\\apps\\bctestcmdlg";
+ localisable_resource_id = R_BCTESTCMDLG_LOCALISABLE_APP_INFO;
+ hidden = KAppIsHidden;
+ embeddability = KAppNotEmbeddable;
+ group_name = "BCTest";
+ }
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/group/bld.inf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/group/bld.inf Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,25 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: build information
+*
+*/
+
+
+
+
+PRJ_MMPFILES
+
+bctestcmdlg.mmp
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/CVRSettingsDialogMMCSupported.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/CVRSettingsDialogMMCSupported.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,100 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+#ifndef __CVRSETTINGSDIALOG_H__
+#define __CVRSETTINGSDIALOG_H__
+
+// INCLUDES
+#include
+#include
+
+#include
+#include
+
+// CLASS DECLARATION
+
+/**
+* This class defines a settings dialog for the Voice Recorder application.
+*/
+class CVRSettingsDialog
+ : public CAknDialog,
+ public MEikListBoxObserver
+ {
+
+ public: // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~CVRSettingsDialog();
+
+ /**
+ * Two-phased constructor.
+ */
+ static CVRSettingsDialog* NewL();
+
+ private: // Constructors
+
+ /**
+ * Default constructor. Inlined to save a few bytes.
+ * Parameters to array: granularity, isnumered, 1st ordinal
+ */
+ inline CVRSettingsDialog() : iSettingItemArray( 1, EFalse, 1 ) {}
+
+ protected: // from CEikDialog
+
+ /**
+ * Tests if it is OK to exit the dialog.
+ * @param aButtonId The ID of the button that was activated.
+ * @return ETrue to validate and exit the dialog,
+ * EFalse to keep the dialog active.
+ */
+ TBool OkToExitL( TInt aButtonId );
+
+ /**
+ * Pre-layout dialog initialisation.
+ */
+ void PreLayoutDynInitL();
+
+ void ProcessCommandL( TInt aCommandId );
+
+
+ public: // From MEikListBoxObserver
+
+ /**
+ * Handles list box events.
+ * This is invoked by CEikListBox to notify the observer of
+ * list box events.
+ * @param aListBox The originating list box.
+ * @param aEventType A code for the event.
+ */
+ void HandleListBoxEventL( CEikListBox* aListBox,
+ TListBoxEvent aEventType );
+
+ private: // data
+
+ /**
+ * Array of setting items contained in the listbox. Owned.
+ */
+ CAknSettingItemArray iSettingItemArray;
+
+ /**
+ * Selected memo store
+ */
+ CAknMemorySelectionDialog::TMemory iMemoStore;
+ };
+
+#endif // __CVRSETTINGSDIALOG_H__
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/StreamLogger.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/StreamLogger.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,124 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+//
+// just for simple use,
+// this file doesn't following any code convensions or symbian rules.
+//
+
+#ifndef __DLL_LOGGER_H__
+#define __DLL_LOGGER_H__
+
+#include // link against efsrv.lib
+#include
+
+#define CERR StreamLogger::begin()
+
+/**
+* usage: StreamLogger::begin()<<"your string"<FsSession();
+ if ( file.Open( fs, KLogFile, EFileWrite | EFileShareAny ) != KErrNone )
+ file.Create( fs, KLogFile, EFileWrite | EFileShareAny );
+
+ TInt pos=0; // this must be 0
+ file.Seek( ESeekEnd, pos );
+ }
+
+ ~LogFile(){
+ file.Close();
+ }
+
+ RFile& operator()(){ return file; }
+ private:
+ RFile file;
+ };
+
+public:
+ ~StreamLogger(){}
+
+ static StreamLogger& begin(){
+ StreamLogger* self = new (ELeave) StreamLogger;
+ return *self;
+ }
+
+ void suicide(){ delete this; }
+
+ StreamLogger& operator<<(const TDesC& aText){
+ LogFile file;
+
+ HBufC8* text = HBufC8::NewL( aText.Length() );
+ TPtr8 textPtr = text->Des();
+ textPtr.Copy( aText );
+ file().Write( *text );
+ delete text;
+
+ return *this;
+ }
+
+ StreamLogger& operator<<(TInt n){
+ LogFile file;
+
+ TInt i=1;
+ for(TInt v=n; v!=0; ++i, v/=10){}
+ HBufC* text = HBufC::NewL( i );
+ TPtr textPtr = text->Des();
+
+ _LIT(KFmt, "%d");
+ textPtr.Format( KFmt, n );
+ HBufC8* text8 = HBufC8::NewL( textPtr.Length() );
+ TPtr8 textPtr8 = text8->Des();
+ textPtr8.Copy(*text);
+
+ file().Write( *text8 );
+ delete text;
+ delete text8;
+
+ return *this;
+ }
+
+ StreamLogger& cr(){
+ LogFile file;
+ TBuf8<2> enter;
+ enter.Append( 13 );
+ enter.Append( 10 );
+ file().Write( enter );
+ return *this;
+ }
+
+ typedef StreamLogger& (*_Manipulator)(StreamLogger&);
+ StreamLogger& operator<<(_Manipulator op){ return op(*this); }
+
+private:
+ StreamLogger(){} //disable ctor
+};
+
+inline StreamLogger& end(StreamLogger& self){ self.suicide(); return self; }
+
+inline StreamLogger& endl(StreamLogger& self){ self.cr(); return self; }
+
+#endif //__FILE_LOGGER_H__
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlg.hrh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlg.hrh Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,160 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: BCTestCmDlg resource header file
+*
+*/
+
+
+#ifndef BCTESTCMDLG_HRH
+#define BCTESTCMDLG_HRH
+
+enum TBCTestCmDlgMenuCommands
+ {
+ EBCTestCmdEmptyOutline = 0x6000,
+
+ EBCTestCmdMemSelDlgBegin,
+ EBCTestCmdMemSelDlgCreate,
+ EBCTestCmdMemSelDlgCreateWithRes,
+ EBCTestCmdMemSelDlgWithRoot,
+ EBCTestCmdMemSelDlgQuick,
+ EBCTestCmdMemSelDlgQuickTitle,
+ EBCTestCmdMemSelDlgQuickRes,
+ EBCTestCmdMemSelDlgSetting,
+ EBCTestCmdMemSelDlgEnd,
+
+ EBCTestCmdMemSelPageBegin,
+ EBCTestCmdMemSelPageCreate,
+ EBCTestCmdMemSelPageCreateRes,
+ EBCTestCmdMemSelPageQuickCreate,
+ EBCTestCmdMemSelPageQuickCreateTitle,
+ EBCTestCmdMemSelPageQuickCreateRes,
+ EBCTestCmdMemSelPageEnd,
+
+ EBCTestCmdFileSelDlgBegin,
+ EBCTestCmdFileSelDlgCreate,
+ EBCTestCmdFileSelDlgCreateRes,
+ EBCTestCmdFileSelDlgQuickCreate,
+ EBCTestCmdFileSelDlgQuickCreateTitle,
+ EBCTestCmdFileSelDlgQuickCreateRes,
+ EBCTestCmdFileSelDlgSettings,
+ EBCTestCmdFileSelDlgEnd,
+
+ EBCTestCmdFileNameDlgBegin,
+ EBCTestCmdFileNameDlgCreate,
+ EBCTestCmdFileNameDlgCreateRes,
+ EBCTestCmdFileNameDlgQuickCreate,
+ EBCTestCmdFileNameDlgQuickCreateTitle,
+ EBCTestCmdFileNameDlgQuickCreateRes,
+ EBCTestCmdFileNameDlgSettings,
+ EBCTestCmdFileNameDlgEnd,
+
+ EBCTestCmdCommonDlgBegin,
+ //select
+ EBCTestCmdCommonDlgSelect1,
+ EBCTestCmdCommonDlgSelect2,
+ EBCTestCmdCommonDlgSelect3,
+ EBCTestCmdCommonDlgSelect4,
+ EBCTestCmdCommonDlgSelect5,
+ EBCTestCmdCommonDlgSelect6,
+ EBCTestCmdCommonDlgSelect7,
+ EBCTestCmdCommonDlgSelect8,
+
+ //move
+ EBCTestCmdCommonDlgMove1,
+ EBCTestCmdCommonDlgMove2,
+ EBCTestCmdCommonDlgMove3,
+ EBCTestCmdCommonDlgMove4,
+
+ //save
+ EBCTestCmdCommonDlgSave1,
+ EBCTestCmdCommonDlgSave2,
+ EBCTestCmdCommonDlgSave3,
+ EBCTestCmdCommonDlgSave4,
+ EBCTestCmdCommonDlgSave5,
+ EBCTestCmdCommonDlgSave6,
+ EBCTestCmdCommonDlgSave7,
+
+ //copy
+ EBCTestCmdCommonDlgCopy1,
+ EBCTestCmdCommonDlgCopy2,
+ EBCTestCmdCommonDlgCopy3,
+ //
+ EBCTestCmdCommonDlgEnd,
+
+
+
+
+
+
+
+
+
+
+ EBCTestCmdMemSelSettingItemBegin,
+ EBCTestCmdMemSelSettingItemCreate,
+ EBCTestCmdMemSelSettingItemEdit,
+ EBCTestCmdMemSelSettingItemStore,
+ EBCTestCmdMemSelSettingItemSetting,
+ EBCTestCmdMemSelSettingItemEnd,
+
+ EBCTestCmdMaxOutline,
+ EProgCmdAutoTest
+ };
+
+enum TBCTestCmDlgCba
+ {
+ EBCTestCmDlgCbaCmdNext = 0x6300
+ };
+
+enum TVRDialogIds
+ {
+ EVRSettingsListboxId = 1 //Dialog control ID can't be zero
+ };
+
+enum TVRCommands
+ {
+ ECmdPlay = 100, // Don't override EIKON IDs..
+ ECmdPause,
+ ECmdStop,
+ ECmdAutoStopInterrupted,
+ ECmdAutoStopAtEnd,
+ ECmdSilentStop,
+ ECmdRecord,
+ ECmdRewind,
+ ECmdForward,
+ ECmdRecordNew,
+ ECmdOpen,
+ ECmdDelete,
+ ECmdAddToPinboard,
+ ECmdRename,
+ ECmdSaveAttachment,
+ ECmdOk,
+ ECmdCancel,
+ ECmdSettings,
+ ECmdEditListCascade,
+ ECmdChange,
+ ECmdHelp,
+ ECmdGoToGallery,
+ ECmdEndKey,
+ ECmdCancelNote,
+ ECmdEmbeddedRecordingReady,
+ ECmdDisconnectCall,
+ ECmdNewFileServiceNotify,
+
+ ECmdSendVia // This MUST be the last entry
+ };
+
+#endif // BCTESTCMDLG_HRH
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlg.loc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlg.loc Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,43 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: BCTestCmDlg localise file
+*
+*/
+
+
+// LOCALISATION STRINGS
+
+// Caption
+#define qtn_apps_tavl_list "BCTESTCMDLG"
+#define qtn_apps_tavl_grid "BCTESTCMDLG"
+
+// MenuBar
+#define qtn_bctestcmdlg_menubar "Option"
+#define qtn_bctestcmdlg_cba_next "Next"
+#define qtn_bctestcmdlg_autotest "Autotest"
+#define qtn_bctestcmdlg_menu_exit "Exit"
+
+// softkey
+#define text_softkey_option "Options"
+
+// outline
+#define qtn_bctestcmdlg_outline1 "Outline01"
+
+
+#define qtn_bctestvolume_label_outline06 \
+"Press 2/8 <-, ->\nor side volume keys\nto see AknVolumePopup\n0,1 to change label"
+
+// Application name
+#define qtn_bctestvolume_text_other_app_name "BCTestSoftkey"
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgapp.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgapp.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,56 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Declares main application class.
+*
+*/
+
+
+#ifndef BCTESTCMDLGAPP_H
+#define BCTESTCMDLGAPP_H
+
+// INCLUDES
+#include
+
+// CONSTANTS
+const TUid KUidBCTestCmDlg = { 0x2000475D }; // UID of the application.
+
+// CLASS DECLARATION
+
+/**
+* CBCTestCmDlgApp application class.
+* Provides factory to create concrete document object.
+*/
+class CBCTestCmDlgApp : public CAknApplication
+ {
+ private: // From CApaApplication
+
+ /**
+ * From CApaApplication, CreateDocumentL.
+ * Creates CBCTestCmDlgDocument document object.
+ * @return A pointer to the created document object.
+ */
+ CApaDocument* CreateDocumentL();
+
+ /**
+ * From CApaApplication, AppDllUid.
+ * Returns application's UID ( KUidBCTestCmDlg ).
+ * @return The value of KUidBCTestCmDlg.
+ */
+ TUid AppDllUid() const;
+
+ };
+
+#endif
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgappUi.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgappUi.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,68 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test BC for Template control API.
+*
+*/
+
+
+#ifndef C_BCTESTCMDLGAPPUI_H
+#define C_BCTESTCMDLGAPPUI_H
+
+#include
+
+class CBCTestCmDlgView;
+
+/**
+ * Application UI class
+ *
+ * @lib bctestutil.lib
+ */
+class CBCTestCmDlgAppUi : public CAknViewAppUi
+ {
+ public: // Constructors and destructor
+
+ /**
+ * ctor
+ */
+ CBCTestCmDlgAppUi();
+
+ /**
+ * symbian 2nd ctor
+ */
+ void ConstructL();
+
+ /**
+ * dtor
+ */
+ virtual ~CBCTestCmDlgAppUi();
+
+ private:
+
+ /**
+ * From CEikAppUi
+ */
+ void HandleCommandL( TInt aCommand );
+
+ private: // data
+
+ /**
+ * pointor to the view.
+ * own
+ */
+ CBCTestCmDlgView* iView;
+ };
+
+#endif // C_BCTESTCMDLGAPPUI_H
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcase.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcase.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,103 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef BCTEST_CMDLG_CASE_H
+#define BCTEST_CMDLG_CASE_H
+
+#include
+#include "bctestcase.h"
+
+class CBCTestCmDlgContainer;
+class CCoeControl;
+
+/**
+* test case for various list classes
+*/
+class CBCTestCmDlgCase: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestCmDlgCase* NewL();
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestCmDlgCase();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Create control or allocate resource for test
+ * @param aCmd UI command, maybe you need to do some work
+ * for different outline
+ */
+
+ /**
+ * Release resource used in test
+ */
+ void Teardown();
+
+ /**
+ * Test functions
+ */
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestCmDlgCase();
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+private: // data
+ void TestSettingsL();
+ void TestQuickCreateL(TInt aResID);
+ void TestQuickCreateL(const TDesC& aTitle);
+ void TestWithRootL();
+ void TestCreateL(TInt aResID);
+ void SetupL();
+ void AddCancelL();
+ void AddOKL();
+ void TestQuickCreateL();
+ void TestCreateL();
+
+ CAknMemorySelectionDialog* iDlg;
+ CAknMemorySelectionDialog::TMemory iMemory;
+ };
+
+#endif // BCTEST_CMDLG_CASE_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcontainer.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcontainer.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,90 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: container
+*
+*/
+
+#ifndef BCTEST_CMDLG_CONTAINER_H
+#define BCTEST_CMDLG_CONTAINER_H
+
+#include
+
+/**
+* container class
+*/
+class CBCTestCmDlgContainer: public CCoeControl
+ {
+public: // constructor and destructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestCmDlgContainer();
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestCmDlgContainer();
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL( const TRect& aRect );
+
+public: // new functions
+
+ /**
+ * Set component control, and container will own the control
+ * @param aControl pointer to a control.
+ */
+ void SetControl( CCoeControl* aControl );
+
+ /**
+ * Delete control
+ */
+ void ResetControl();
+
+public: // from CCoeControl
+
+ /**
+ * Return count of component controls
+ */
+ TInt CountComponentControls() const;
+
+ /**
+ * Return pointer to component control specified by index
+ * @param aIndex, a index to specify a component control
+ */
+ CCoeControl* ComponentControl( TInt aIndex ) const;
+
+private: // from CCoeControl
+
+ /**
+ * From CCoeControl, Draw.
+ * Fills the window's rectangle.
+ * @param aRect Region of the control to be (re)drawn.
+ */
+ void Draw( const TRect& aRect ) const;
+
+private: // data
+
+ /**
+ * Pointer to component control.
+ * own
+ */
+ CCoeControl* iControl;
+
+ };
+
+#endif // BCTEST_CMDLG_CONTAINER_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgdocument.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgdocument.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,72 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+#ifndef C_BCTEST_CMDLG_DOCUMENT_H
+#define C_BCTEST_CMDLG_DOCUMENT_H
+
+// INCLUDES
+#include
+
+// CONSTANTS
+
+// FORWARD DECLARATIONS
+class CEikAppUi;
+
+// CLASS DECLARATION
+
+/**
+* CBCTestCmDlgDocument application class.
+*/
+class CBCTestCmDlgDocument : public CEikDocument
+ {
+ public: // Constructors and destructor
+
+ /**
+ * Symbian OS two-phased constructor.
+ * @return Pointer to created Document class object.
+ * @param aApp Reference to Application class object.
+ */
+ static CBCTestCmDlgDocument* NewL( CEikApplication& aApp );
+
+ /**
+ * Destructor.
+ */
+ virtual ~CBCTestCmDlgDocument();
+
+ private: // Constructors
+
+ /**
+ * Overload constructor.
+ * @param aApp Reference to Application class object.
+ */
+ CBCTestCmDlgDocument( CEikApplication& aApp );
+
+ private: // From CEikDocument
+
+ /**
+ * From CEikDocument, CreateAppUiL.
+ * Creates CBCTestTemplateAppUi "App UI" object.
+ * @return Pointer to created AppUi class object.
+ */
+ CEikAppUi* CreateAppUiL();
+
+ };
+
+#endif // C_BCTEST_CMDLG_DOCUMENT_H
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgview.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgview.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,103 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test BC for Template control API.
+*
+*/
+
+
+#ifndef BCTEST_CMDLG_VIEW_H
+#define BCTEST_CMDLG_VIEW_H
+
+#include
+
+const TUid KBCTestCmDlgViewId = { 1 };
+
+class CBCTestCmDlgContainer;
+class CBCTestUtil;
+
+/**
+ * Application UI class
+ *
+ * @lib bctestutil.lib
+ */
+class CBCTestCmDlgView : public CAknView
+ {
+public: // Constructors and destructor
+
+ /**
+ * Symbian static 2nd constructor
+ */
+ static CBCTestCmDlgView* NewL();
+
+ /**
+ * dtor
+ */
+ virtual ~CBCTestCmDlgView();
+
+public: // from CAknView
+
+ /**
+ * Return view Id.
+ */
+ TUid Id() const;
+
+ /**
+ * From CAknView, HandleCommandL.
+ * @param aCommand Command to be handled.
+ */
+ void HandleCommandL( TInt aCommand );
+
+protected: // from CAknView
+
+ /**
+ * When view is activated, do something
+ */
+ void DoActivateL( const TVwsViewId&, TUid, const TDesC8& );
+
+ /**
+ * When view is deactivated, do something
+ */
+ void DoDeactivate();
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestCmDlgView();
+
+ /**
+ * symbian 2nd ctor
+ */
+ void ConstructL();
+
+private: // data
+
+ /**
+ * pointor to the BC Test framework utility.
+ * own
+ */
+ CBCTestUtil* iTestUtil;
+
+ /**
+ * pointor to the container.
+ * own
+ */
+ CBCTestCmDlgContainer* iContainer;
+
+ };
+
+#endif // BCTEST_CMDLG_VIEW_H
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcommondlg.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcommondlg.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,127 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef BCTEST_COMMON_DLG_H
+#define BCTEST_COMMON_DLG_H
+
+#include "bctestcase.h"
+
+class MAknFileFilter;
+
+/**
+* test case for various list classes
+*/
+class CBCTestCommonDlg: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestCommonDlg* NewL();
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestCommonDlg();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Create control or allocate resource for test
+ * @param aCmd UI command, maybe you need to do some work
+ * for different outline
+ */
+
+ /**
+ * Release resource used in test
+ */
+ void Teardown();
+
+ /**
+ * Test functions
+ */
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestCommonDlg();
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+private: // data
+ void RunCopyL(TInt aCmd);
+ void RunSaveL(TInt aCmd);
+ void RunMoveL(TInt aCmd);
+ void RunSelectL(TInt aCmd);
+
+ void BuildCopyScriptL(int i);
+ void BuildSaveScriptL(int i);
+ void BuildMoveScriptL(int i);
+ void BuildSelectScriptL(int i);
+
+ void SetupL();
+ void AddCancelL();
+ void AddOKL();
+
+ void TestSelectL();
+ void TestSelectL(const TDesC& aTitle);
+ void TestSelectL(MAknFileFilter* aFilter);
+ void TestSelectL(TInt aFileSelResID);
+ void TestSelectL(const TDesC& aStartFolder, TInt aMemSelResID);
+ void TestSelectL(const TDesC& aStartFolder, MAknFileFilter* aFilter);
+ void TestSelectL(const TDesC& aStartFolder, TInt aMemSelResID, TInt aFileSelResID);
+ void TestSelectL(const TDesC& aStartFolder, const TDesC& aTitle);
+
+ void TestMoveL(TInt aFileSelResID);
+ void TestMoveL(MAknFileFilter* aFilter);
+ void TestMoveL(const TDesC& aTitle);
+ void TestMoveL();
+
+ void TestSaveL(TBool aDirFlag, TInt aMemSelResID, const TDesC& aPrompt);
+ void TestSaveL(TBool aDirFlag, TInt aMemSelResID);
+ void TestSaveL(TInt aFileSelResID, const TDesC& aPrompt);
+ void TestSaveL(TInt aFileSelResID);
+ void TestSaveL(const TDesC& aFileTitle, const TDesC& aPromptTitle);
+ void TestSaveL(MAknFileFilter* aFilter);
+ void TestSaveL();
+
+ void TestCopyL(TInt aFileSelResID);
+ void TestCopyL(MAknFileFilter* aFilter);
+ void TestCopyL();
+ };
+
+#endif // BCTEST_COMMON_DLG_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestfilenamedlg.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestfilenamedlg.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,99 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef BCTEST_FILE_NAME_DLG_H
+#define BCTEST_FILE_NAME_DLG_H
+
+#include "bctestcase.h"
+
+class CAknFileNamePromptDialog;
+
+/**
+* test case for various list classes
+*/
+class CBCTestFileNameDlg: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestFileNameDlg* NewL();
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestFileNameDlg();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Create control or allocate resource for test
+ * @param aCmd UI command, maybe you need to do some work
+ * for different outline
+ */
+
+ /**
+ * Release resource used in test
+ */
+ void Teardown();
+
+ /**
+ * Test functions
+ */
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestFileNameDlg();
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+private: // data
+ void TestSettingsL();
+ void TestQuickCreateL(TInt aResID);
+ void TestQuickCreateL(const TDesC& aTitle);
+ void TestCreateL(TInt aResID);
+ void SetupL();
+ void AddCancelL();
+ void AddOKL();
+ void TestQuickCreateL();
+ void TestCreateL();
+
+ CAknFileNamePromptDialog* iDlg;
+ };
+
+#endif // BCTEST_FILE_NAME_DLG_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestfileseldlg.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestfileseldlg.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,100 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef BCTEST_FILE_SEL_DLG_H
+#define BCTEST_FILE_SEL_DLG_H
+
+#include
+#include "bctestcase.h"
+
+class CCoeControl;
+
+/**
+* test case for various list classes
+*/
+class CBCTestFileSelDlg: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestFileSelDlg* NewL();
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestFileSelDlg();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Create control or allocate resource for test
+ * @param aCmd UI command, maybe you need to do some work
+ * for different outline
+ */
+
+ /**
+ * Release resource used in test
+ */
+ void Teardown();
+
+ /**
+ * Test functions
+ */
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestFileSelDlg();
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+private: // data
+ void TestSettingsL();
+ void TestQuickCreateL(TInt aResID);
+ void TestQuickCreateL(const TDesC& aTitle);
+ void TestCreateL(TInt aResID);
+ void SetupL();
+ void AddCancelL();
+ void AddOKL();
+ void TestQuickCreateL();
+ void TestCreateL();
+
+ CAknFileSelectionDialog* iDlg;
+ };
+
+#endif // BCTEST_FILE_SEL_DLG_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestmemselitem.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestmemselitem.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,98 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef BCTEST_MEM_SEL_SETTING_ITEM_H
+#define BCTEST_MEM_SEL_SETTING_ITEM_H
+
+#include
+#include "bctestcase.h"
+
+/**
+* test case for various list classes
+*/
+class CBCTestMemSelSettingItem: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestMemSelSettingItem* NewL();
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestMemSelSettingItem();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Create control or allocate resource for test
+ * @param aCmd UI command, maybe you need to do some work
+ * for different outline
+ */
+
+ /**
+ * Release resource used in test
+ */
+ void Teardown();
+
+ /**
+ * Test functions
+ */
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestMemSelSettingItem();
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+ void SetupL();
+ void AddCancelL();
+ void AddOKL();
+
+ void TestCreateL();
+ void TestEditL();
+ void TestStoreL();
+ void TestSettingL();
+
+private: // data
+ CAknMemorySelectionSettingPage::TMemory iMemory;
+ CAknMemorySelectionSettingItem* iItem;
+ };
+
+#endif // BCTEST_MEM_SEL_SETTING_ITEM_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestmemselpage.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/inc/bctestmemselpage.h Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,101 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#ifndef BCTEST_MEM_SEL_SETTING_PAGE_H
+#define BCTEST_MEM_SEL_SETTING_PAGE_H
+
+#include
+#include "bctestcase.h"
+
+class CBCTestCmDlgContainer;
+class CCoeControl;
+
+/**
+* test case for various list classes
+*/
+class CBCTestMemSelSettingPage: public CBCTestCase
+ {
+public: // constructor and destructor
+
+ /**
+ * Symbian 2nd static constructor
+ */
+ static CBCTestMemSelSettingPage* NewL();
+
+ /**
+ * Destructor
+ */
+ virtual ~CBCTestMemSelSettingPage();
+
+public: // from CBCTestCase
+
+ /**
+ * Execute corresponding test functions for UI command
+ * @param aCmd, UI command
+ */
+ void RunL( TInt aCmd );
+
+protected: // new functions
+
+ /**
+ * Build autotest script
+ */
+ void BuildScriptL();
+
+ /**
+ * Create control or allocate resource for test
+ * @param aCmd UI command, maybe you need to do some work
+ * for different outline
+ */
+
+ /**
+ * Release resource used in test
+ */
+ void Teardown();
+
+ /**
+ * Test functions
+ */
+
+private: // constructor
+
+ /**
+ * C++ default constructor
+ */
+ CBCTestMemSelSettingPage();
+
+ /**
+ * Symbian 2nd constructor
+ */
+ void ConstructL();
+
+private: // data
+ void TestQuickCreateL(TInt aResID);
+ void TestQuickCreateL(const TDesC& aTitle);
+ void TestCreateL(TInt aResID);
+ void SetupL();
+ void AddCancelL();
+ void AddOKL();
+ void TestQuickCreateL();
+ void TestCreateL();
+
+ CAknMemorySelectionSettingPage* iDlg;
+ CAknMemorySelectionDialog::TMemory iMemory;
+ };
+
+#endif // BCTEST_MEM_SEL_SETTING_PAGE_H
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/sis/bctestcmdlg.pkg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/sis/bctestcmdlg.pkg Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,48 @@
+;
+; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;
+; bctestcmdlg.pkg
+
+; Languages
+&EN
+
+; Header
+#{"UIFW_bctestcmdlg"},(0x2000475D),1,0,0,TYPE=SA
+
+; List of localised vendor names
+%{"Vendor-EN"}
+
+; The non-localised, globally unique vendor name (mandatory)
+:"Nokia OY"
+
+;Supports Series 60 v 3.0
+;This line indicates that this installation is for the Series 60 platform v3.0
+;This line must appear _exactly_ as shown below in the sis file
+;If this line is missing or incorrect, the sis file will not be able
+;to be installed on Series 60 v3.0 platforms
+(0x101F7961), 0, 0, 0, {"Series60ProductID"}
+
+; Target
+"\epoc32\release\armv5\urel\bctestcmdlg.exe"-
+"!:\sys\bin\bctestcmdlg.exe"
+
+"\epoc32\data\z\resource\apps\bctestcmdlg.RSC"-
+"!:\resource\apps\bctestcmdlg.RSC"
+
+"\epoc32\data\z\PRIVATE\10003A3F\APPS\bctestcmdlg_reg.RSC"-
+"!:\PRIVATE\10003A3F\import\APPS\bctestcmdlg_reg.RSC"
+
+; bctestutil must be installed
+(0x20004742), 1, 10, 0, {"bctestutil.dll"}
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/CVRSettingsDialogMMCSupported.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/CVRSettingsDialogMMCSupported.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,136 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+#include
+#include
+#include "CVRSettingsDialogMMCSupported.h"
+#include
+
+#include
+#include
+
+#include "bctestcmdlg.hrh"
+
+CVRSettingsDialog::~CVRSettingsDialog()
+ {
+ iSettingItemArray.ResetAndDestroy();
+ }
+
+CVRSettingsDialog* CVRSettingsDialog::NewL()
+ {
+ CVRSettingsDialog* self = new( ELeave ) CVRSettingsDialog;
+ CleanupStack::PushL( self );
+ self->ConstructL( R_VR_SETTINGS_MENUBAR );
+ CleanupStack::Pop();
+ return self;
+ }
+
+TBool CVRSettingsDialog::OkToExitL( TInt aButtonId )
+ {
+ if ( aButtonId == EAknSoftkeyOptions )
+ {
+ DisplayMenuL();
+ return EFalse;
+ }
+
+ TInt settingItemCount( iSettingItemArray.Count() );
+
+ for ( TInt i( 0 ); i < settingItemCount; i++ )
+ {
+ iSettingItemArray.At( i )->StoreL();
+ }
+
+ return ETrue;
+ }
+
+void CVRSettingsDialog::PreLayoutDynInitL()
+ {
+ // Convert the internal memory enumeration to CFD enumeration
+ CAknSettingStyleListBox* listBox = static_cast< CAknSettingStyleListBox* >
+ ( Control( EVRSettingsListboxId ) );
+ User::LeaveIfNull( listBox );
+
+ CAknSettingItem* settingItem;
+ HBufC* itemTitle;
+ TInt id( 0 );
+
+ // Create the memo store item
+ settingItem =
+ new( ELeave ) CAknMemorySelectionSettingItem( 0, iMemoStore );
+ CleanupStack::PushL( settingItem );
+
+ // Set memo store item's title
+ itemTitle = iCoeEnv->AllocReadResourceLC( R_QTN_VOREC_SET_STORE );
+ settingItem->ConstructL( EFalse, id, *itemTitle, NULL, 0,
+ EAknCtPopupSettingList );
+ CleanupStack::PopAndDestroy(); // itemTitle
+
+ // Add memo store item to the settings array
+ iSettingItemArray.AppendL( settingItem );
+ CleanupStack::Pop(); // settingItem
+ id++;
+
+ CTextListBoxModel* model = listBox->Model();
+ model->SetItemTextArray( &iSettingItemArray );
+ // Ownership retained by us
+ model->SetOwnershipType( ELbmDoesNotOwnItemArray );
+
+ iSettingItemArray.RecalculateVisibleIndicesL();
+ listBox->CreateScrollBarFrameL( ETrue );
+ listBox->ScrollBarFrame()->SetScrollBarVisibilityL(
+ CEikScrollBarFrame::EOff, CEikScrollBarFrame::EAuto );
+ listBox->HandleItemAdditionL();
+ listBox->SetListBoxObserver( this );
+ listBox->UpdateScrollBarsL();
+
+ }
+
+void CVRSettingsDialog::HandleListBoxEventL( CEikListBox* aListBox,
+ TListBoxEvent aEventType )
+ {
+ TInt index( aListBox->CurrentItemIndex() );
+ if ( index >=0 ) // index is -1 if there are no items in the list
+ {
+ iSettingItemArray.At( index )->EditItemL(
+ aEventType == EEventEditingStarted );
+ aListBox->DrawItem( index );
+ }
+ }
+
+void CVRSettingsDialog::ProcessCommandL( TInt aCommandId )
+ {
+ HideMenu();
+ switch ( aCommandId )
+ {
+ case ECmdChange:
+ {
+ CEikListBox* listBox = static_cast< CEikListBox* >( Control( EVRSettingsListboxId ) );
+ HandleListBoxEventL( listBox, EEventEditingStarted );
+ break;
+ }
+ case EEikCmdExit:
+ {
+ TryExitL( EEikCmdExit );
+ CEikonEnv::Static()->EikAppUi()->HandleCommandL( aCommandId );
+ break;
+ }
+ default:
+ {
+ CEikonEnv::Static()->EikAppUi()->HandleCommandL( aCommandId );
+ break;
+ }
+ }
+ }
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgapp.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgapp.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,64 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Avkon Template test app
+*
+*/
+
+
+// INCLUDE FILES
+#include "BCTestCmDlgApp.h"
+#include "BCTestCmDlgDocument.h"
+#include
+
+// ================= MEMBER FUNCTIONS =========================================
+
+// ----------------------------------------------------------------------------
+// TUid CBCTestCmDlgApp::AppDllUid()
+// Returns application UID.
+// ----------------------------------------------------------------------------
+//
+TUid CBCTestCmDlgApp::AppDllUid() const
+ {
+ return KUidBCTestCmDlg;
+ }
+
+// ----------------------------------------------------------------------------
+// CApaDocument* CBCTestCmDlgApp::CreateDocumentL()
+// Creates CBCTestCmDlgAppDocument object.
+// ----------------------------------------------------------------------------
+//
+CApaDocument* CBCTestCmDlgApp::CreateDocumentL()
+ {
+ return CBCTestCmDlgDocument::NewL( *this );
+ }
+
+// ================= OTHER EXPORTED FUNCTIONS =================================
+//
+// ----------------------------------------------------------------------------
+// CApaApplication* NewApplication()
+// Constructs CBCTestCmDlgApp.
+// Returns: CApaDocument*: created application object
+// ----------------------------------------------------------------------------
+//
+LOCAL_C CApaApplication* NewApplication()
+ {
+ return new CBCTestCmDlgApp;
+ }
+
+GLDEF_C TInt E32Main()
+ {
+ return EikStart::RunApplication(NewApplication);
+ }
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgappui.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgappui.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,81 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test bc for template control api(s)
+*
+*/
+
+#include
+#include
+
+#include "BCTestCmDlgAppUi.h"
+#include "BCTestCmDlg.hrh"
+#include "BCTestCmDlgview.h"
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// ctro do nothing
+// ---------------------------------------------------------------------------
+//
+CBCTestCmDlgAppUi::CBCTestCmDlgAppUi()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// symbian 2nd phase ctor
+// ---------------------------------------------------------------------------
+//
+void CBCTestCmDlgAppUi::ConstructL()
+ {
+ BaseConstructL();
+ AknsUtils::SetAvkonSkinEnabledL( ETrue );
+
+ // init view
+ CBCTestCmDlgView* view = CBCTestCmDlgView::NewL();
+ CleanupStack::PushL( view );
+ AddViewL( view );
+ CleanupStack::Pop( view );
+
+ ActivateLocalViewL( view->Id() );
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestCmDlgAppUi::~CBCTestCmDlgAppUi()
+// Destructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestCmDlgAppUi::~CBCTestCmDlgAppUi()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// handle menu command events
+// ----------------------------------------------------------------------------
+//
+void CBCTestCmDlgAppUi::HandleCommandL( TInt aCommand )
+ {
+ switch ( aCommand )
+ {
+ case EAknSoftkeyBack:
+ case EEikCmdExit:
+ {
+ Exit();
+ return;
+ }
+ default:
+ break;
+ }
+ }
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgcase.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgcase.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,247 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+
+#include "BCTestCmDlgcase.h"
+#include "BCTestCmDlgcontainer.h"
+#include "BCTestCmDlg.hrh"
+#include "streamlogger.h"
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestCmDlgCase* CBCTestCmDlgCase::NewL()
+ {
+ CBCTestCmDlgCase* self = new( ELeave ) CBCTestCmDlgCase();
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestCmDlgCase::CBCTestCmDlgCase():iDlg(0)
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestCmDlgCase::~CBCTestCmDlgCase()
+ {
+ delete iDlg;
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestCmDlgCase::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestCmDlgCase::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestCmDlgCase::BuildScriptL()
+ {
+ // Add script as your need.
+ AddTestL( DELAY(1), TEND);
+
+ for(int i=0; iExecuteL( iMemory ), _L("User Hit OK"));
+ AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memory created"));
+ }
+
+void CBCTestCmDlgCase::TestCreateL(TInt aResID)
+{
+ iDlg = CAknMemorySelectionDialog::NewL( ECFDDialogTypeNormal, aResID, EFalse );
+
+ AssertNotNullL(iDlg, _L("mem sel dlg with resID created"));
+ AssertTrueL(CAknMemorySelectionDialog::RunDlgLD(iMemory), _L("Quick create, User hit OK"));
+ AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memroy created"));
+}
+
+void CBCTestCmDlgCase::TestQuickCreateL()
+ {
+ AssertTrueL(CAknMemorySelectionDialog::RunDlgLD(iMemory), _L("Quick create, User hit OK"));
+ AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memroy created"));
+ }
+
+void CBCTestCmDlgCase::TestQuickCreateL(const TDesC &aTitle)
+ {
+ AssertTrueL(CAknMemorySelectionDialog::RunDlgLD(iMemory, aTitle), _L("Quick create with title, User hit OK"));
+ AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memroy created"));
+ }
+
+void CBCTestCmDlgCase::TestQuickCreateL(TInt aResID)
+ {
+ AssertTrueL(CAknMemorySelectionDialog::RunDlgLD(iMemory, aResID), _L("Quick create with ResID, User hit OK"));
+ AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memroy created"));
+ }
+
+void CBCTestCmDlgCase::SetupL()
+ {
+ iMemory = CAknMemorySelectionDialog::EPhoneMemory;
+ }
+
+void CBCTestCmDlgCase::TestWithRootL()
+{
+ _LIT( KRootPath, "C:\\Nokia\\Images\\" );
+ _LIT( KDefaultFileName, "DynamicFilename.jpg" );
+ TFileName rootFileName( KRootPath );
+ TFileName defaultFileName( KDefaultFileName );
+ iDlg = CAknMemorySelectionDialog::NewL( ECFDDialogTypeNormal, EFalse );
+ if(TInt res = iDlg->ExecuteL(iMemory, &rootFileName, &defaultFileName))
+ {
+ TFileName msg(_L("default root: "));
+ msg.Append(rootFileName);
+ msg.Append(_L(" default file: "));
+ msg.Append(defaultFileName);
+ msg.ZeroTerminate();
+ AssertTrueL(res, msg);
+ }
+}
+
+void CBCTestCmDlgCase::TestSettingsL()
+{
+ iDlg = CAknMemorySelectionDialog::NewL( ECFDDialogTypeNormal, EFalse );
+
+ iDlg->SetObserver(NULL);
+ AssertTrueL(ETrue, _L("Null Observer set"));
+
+ iDlg->SetTitleL(_L("a title"));
+ AssertTrueL(ETrue, _L("title set"));
+
+ iDlg->SetLeftSoftkeyL(_L("left key"));
+ AssertTrueL(ETrue, _L("left key text set"));
+
+ iDlg->SetRightSoftkeyL(_L("right key"));
+ AssertTrueL(ETrue, _L("right key text set"));
+ if(iDlg->ExecuteL(iMemory))
+ {
+ //get
+ TFileName emptyFileName( KNullDesC );
+ iDlg->GetItem( iMemory, emptyFileName );
+ TFileName msg(_L("item got: "));
+ msg.Append(emptyFileName);
+ msg.ZeroTerminate();
+ AssertTrueL(ETrue, msg);
+
+ _LIT( KRootPath, "C:\\Nokia\\Images\\" );
+ _LIT( KDefaultFileName, "DynamicFilename.jpg" );
+ TFileName rootFileName( KRootPath );
+ TFileName defaultFileName( KDefaultFileName );
+ iDlg->GetMemories(iMemory, &rootFileName, &defaultFileName);
+
+ msg = (_L("memory got, root: "));
+ msg.Append(rootFileName);
+ msg.Append(_L(" default file: "));
+ msg.Append(defaultFileName);
+ msg.ZeroTerminate();
+ AssertTrueL(ETrue, msg);
+ }
+}
+
+
+// EOF
\ No newline at end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgcontainer.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgcontainer.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,118 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: container
+*
+*/
+
+
+#include "BCTestCmDlgcontainer.h"
+
+#define KAknAtListGray TRgb(0xaaaaaa)
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// C++ default Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestCmDlgContainer::CBCTestCmDlgContainer()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestCmDlgContainer::~CBCTestCmDlgContainer()
+ {
+ ResetControl();
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestCmDlgContainer::ConstructL( const TRect& aRect )
+ {
+ CreateWindowL();
+ SetRect( aRect );
+ ActivateL();
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestCmDlgContainer::Draw
+// Fills the window's rectangle.
+// ----------------------------------------------------------------------------
+//
+void CBCTestCmDlgContainer::Draw( const TRect& aRect ) const
+ {
+ CWindowGc& gc = SystemGc();
+ gc.SetPenStyle( CGraphicsContext::ENullPen );
+ gc.SetBrushColor( KAknAtListGray );
+ gc.SetBrushStyle( CGraphicsContext::ESolidBrush );
+ gc.DrawRect( aRect );
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestCmDlgContainer::CountComponentControls
+// ---------------------------------------------------------------------------
+//
+TInt CBCTestCmDlgContainer::CountComponentControls() const
+ {
+ if ( iControl )
+ {
+ return 1;
+ }
+ else
+ {
+ return 0;
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestCmDlgContainer::ComponentControl
+// ---------------------------------------------------------------------------
+//
+CCoeControl* CBCTestCmDlgContainer::ComponentControl( TInt ) const
+ {
+ return iControl;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestCmDlgContainer::SetControl
+// ---------------------------------------------------------------------------
+//
+void CBCTestCmDlgContainer::SetControl( CCoeControl* aControl )
+ {
+ iControl = aControl;
+ if ( iControl )
+ {
+ // You can change the position and size
+ iControl->SetExtent( Rect().iTl, Rect().Size() );
+ iControl->ActivateL();
+ DrawNow();
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestCmDlgContainer::ResetControl
+// ---------------------------------------------------------------------------
+//
+void CBCTestCmDlgContainer::ResetControl()
+ {
+ delete iControl;
+ iControl = NULL;
+ }
+
+// end of file
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgdocument.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgdocument.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,65 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Avkon Template test application
+*
+*/
+
+
+// INCLUDE FILES
+#include "BCTestCmDlgDocument.h"
+#include "BCTestCmDlgAppUi.h"
+
+// ================= MEMBER FUNCTIONS =========================================
+
+// ----------------------------------------------------------------------------
+// CBCTestCmDlgDocument* CBCTestCmDlgDocument::NewL( CEikApplication& )
+// Symbian OS two-phased constructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestCmDlgDocument* CBCTestCmDlgDocument::NewL( CEikApplication& aApp )
+ {
+ CBCTestCmDlgDocument* self = new( ELeave ) CBCTestCmDlgDocument( aApp );
+ return self;
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestCmDlgDocument::~CBCTestCmDlgDocument()
+// Destructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestCmDlgDocument::~CBCTestCmDlgDocument()
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// CBCTestCmDlgDocument::CBCTestCmDlgDocument( CEikApplication& )
+// Overload constructor.
+// ----------------------------------------------------------------------------
+//
+CBCTestCmDlgDocument::CBCTestCmDlgDocument( CEikApplication& aApp )
+ : CEikDocument( aApp )
+ {
+ }
+
+// ----------------------------------------------------------------------------
+// CEikAppUi* CBCTestCmDlgDocument::CreateAppUiL()
+// Constructs CBCTestVolumeAppUi.
+// ----------------------------------------------------------------------------
+//
+CEikAppUi* CBCTestCmDlgDocument::CreateAppUiL()
+ {
+ return new( ELeave ) CBCTestCmDlgAppUi;
+ }
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgview.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgview.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,145 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: view class
+*
+*/
+
+
+#include
+
+#include "BCTestCmDlg.hrh"
+#include
+#include "BCTestCmDlgview.h"
+#include "BCTestCmDlgcontainer.h"
+#include "bctestutil.h"
+#include "BCTestCmDlgcase.h"
+#include "bctestmemselpage.h"
+#include "bctestfileseldlg.h"
+#include "bctestfilenamedlg.h"
+#include "bctestcommondlg.h"
+#include "bctestmemselitem.h"
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestCmDlgView* CBCTestCmDlgView::NewL()
+ {
+ CBCTestCmDlgView* self = new( ELeave ) CBCTestCmDlgView();
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestCmDlgView::CBCTestCmDlgView()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestCmDlgView::ConstructL()
+ {
+ BaseConstructL( R_BCTESTCMDLG_VIEW );
+
+ iContainer = new( ELeave ) CBCTestCmDlgContainer();
+ iContainer->SetMopParent( this );
+ iContainer->ConstructL( ClientRect() );
+ AppUi()->AddToStackL( *this, iContainer );
+ iContainer->MakeVisible( ETrue );
+
+ iTestUtil = CBCTestUtil::NewL();
+
+ // Add test case here.
+ iTestUtil->AddTestCaseL( CBCTestCmDlgCase::NewL(),
+ _L("Mem selection dialog") );
+ iTestUtil->AddTestCaseL( CBCTestMemSelSettingPage::NewL(),
+ _L("Mem selection setting page") );
+ iTestUtil->AddTestCaseL( CBCTestFileSelDlg::NewL(),
+ _L("File selection dialog") );
+ iTestUtil->AddTestCaseL( CBCTestFileNameDlg::NewL(),
+ _L("File name prompt dialog") );
+ iTestUtil->AddTestCaseL( CBCTestCommonDlg::NewL(),
+ _L("Common dialog") );
+ iTestUtil->AddTestCaseL( CBCTestMemSelSettingItem::NewL(),
+ _L("Mem selection setting item") );
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestCmDlgView::~CBCTestCmDlgView()
+ {
+ if ( iContainer )
+ {
+ AppUi()->RemoveFromStack( iContainer );
+ }
+ delete iContainer;
+ delete iTestUtil;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestCmDlgView::Id
+// ---------------------------------------------------------------------------
+//
+TUid CBCTestCmDlgView::Id() const
+ {
+ return KBCTestCmDlgViewId;
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestCmDlgView::DoActivateL
+// ---------------------------------------------------------------------------
+//
+void CBCTestCmDlgView::DoActivateL( const TVwsViewId&, TUid, const TDesC8& )
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestCmDlgView::DoDeactivate
+// ---------------------------------------------------------------------------
+//
+void CBCTestCmDlgView::DoDeactivate()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestCmDlgView::HandleCommandL
+// ---------------------------------------------------------------------------
+//
+void CBCTestCmDlgView::HandleCommandL( TInt aCommand )
+ {
+ switch ( aCommand )
+ {
+ case EProgCmdAutoTest:
+ iTestUtil->RunL();
+ break;
+ default:
+ if ( aCommand > EBCTestCmdEmptyOutline &&
+ aCommand < EBCTestCmdMaxOutline )
+ {
+ iTestUtil->RunL( aCommand );
+ }
+ break;
+ }
+ }
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcommondlg.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestcommondlg.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,482 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+//#include
+
+#include
+#include
+#include
+
+#include "BCTestCommonDlg.h"
+#include "BCTestCmDlg.hrh"
+#include "streamlogger.h"
+
+//helper class
+
+struct MonkFilter: public MAknFileFilter{
+ TBool Accept( const TDesC& /*aDriveAndPath*/, const TEntry& /*aEntry*/ ) const{
+ return ETrue;
+ }
+};
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestCommonDlg* CBCTestCommonDlg::NewL()
+ {
+ CBCTestCommonDlg* self = new( ELeave ) CBCTestCommonDlg();
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestCommonDlg::CBCTestCommonDlg()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestCommonDlg::~CBCTestCommonDlg()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestCommonDlg::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+void CBCTestCommonDlg::SetupL()
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestCommonDlg::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestCommonDlg::BuildScriptL()
+ {
+ AddTestL( DELAY(1), TEND);
+
+ // Add script as your need.
+ for(int i=0; i= (EBCTestCmdCommonDlgSelect5 - EBCTestCmdCommonDlgBegin -1) &&
+ i <= (EBCTestCmdCommonDlgSelect8 - EBCTestCmdCommonDlgBegin -1))
+ AddCancelL(); //first back, 2nd cancel.
+
+ if( i == (EBCTestCmdCommonDlgSelect8 - EBCTestCmdCommonDlgBegin -1))
+ AddCancelL(); //first back, then back again, finally cancel.
+ }
+
+void CBCTestCommonDlg::BuildMoveScriptL( int )
+ {
+ }
+
+void CBCTestCommonDlg::BuildSaveScriptL( int )
+ {
+ }
+
+void CBCTestCommonDlg::BuildCopyScriptL( int )
+ {
+ }
+
+void CBCTestCommonDlg::AddOKL()
+ {
+ // add dlg response sciprts
+ for(int i=0; i<1; ++i)
+ AddTestL( WAIT(5), KeyOK, TEND);
+ }
+
+void CBCTestCommonDlg::AddCancelL()
+ {
+ // add dlg response sciprts
+ for(int i=0; i<1; ++i)
+ AddTestL( WAIT(5), RightCBA, TEND);
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestCommonDlg::RunL
+// ---------------------------------------------------------------------------
+//
+void CBCTestCommonDlg::RunL( TInt aCmd )
+ {
+ SetupL();
+ RunSelectL(aCmd);
+ RunMoveL(aCmd);
+ RunSaveL(aCmd);
+ RunCopyL(aCmd);
+ Teardown();
+ }
+
+void CBCTestCommonDlg::RunSelectL(TInt aCmd)
+ {
+ switch(aCmd)
+ {
+ case EBCTestCmdCommonDlgSelect1:
+ TestSelectL();
+ break;
+ case EBCTestCmdCommonDlgSelect2:
+ TestSelectL(_L("a title"));
+ break;
+ case EBCTestCmdCommonDlgSelect3:
+ {
+ MonkFilter filter;
+ TestSelectL(&filter);
+ break;
+ }
+ case EBCTestCmdCommonDlgSelect4:
+ TestSelectL(R_BCTEST_FILE_SELECTION_ALL);
+ break;
+ case EBCTestCmdCommonDlgSelect5:
+ TestSelectL(_L("C:\\Data"), R_BCTEST_MEMORY_SELECTION_LOCATIONS);
+ break;
+ case EBCTestCmdCommonDlgSelect6:
+ {
+ MonkFilter filter;
+ TestSelectL(_L("C:\\Data"), &filter);
+ break;
+ }
+ case EBCTestCmdCommonDlgSelect7:
+ TestSelectL(_L("C:\\Data"), _L("a title"));
+ break;
+ case EBCTestCmdCommonDlgSelect8:
+ TestSelectL(_L("C:\\Data"), R_BCTEST_MEMORY_SELECTION_LOCATIONS, R_BCTEST_FILE_SELECTION_ALL);
+ break;
+ default:
+ break;
+ }
+ }
+
+void CBCTestCommonDlg::RunMoveL(TInt aCmd)
+ {
+ switch(aCmd)
+ {
+ case EBCTestCmdCommonDlgMove1:
+ TestMoveL();
+ break;
+ case EBCTestCmdCommonDlgMove2:
+ TestMoveL(_L("a title"));
+ break;
+ case EBCTestCmdCommonDlgMove3:
+ {
+ MonkFilter filter;
+ TestMoveL(&filter);
+ break;
+ }
+ case EBCTestCmdCommonDlgMove4:
+ TestMoveL(R_BCTEST_FILE_SELECTION_ALL);
+ break;
+ default:
+ break;
+ }
+ }
+
+void CBCTestCommonDlg::RunSaveL(TInt aCmd)
+ {
+ switch(aCmd)
+ {
+ case EBCTestCmdCommonDlgSave1:
+ TestSaveL();
+ break;
+ case EBCTestCmdCommonDlgSave2:
+ TestSaveL(_L("a sel title"), _L("a name prompt"));
+ break;
+ case EBCTestCmdCommonDlgSave3:
+ {
+ MonkFilter filter;
+ TestSaveL(&filter);
+ break;
+ }
+ case EBCTestCmdCommonDlgSave4:
+ TestSaveL(R_BCTEST_FILE_SELECTION_ALL);
+ break;
+ case EBCTestCmdCommonDlgSave5:
+ TestSaveL(R_BCTEST_FILE_SELECTION_ALL, _L("a prompt"));
+ break;
+ case EBCTestCmdCommonDlgSave6:
+ TestSaveL(EFalse, R_BCTEST_MEMORY_SELECTION_LOCATIONS);
+ break;
+ case EBCTestCmdCommonDlgSave7:
+ TestSaveL(EFalse, R_BCTEST_MEMORY_SELECTION_LOCATIONS, _L("a prompt"));
+ break;
+ default:
+ break;
+ }
+ }
+
+void CBCTestCommonDlg::RunCopyL(TInt aCmd)
+ {
+ switch(aCmd)
+ {
+ case EBCTestCmdCommonDlgCopy1:
+ TestCopyL();
+ break;
+ case EBCTestCmdCommonDlgCopy2:
+ TestCopyL(R_BCTEST_FILE_SELECTION_ALL);
+ break;
+ case EBCTestCmdCommonDlgCopy3:
+ {
+ MonkFilter filter;
+ TestCopyL(&filter);
+ break;
+ }
+ default:
+ break;
+ }
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestCommonDlg::ReleaseCaseL
+// ---------------------------------------------------------------------------
+//
+void CBCTestCommonDlg::Teardown()
+ {
+ }
+
+void CBCTestCommonDlg::TestSelectL()
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS );
+ AssertTrueL(ETrue, _L("Select with Res ID"));
+ }
+
+void CBCTestCommonDlg::TestSelectL(const TDesC &aTitle)
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS,
+ aTitle);
+ AssertTrueL(ETrue, _L("Select with Res ID and Title"));
+ }
+
+void CBCTestCommonDlg::TestSelectL(MAknFileFilter* aFilter)
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS,
+ aFilter);
+ AssertTrueL(ETrue, _L("Select with Res ID and Filter"));
+ }
+
+void CBCTestCommonDlg::TestSelectL(TInt aFileSelResID)
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS,
+ aFileSelResID);
+ AssertTrueL(ETrue, _L("Select with Res ID and File Selection Res ID"));
+ }
+
+void CBCTestCommonDlg::TestSelectL(const TDesC& aStartFolder, TInt aMemSelResID)
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName,
+ aStartFolder,
+ aMemSelResID);
+ AssertTrueL(ETrue, _L("Select with start folder"));
+ }
+
+
+void CBCTestCommonDlg::TestSelectL(const TDesC& aStartFolder, MAknFileFilter* aFilter)
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName,
+ aStartFolder,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS,
+ aFilter);
+ AssertTrueL(ETrue, _L("Select with start folder and filter"));
+ }
+
+void CBCTestCommonDlg::TestSelectL(const TDesC &aStartFolder, const TDesC &aTitle)
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName,
+ aStartFolder,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS,
+ aTitle);
+ AssertTrueL(ETrue, _L("Select with start folder and title"));
+ }
+
+void CBCTestCommonDlg::TestSelectL(const TDesC &aStartFolder, TInt aMemSelResID, TInt aFileSelResID)
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName,
+ aStartFolder,
+ aMemSelResID,
+ aFileSelResID);
+ AssertTrueL(ETrue, _L("Select with start folder and file selection res ID"));
+ }
+
+void CBCTestCommonDlg::TestMoveL()
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunMoveDlgLD( emptyFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS );
+ AssertTrueL(ETrue, _L("Move"));
+ }
+
+void CBCTestCommonDlg::TestMoveL(const TDesC &aTitle)
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunMoveDlgLD( emptyFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS,
+ aTitle);
+ AssertTrueL(ETrue, _L("Move with title"));
+ }
+
+void CBCTestCommonDlg::TestMoveL(MAknFileFilter *aFilter)
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunMoveDlgLD( emptyFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS,
+ aFilter);
+ AssertTrueL(ETrue, _L("Move with filter"));
+ }
+
+void CBCTestCommonDlg::TestMoveL(TInt aFileSelResID)
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunMoveDlgLD( emptyFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS,
+ aFileSelResID);
+ AssertTrueL(ETrue, _L("Move with file selection Res ID"));
+ }
+
+void CBCTestCommonDlg::TestSaveL()
+ {
+ TFileName defaultFileName(_L("foo.jpg"));
+ TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS );
+ AssertTrueL(ETrue, _L("Save"));
+ }
+
+void CBCTestCommonDlg::TestSaveL(MAknFileFilter *aFilter)
+ {
+ TFileName defaultFileName(_L("foo.jpg"));
+ TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS,
+ aFilter);
+ AssertTrueL(ETrue, _L("Save with filter"));
+ }
+
+void CBCTestCommonDlg::TestSaveL(const TDesC &aFileTitle, const TDesC &aPromptTitle)
+ {
+ TFileName defaultFileName(_L("foo.jpg"));
+ TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS,
+ aFileTitle,
+ aPromptTitle);
+ AssertTrueL(ETrue, _L("Save with title"));
+ }
+
+void CBCTestCommonDlg::TestSaveL(TInt aFileSelResID)
+ {
+ TFileName defaultFileName(_L("foo.jpg"));
+ TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS,
+ aFileSelResID);
+ AssertTrueL(ETrue, _L("Save with file selection res ID"));
+ }
+
+void CBCTestCommonDlg::TestSaveL(TInt aFileSelResID, const TDesC &aPrompt)
+ {
+ TFileName defaultFileName(_L("foo.jpg"));
+ TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS,
+ aFileSelResID,
+ aPrompt);
+ AssertTrueL(ETrue, _L("Save with file selection res ID and Prompt"));
+ }
+
+void CBCTestCommonDlg::TestSaveL(TBool /*aDirFlag*/, TInt aMemSelResID)
+ {
+ TFileName defaultFileName(_L("foo.jpg"));
+ TInt returnValue = AknCommonDialogs::RunSaveDlgNoDirectorySelectionLD( defaultFileName,
+ aMemSelResID);
+ AssertTrueL(ETrue, _L("Save without dir selection"));
+ }
+
+void CBCTestCommonDlg::TestSaveL(TBool /*aDirFlag*/, TInt aMemSelResID, const TDesC& aPrompt)
+ {
+ TFileName defaultFileName(_L("foo.jpg"));
+ TInt returnValue = AknCommonDialogs::RunSaveDlgNoDirectorySelectionLD( defaultFileName,
+ aMemSelResID, aPrompt);
+ AssertTrueL(ETrue, _L("Save without dir selection but with a prompt"));
+ }
+
+void CBCTestCommonDlg::TestCopyL()
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunCopyDlgLD( emptyFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS);
+ AssertTrueL(ETrue, _L("Copy"));
+ }
+
+void CBCTestCommonDlg::TestCopyL(MAknFileFilter *aFilter)
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunCopyDlgLD( emptyFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS, aFilter);
+ AssertTrueL(ETrue, _L("Copy with filter"));
+ }
+
+void CBCTestCommonDlg::TestCopyL(TInt aFileSelResID)
+ {
+ TFileName emptyFileName;
+ TInt returnValue = AknCommonDialogs::RunCopyDlgLD( emptyFileName,
+ R_BCTEST_MEMORY_SELECTION_LOCATIONS, aFileSelResID);
+ AssertTrueL(ETrue, _L("Copy with file selection res ID"));
+ }
+
+// EOF
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestfilenamedlg.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestfilenamedlg.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,220 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+#include
+#include
+
+#include "BCTestFileNameDlg.h"
+#include "BCTestCmDlg.hrh"
+#include "streamlogger.h"
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestFileNameDlg* CBCTestFileNameDlg::NewL()
+ {
+ CBCTestFileNameDlg* self = new( ELeave ) CBCTestFileNameDlg();
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestFileNameDlg::CBCTestFileNameDlg():iDlg(0)
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestFileNameDlg::~CBCTestFileNameDlg()
+ {
+ delete iDlg;
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestFileNameDlg::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestFileNameDlg::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestFileNameDlg::BuildScriptL()
+ {
+ AddTestL( DELAY(1), TEND);
+
+ // Add script as your need.
+ for(int i=0; iExecuteL( emptyFileName );
+ TFileName msg;
+ msg.Format(_L("create User hit %d, filename: %s"), returnValue, &emptyFileName );
+ msg.ZeroTerminate();
+ AssertTrueL(ETrue, msg);
+ }
+
+void CBCTestFileNameDlg::TestCreateL(TInt aResID)
+ {
+ TFileName emptyFileName(KNullDesC);
+ iDlg = CAknFileNamePromptDialog::NewL(aResID);
+ TInt returnValue = iDlg->ExecuteL( emptyFileName );
+ AssertTrueL(ETrue, _L("Create by res ID"));
+ }
+
+void CBCTestFileNameDlg::TestQuickCreateL()
+ {
+ _LIT(KRootPath, "C:\\Nokia\\Data");
+ TFileName defaultFileName;
+ TInt returnValue = CAknFileNamePromptDialog::RunDlgLD( defaultFileName, KRootPath );
+ AssertTrueL(ETrue, _L("RunDlgLD invoked"));
+ }
+
+void CBCTestFileNameDlg::TestQuickCreateL(const TDesC &aTitle)
+ {
+ _LIT(KRootPath, "C:\\Nokia\\Data");
+ TFileName defaultFileName;
+ TInt returnValue = CAknFileNamePromptDialog::RunDlgLD( defaultFileName, KRootPath, aTitle );
+ AssertTrueL(ETrue, _L("RunDlgLD invoked"));
+ }
+
+void CBCTestFileNameDlg::TestQuickCreateL(TInt aResID)
+ {
+ _LIT(KRootPath, "C:\\Nokia\\Data");
+ TFileName defaultFileName;
+ TInt returnValue = CAknFileNamePromptDialog::RunDlgLD( defaultFileName, KRootPath, aResID );
+ AssertTrueL(ETrue, _L("RunDlgLD invoked"));
+ }
+
+void CBCTestFileNameDlg::SetupL()
+ {
+ }
+
+
+void CBCTestFileNameDlg::TestSettingsL()
+ {
+ iDlg = CAknFileNamePromptDialog::NewL();
+ iDlg->SetPathL(_L("C:\\"));
+ AssertTrueL(ETrue, _L("path set"));
+
+ iDlg->SetTitleL(_L("a title"));
+ AssertTrueL(ETrue, _L("title set"));
+
+ iDlg->SetLeftSoftkeyL(_L("left key"));
+ AssertTrueL(ETrue, _L("left soft key set"));
+
+ iDlg->SetRightSoftkeyL(_L("right key"));
+ AssertTrueL(ETrue, _L("right soft key set"));
+
+ //Add fileter and set Observer
+ struct MonkObserver: public MAknFileSelectionObserver{
+ TBool OkToExitL( const TDesC& /*aDriveAndPath*/, const TEntry& /*aEntry*/ ){
+ return ETrue;
+ }
+ } monkObserver;
+
+ iDlg->SetObserver(&monkObserver);
+ AssertTrueL(ETrue, _L("Observer set"));
+
+ TFileName filename;
+ iDlg->ExecuteL(filename);
+ }
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestfileseldlg.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestfileseldlg.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,245 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+#include
+
+#include "BCTestFileSelDlg.h"
+#include "BCTestCmDlg.hrh"
+#include "streamlogger.h"
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestFileSelDlg* CBCTestFileSelDlg::NewL()
+ {
+ CBCTestFileSelDlg* self = new( ELeave ) CBCTestFileSelDlg();
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestFileSelDlg::CBCTestFileSelDlg():iDlg(0)
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestFileSelDlg::~CBCTestFileSelDlg()
+ {
+ delete iDlg;
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestFileSelDlg::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestFileSelDlg::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestFileSelDlg::BuildScriptL()
+ {
+ AddTestL( DELAY(1), TEND);
+
+ // Add script as your need.
+ for(int i=0; iExecuteL( rootFileName );
+ TFileName msg;
+ msg.Format( _L("User hit: %d, selected file: "), returnValue );
+ msg.Append( rootFileName );
+ msg.ZeroTerminate();
+ AssertTrueL(ETrue, msg);
+ }
+
+void CBCTestFileSelDlg::TestCreateL(TInt aResID)
+ {
+ _LIT( KRootPath, "C:\\Data\\" );
+ TFileName rootFileName( KRootPath );
+
+ iDlg = CAknFileSelectionDialog::NewL( ECFDDialogTypeSelect, aResID );
+ AssertNotNullL(iDlg, _L("file sel dialog create with Res ID"));
+ TInt returnValue = iDlg->ExecuteL( rootFileName );
+ TFileName msg;
+ msg.Format(_L("User hit: %d, selected file: "), returnValue );
+ msg.Append( rootFileName );
+ msg.ZeroTerminate();
+ AssertTrueL(ETrue, msg);
+ }
+
+void CBCTestFileSelDlg::TestQuickCreateL()
+ {
+ TFileName filename;
+ TFileName folder(_L("C:\\Data\\"));
+ AssertTrueL(!CAknFileSelectionDialog::RunDlgLD(filename, folder),
+ _L("Quick create, User hit Cancle"));
+ }
+
+void CBCTestFileSelDlg::TestQuickCreateL(const TDesC &aTitle)
+ {
+ TFileName filename;
+ TFileName folder(_L("C:\\Data\\"));
+ AssertTrueL(!CAknFileSelectionDialog::RunDlgLD(filename, folder, aTitle),
+ _L("Quick create, User hit Cancle"));
+ }
+
+void CBCTestFileSelDlg::TestQuickCreateL(TInt aResID)
+ {
+ TFileName filename;
+ TFileName folder(_L("C:\\Data\\"));
+ AssertTrueL(!CAknFileSelectionDialog::RunDlgLD(filename, folder, aResID),
+ _L("Quick create, User hit Cancle"));
+ }
+
+void CBCTestFileSelDlg::SetupL()
+ {
+ }
+
+
+void CBCTestFileSelDlg::TestSettingsL()
+{
+ iDlg = CAknFileSelectionDialog::NewL( ECFDDialogTypeSelect );
+ iDlg->SetDefaultFolderL(_L("C:\\"));
+ AssertTrueL(ETrue, _L("default folder set"));
+
+ iDlg->SetTitleL(_L("a title"));
+ AssertTrueL(ETrue, _L("title set"));
+
+ iDlg->SetLeftSoftkeyFileL(_L("left fkey"));
+ AssertTrueL(ETrue, _L("left soft key file set"));
+
+ iDlg->SetLeftSoftkeyFolderL(_L("left dkey"));
+ AssertTrueL(ETrue, _L("left soft key folder set"));
+
+ iDlg->SetRightSoftkeyRootFolderL(_L("right root"));
+ AssertTrueL(ETrue, _L("right soft key root set"));
+
+ iDlg->SetRightSoftkeySubfolderL(_L("right sdir"));
+ AssertTrueL(ETrue, _L("right soft key sub folder set"));
+
+ //Add fileter and set Observer
+ struct MonkObserver: public MAknFileSelectionObserver{
+ TBool OkToExitL( const TDesC& /*aDriveAndPath*/, const TEntry& /*aEntry*/ ){
+ return ETrue;
+ }
+ } monkObserver;
+
+ iDlg->SetObserver(&monkObserver);
+ AssertTrueL(ETrue, _L("Observer set"));
+
+ struct MonkFilter: public MAknFileFilter{
+ TBool Accept( const TDesC& /*aDriveAndPath*/, const TEntry& /*aEntry*/ ) const{
+ return ETrue;
+ }
+ };
+
+ iDlg->AddFilterL(new (ELeave) MonkFilter); //problems, should be push into stack
+ AssertTrueL(ETrue, _L("Filter add"));
+
+ TFileName filename;
+ iDlg->ExecuteL(filename);
+}
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestmemselitem.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestmemselitem.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,183 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+#include
+#include
+#include
+
+#include "BCTestMemSelItem.h"
+#include "BCTestCmDlg.hrh"
+#include "streamlogger.h"
+#include "CVRSettingsDialogMMCSupported.h"
+
+// ======== MEMBER FUNCTIONS ========
+
+const TInt KItemPosition = 5;// Menu position of the test item
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestMemSelSettingItem* CBCTestMemSelSettingItem::NewL()
+ {
+ CBCTestMemSelSettingItem* self = new( ELeave ) CBCTestMemSelSettingItem();
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestMemSelSettingItem::CBCTestMemSelSettingItem():iItem(NULL)
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestMemSelSettingItem::~CBCTestMemSelSettingItem()
+ {
+ Teardown();
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestMemSelSettingItem::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestMemSelSettingItem::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestMemSelSettingItem::BuildScriptL()
+ {
+ AddTestL( DELAY(1), TEND);
+
+ // Add script as your need.
+ for(int i=0; iCompleteConstructionL();
+ AssertTrueL(ETrue, _L("complete construction"));
+ }
+
+void CBCTestMemSelSettingItem::TestEditL()
+ {
+ CVRSettingsDialog* settingsDlg = CVRSettingsDialog::NewL();
+ settingsDlg->ExecuteLD( R_VR_SETTINGS_DIALOG );
+ }
+
+void CBCTestMemSelSettingItem::TestStoreL()
+ {
+ iItem = new (ELeave) CAknMemorySelectionSettingItem(0, iMemory);
+ iItem->StoreL();
+ AssertTrueL(ETrue, _L("store"));
+ iItem->LoadL();
+ AssertTrueL(ETrue, _L("laod"));
+ }
+
+void CBCTestMemSelSettingItem::TestSettingL()
+ {
+ iItem = new (ELeave) CAknMemorySelectionSettingItem(0, iMemory);
+ TFileName text(iItem->SettingTextL());
+ text.ZeroTerminate();
+ AssertTrueL(ETrue, text);
+ }
+
+void CBCTestMemSelSettingItem::SetupL()
+ {
+ iMemory = CAknMemorySelectionDialog::EPhoneMemory;
+ }
+
+
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestmemselpage.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestcmdlg/src/bctestmemselpage.cpp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,195 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test case
+*
+*/
+
+
+#include
+#include
+
+#include "BCTestMemSelPage.h"
+#include "BCTestCmDlg.hrh"
+#include "streamlogger.h"
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd static Constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestMemSelSettingPage* CBCTestMemSelSettingPage::NewL()
+ {
+ CBCTestMemSelSettingPage* self = new( ELeave ) CBCTestMemSelSettingPage();
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+ return self;
+ }
+
+// ---------------------------------------------------------------------------
+// C++ default constructor
+// ---------------------------------------------------------------------------
+//
+CBCTestMemSelSettingPage::CBCTestMemSelSettingPage():iDlg(0)
+ {
+ }
+
+// ---------------------------------------------------------------------------
+// Destructor
+// ---------------------------------------------------------------------------
+//
+CBCTestMemSelSettingPage::~CBCTestMemSelSettingPage()
+ {
+ delete iDlg;
+ }
+
+// ---------------------------------------------------------------------------
+// Symbian 2nd Constructor
+// ---------------------------------------------------------------------------
+//
+void CBCTestMemSelSettingPage::ConstructL()
+ {
+ BuildScriptL();
+ }
+
+// ---------------------------------------------------------------------------
+// CBCTestMemSelSettingPage::BuildScriptL
+// ---------------------------------------------------------------------------
+//
+void CBCTestMemSelSettingPage::BuildScriptL()
+ {
+ AddTestL( DELAY(1), TEND);
+
+ // Add script as your need.
+ for(int i=0; iExecuteL( iMemory, &rootFileName, &defaultFileName );
+ iDlg->GetItem( iMemory, emptyFileName );
+
+ TFileName msg;
+ msg.Format( _L("User Hit: %d, Memory is: %d, FileName: "), returnValue, iMemory );
+ msg.Append( emptyFileName );
+ msg.ZeroTerminate();
+ AssertTrueL(ETrue, msg);
+ msg.Append( _L("Root: ") );
+ msg.Append( rootFileName );
+ msg.Append( _L(", Default: ") );
+ msg.Append( defaultFileName );
+ msg.ZeroTerminate();
+ AssertTrueL(ETrue, msg);
+ }
+
+void CBCTestMemSelSettingPage::TestCreateL(TInt aResID)
+ {
+ iDlg = CAknMemorySelectionSettingPage::NewL( aResID );
+ TInt returnValue = iDlg->ExecuteL( iMemory);
+ AssertTrueL( returnValue, _L("Create with Resorce ID"));
+ }
+
+void CBCTestMemSelSettingPage::TestQuickCreateL()
+ {
+ AssertTrueL(CAknMemorySelectionSettingPage::RunDlgLD(iMemory), _L("Quick create, User hit OK"));
+ AssertIntL( CAknMemorySelectionSettingPage::EPhoneMemory, iMemory, _L("Phone memroy created"));
+ }
+
+void CBCTestMemSelSettingPage::TestQuickCreateL(const TDesC &aTitle)
+ {
+ AssertTrueL(CAknMemorySelectionSettingPage::RunDlgLD(iMemory, aTitle), _L("Quick create with title, User hit OK"));
+ AssertIntL( CAknMemorySelectionSettingPage::EPhoneMemory, iMemory, _L("Phone memroy created"));
+ }
+
+void CBCTestMemSelSettingPage::TestQuickCreateL(TInt aResID)
+ {
+ AssertTrueL(CAknMemorySelectionSettingPage::RunDlgLD(iMemory, aResID), _L("Quick create with ResID, User hit OK"));
+ AssertIntL( CAknMemorySelectionSettingPage::EPhoneMemory, iMemory, _L("Phone memroy created"));
+ }
+
+void CBCTestMemSelSettingPage::SetupL()
+ {
+ iMemory = CAknMemorySelectionDialog::EPhoneMemory;
+ }
+
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestdocandinit/group/bctestDocAndInit.mmp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestdocandinit/group/bctestDocAndInit.mmp Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,76 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: project specification file for the BCTestDocAndInit.
+*
+*/
+
+
+TARGET BCTestDocAndInit.exe
+TARGETTYPE exe
+UID 0x0 0x20004762
+
+VENDORID 0x101FB657
+CAPABILITY NetworkServices LocalServices Location ReadUserData \
+ WriteUserData ReadDeviceData WriteDeviceData SwEvent UserEnvironment
+
+TARGETPATH sys/bin
+
+EPOCSTACKSIZE 0x10000
+EPOCHEAPSIZE 0x10000 0x1000000
+
+START RESOURCE BCTestDocAndInit.rss
+HEADER
+TARGETPATH resource/apps
+END // RESOURCE
+
+//LANG 01
+
+SOURCEPATH ../Src
+SOURCE bctestdocandinitapp.cpp
+SOURCE bctestdocandinitdocument.cpp
+SOURCE bctestdocandinitappui.cpp
+SOURCE bctestdocandinitview.cpp
+SOURCE bctestdocandinitcontainer.cpp
+SOURCE bctestdocandinitcase.cpp
+
+USERINCLUDE . ../Inc
+USERINCLUDE ../../../bctestutil/inc
+
+SYSTEMINCLUDE . /epoc32/include
+
+LIBRARY euser.lib
+LIBRARY apparc.lib
+LIBRARY cone.lib
+LIBRARY eikcore.lib
+LIBRARY eikcoctl.lib
+LIBRARY avkon.lib
+LIBRARY ws32.lib
+LIBRARY AknSkins.lib
+LIBRARY apgrfx.lib
+LIBRARY bctestutil.lib
+LIBRARY efsrv.lib
+LIBRARY commonui.lib
+LIBRARY apmime.lib
+LIBRARY PlatformEnv.lib
+LIBRARY eikctl.lib
+LIBRARY sysutil.lib
+LIBRARY bafl.lib
+
+
+START RESOURCE ../group/bctestdocandinit_reg.rss
+HEADER
+TARGETPATH /private/10003a3f/apps
+END
+
+// End of File
diff -r 60ac11a5544a -r d8ef7a232001 apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestdocandinit/group/bctestDocAndInit.rss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/S60_SDK3.0/bctestdocandinit/group/bctestDocAndInit.rss Fri Aug 27 14:37:16 2010 +0530
@@ -0,0 +1,210 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: resources for the module
+*
+*/
+
+
+// RESOURCE IDENTIFIER
+NAME TEMP
+
+// INCLUDES
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include