sysstatemgmt/systemstatemgr/test/tcmd/src/tcmd_step_resourcereader.cpp
branchRCL_3
changeset 22 8cb079868133
parent 21 ccb4f6b3db21
equal deleted inserted replaced
21:ccb4f6b3db21 22:8cb079868133
  1878 	thread.Logon(status);
  1878 	thread.Logon(status);
  1879 	thread.Resume();
  1879 	thread.Resume();
  1880 	User::WaitForRequest(status);
  1880 	User::WaitForRequest(status);
  1881 	TExitCategoryName category = thread.ExitCategory();
  1881 	TExitCategoryName category = thread.ExitCategory();
  1882 	RDebug::Print(_L("***** Exit Category = %S *****"),&category);
  1882 	RDebug::Print(_L("***** Exit Category = %S *****"),&category);
  1883 	INFO_PRINTF2(_L("***** Exit Category = %S *****"), &category);
       
  1884 	TEST(category.Compare(KPanicCmdResourceReader) == 0); // always expecting a resource reader panic
  1883 	TEST(category.Compare(KPanicCmdResourceReader) == 0); // always expecting a resource reader panic
  1885 	const TInt exitReason = thread.ExitReason();
  1884 	const TInt exitReason = thread.ExitReason();
  1886 	thread.Close();
  1885 	thread.Close();
  1887 	return exitReason;
  1886 	return exitReason;
  1888 	}
  1887 	}