4319 { |
4319 { |
4320 test.Title(); |
4320 test.Title(); |
4321 test.Start(_L("Testing Resource Manager...\n")); |
4321 test.Start(_L("Testing Resource Manager...\n")); |
4322 test.Printf(_L("Testing HCR client setting Macro's for Resource Manager \n")); |
4322 test.Printf(_L("Testing HCR client setting Macro's for Resource Manager \n")); |
4323 TestClientHCRSettingMacros(); |
4323 TestClientHCRSettingMacros(); |
4324 // |
|
4325 test.Printf(_L("TEST SKIPPED UNTIL FIX FOR DEF145087 IS AVAILABLE TO PREVENT CRASHING\n")); |
|
4326 test(0); |
|
4327 // |
|
4328 test.Next(_L("Load Physical device")); |
4324 test.Next(_L("Load Physical device")); |
4329 #ifndef PRM_ENABLE_EXTENDED_VERSION |
4325 #ifndef PRM_ENABLE_EXTENDED_VERSION |
4330 r = User::LoadPhysicalDevice(KPddFileName); |
4326 r = User::LoadPhysicalDevice(KPddFileName); |
4331 test(r==KErrNone || r==KErrAlreadyExists); |
4327 test(r==KErrNone || r==KErrAlreadyExists); |
4332 test.Next(_L("Load Logical Device")); |
4328 test.Next(_L("Load Logical Device")); |
4338 test(r==KErrNone || r==KErrAlreadyExists); |
4334 test(r==KErrNone || r==KErrAlreadyExists); |
4339 test.Next(_L("Load Logical Device")); |
4335 test.Next(_L("Load Logical Device")); |
4340 r=User::LoadLogicalDevice(KExtLddFileName); |
4336 r=User::LoadLogicalDevice(KExtLddFileName); |
4341 test(r==KErrNone || r==KErrAlreadyExists); |
4337 test(r==KErrNone || r==KErrAlreadyExists); |
4342 #endif |
4338 #endif |
|
4339 |
|
4340 RDevice d; |
|
4341 TPckgBuf<RTestResMan::TCaps> caps; |
|
4342 r = d.Open(KLddName); |
|
4343 test(r == KErrNone); |
|
4344 d.GetCaps(caps); |
|
4345 d.Close(); |
|
4346 |
|
4347 TVersion ver = caps().iVersion; |
|
4348 test(ver.iMajor == 1); |
|
4349 test(ver.iMinor == 0); |
|
4350 test(ver.iBuild == KE32BuildVersionNumber); |
|
4351 |
4343 r = lddChan.Open(); |
4352 r = lddChan.Open(); |
4344 test(r==KErrNone || r==KErrAlreadyExists); |
4353 test(r==KErrNone || r==KErrAlreadyExists); |
|
4354 |
4345 //Check whether the notifications recieved as a result of postboot level setting is as expected. |
4355 //Check whether the notifications recieved as a result of postboot level setting is as expected. |
4346 r = lddChan.CheckPostBootLevelNotifications(); |
4356 r = lddChan.CheckPostBootLevelNotifications(); |
4347 test(r == KErrNone); |
4357 test(r == KErrNone); |
4348 TBool regressionTesting = EFalse; |
4358 TBool regressionTesting = EFalse; |
4349 //Parse the command line arguments. |
4359 //Parse the command line arguments. |