kerneltest/e32test/domainmgr/t_domain.cpp
changeset 286 48e57fb1237e
parent 279 957c583b417b
equal deleted inserted replaced
285:ff5437e4337c 286:48e57fb1237e
    49 // Failures and causes:
    49 // Failures and causes:
    50 // Base Port information:
    50 // Base Port information:
    51 // 
    51 // 
    52 //
    52 //
    53 
    53 
       
    54 
    54 #define __E32TEST_EXTENSION__
    55 #define __E32TEST_EXTENSION__
    55 #include <e32test.h>
    56 #include <e32test.h>
    56 #include <e32debug.h>
    57 #include <e32debug.h>
    57 #include <e32ldr_private.h>
    58 #include <e32ldr_private.h>
    58 #include <domainobserver.h>
    59 #include <domainobserver.h>
    59 
    60 
    60 #include "domainpolicytest.h"
    61 #include "domainpolicytest.h"
    61 #include "t_domain.h"
    62 #include "t_domain.h"
    62 
    63 #include "testexclusions.h"
    63 
    64 
    64 RTest test(_L(" T_DOMAIN "));
    65 RTest test(_L(" T_DOMAIN "));
    65 _LIT(KThreadName, "t_domain_panic_thread");
    66 _LIT(KThreadName, "t_domain_panic_thread");
    66 
    67 
    67 TDmHierarchyId GHierarchyIdUnderTest = 0;
    68 TDmHierarchyId GHierarchyIdUnderTest = 0;
  2124 			// strange command - silently ignore
  2125 			// strange command - silently ignore
  2125 			{} 
  2126 			{} 
  2126 		delete hb;
  2127 		delete hb;
  2127 		}
  2128 		}
  2128 
  2129 
       
  2130 	TInt testExclusions = 0;
       
  2131 	test_KErrNone(GetTestExclusionSettings(testExclusions));
       
  2132 	
       
  2133 	if (testExclusions & KDisableControllerShutdown)
       
  2134 		{
       
  2135 		UserSvr::HalFunction(EHalGroupPower, EPowerHalPowerManagerTestMode, (TAny*)KDisableControllerShutdown, NULL);
       
  2136 		}
       
  2137 
  2129 	test.Title();
  2138 	test.Title();
  2130 	test.Printf(_L("Go for %d iterations\n"), iter);
  2139 	test.Printf(_L("Go for %d iterations\n"), iter);
  2131 
  2140 
  2132 	// Remember the number of open handles. Just for a sanity check ....
  2141 	// Remember the number of open handles. Just for a sanity check ....
  2133 	TInt start_thc, start_phc;
  2142 	TInt start_thc, start_phc;