kerneltest/f32test/plugins/version_2beta/t_plugin_v2beta.cpp
changeset 200 73ea206103e6
parent 0 a41df078684a
child 221 39b39e1a406e
child 257 3e88ff8f41d5
child 269 d57b86b1867a
equal deleted inserted replaced
152:657f875b013e 200:73ea206103e6
   170 		test.Printf(_L("Drive %C: is not ready!"), 'A'+driveNum);
   170 		test.Printf(_L("Drive %C: is not ready!"), 'A'+driveNum);
   171 		test(EFalse);
   171 		test(EFalse);
   172 
   172 
   173 		}
   173 		}
   174 	else
   174 	else
   175 		if ((gFileSystemExtensionLoaded || name.CompareF(_L("Win32"))==0)&& r == KErrNotSupported)
   175 		if ((gFileSystemExtensionLoaded || F32_Test_Utils::Is_Win32(TheFs,driveNum)) && r == KErrNotSupported)
   176 			{
   176 			{
   177 			test.Printf(_L("File system extension does not support local buffers\n"));
   177 			test.Printf(_L("File system extension does not support local buffers\n"));
   178 			file.Close();
   178 			file.Close();
   179 			return;
   179 			return;
   180 			}
   180 			}
   447 
   447 
   448 
   448 
   449 	// run T_FILE with trace plugin installed
   449 	// run T_FILE with trace plugin installed
   450 
   450 
   451 #if defined(__WINS__)	// only in WINS to save time
   451 #if defined(__WINS__)	// only in WINS to save time
   452 TestLoadingOfTracePlugin();
   452 	TestLoadingOfTracePlugin();
   453 
   453 
   454 	RProcess p;
   454 	RProcess p;
   455 
   455 
   456 	TBuf<4> driveBuf=_L("?");
   456 	TBuf<4> driveBuf=_L("?");
   457 	driveBuf[0] = (TText) gDriveToTest;
   457 	driveBuf[0] = (TText) gDriveToTest;
   462 	test(r==KErrNone);
   462 	test(r==KErrNone);
   463 	TRequestStatus status;
   463 	TRequestStatus status;
   464 	p.Logon(status);
   464 	p.Logon(status);
   465 	p.Resume();
   465 	p.Resume();
   466 	User::WaitForRequest(status);
   466 	User::WaitForRequest(status);
   467 TestUnloadingOfTracePlugin();
   467 	TestUnloadingOfTracePlugin();
   468 #endif // __WINS__
   468 #endif // __WINS__
   469 
   469 
   470 	// Cannot format drive C: so skip this test on that drive
   470 	// Cannot format drive C: so skip this test on that drive
   471 	if (!F32_Test_Utils::Is_Win32(TheFs, EDriveC))
   471 	if (!F32_Test_Utils::Is_SimulatedSystemDrive(TheFs, EDriveC))
   472 	    {
   472 	    {
   473         TestLoadingOfFormatPlugin();
   473         TestLoadingOfFormatPlugin();
   474         TestFormatDriveIntercept();
   474         TestFormatDriveIntercept();
   475         TestUnloadingOfFormatPlugin();
   475         TestUnloadingOfFormatPlugin();
   476         TestFormatDriveAfterFormatPlugin();
   476         TestFormatDriveAfterFormatPlugin();