25 #include <aknjavalists.h> // for testing APIs in aknjavalists.h |
25 #include <aknjavalists.h> // for testing APIs in aknjavalists.h |
26 #include <akninputblock.h> // for testing APIs in AknInputBlock.h |
26 #include <akninputblock.h> // for testing APIs in AknInputBlock.h |
27 #include <aknindicator.h> // for testing APIs in aknindicator.h |
27 #include <aknindicator.h> // for testing APIs in aknindicator.h |
28 #include <aknindicatorplugin.h> // for testing APIs in aknindicatorplugin.h |
28 #include <aknindicatorplugin.h> // for testing APIs in aknindicatorplugin.h |
29 #include <aknindicatorpluginimpluids.hrh> |
29 #include <aknindicatorpluginimpluids.hrh> |
30 #include <aknincallbubblenotify.h> |
30 #include <aknincallbubblenotify.h> |
31 #include <aknfilefilterfactory.h> |
|
32 #include <aknglobalpopupprioritycontroller.h> |
31 #include <aknglobalpopupprioritycontroller.h> |
33 #include <aknappgrid.h> // for testing APIs in aknappgrid.h |
32 #include <aknappgrid.h> // for testing APIs in aknappgrid.h |
34 |
33 |
35 |
34 |
36 #include "bctestdomaknctrlcase.h" |
35 #include "bctestdomaknctrlcase.h" |
119 case EBCTestDomCmdOutline3: |
118 case EBCTestDomCmdOutline3: |
120 { |
119 { |
121 // test Ctrl classes |
120 // test Ctrl classes |
122 TestAknBattery();//Ctrl |
121 TestAknBattery();//Ctrl |
123 TestAknCharMap(); //Ctrl |
122 TestAknCharMap(); //Ctrl |
124 |
|
125 TestAknFileFilterFactory(); //Not Ctrl |
|
126 |
123 |
127 TestAknGlobalPopupPriorityController(); // Not Ctrl |
124 TestAknGlobalPopupPriorityController(); // Not Ctrl |
128 TestAknIncallBubbleNotify();//Not Ctrl |
125 TestAknIncallBubbleNotify();//Not Ctrl |
129 TestAknIndicator(); //Ctrl |
126 TestAknIndicator(); //Ctrl |
130 TestAknInputBlock(); //Ctrl |
127 TestAknInputBlock(); //Ctrl |
418 KConstructMenuSctRowL, |
415 KConstructMenuSctRowL, |
419 "CAknCharMap::ConstructMenuSctRowL() test" ); |
416 "CAknCharMap::ConstructMenuSctRowL() test" ); |
420 AssertTrueL( ETrue, KConstructMenuSctRowL ); |
417 AssertTrueL( ETrue, KConstructMenuSctRowL ); |
421 CleanupStack::PopAndDestroy( charMap ); |
418 CleanupStack::PopAndDestroy( charMap ); |
422 |
419 |
423 } |
|
424 |
|
425 // --------------------------------------------------------------------------- |
|
426 // CBCTestDomAknCtrlCase::TestAknFileFilterFactory() |
|
427 // test APIs in AknFileFilterFactory.h |
|
428 // Test Result: OK |
|
429 // |
|
430 // --------------------------------------------------------------------------- |
|
431 // |
|
432 void CBCTestDomAknCtrlCase::TestAknFileFilterFactory() |
|
433 { |
|
434 TResourceReader reader; |
|
435 CCoeEnv::Static()->CreateResourceReaderLC( |
|
436 reader, |
|
437 R_BCTESTDOMAIWAKN_AKNFILEFILTERFACTORY_FILTER );// RESOURCE FILTER |
|
438 AknFileFilterFactory::CreateFilterLC( reader ); //static function |
|
439 _LIT( KCreateFilterLC, "CreateFilterLC() test" ); |
|
440 AssertTrueL( ETrue, KCreateFilterLC ); |
|
441 |
|
442 CleanupStack::PopAndDestroy(2); // reader and Filter |
|
443 } |
420 } |
444 |
421 |
445 // --------------------------------------------------------------------------- |
422 // --------------------------------------------------------------------------- |
446 // CBCTestDomAknCtrlCase::TestAknGlobalPopupPriorityController() |
423 // CBCTestDomAknCtrlCase::TestAknGlobalPopupPriorityController() |
447 // test static APIs in aknglobalpopupprioritycontroller.h .. |
424 // test static APIs in aknglobalpopupprioritycontroller.h .. |