uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomaiwakn/src/bctestdomaknctrlcase.cpp
changeset 22 75713bee6484
parent 0 2f259fa3e83a
equal deleted inserted replaced
21:558113899881 22:75713bee6484
    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     
   420     AssertTrueL( ETrue,  KConstructMenuSctRowL );         
   417     AssertTrueL( ETrue,  KConstructMenuSctRowL );         
   421     CleanupStack::PopAndDestroy( charMap ); 
   418     CleanupStack::PopAndDestroy( charMap ); 
   422   
   419   
   423     }
   420     }
   424     
   421     
   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     }
       
   444        
   422        
   445 // ---------------------------------------------------------------------------
   423 // ---------------------------------------------------------------------------
   446 // CBCTestDomAknCtrlCase::TestAknGlobalPopupPriorityController()
   424 // CBCTestDomAknCtrlCase::TestAknGlobalPopupPriorityController()
   447 // test static APIs in aknglobalpopupprioritycontroller.h ..
   425 // test static APIs in aknglobalpopupprioritycontroller.h ..
   448 // Test Result: OK
   426 // Test Result: OK