kerneltest/e32test/pccd/t_idrv.cpp
changeset 44 36bfc973b146
parent 43 96e5fb8b040d
child 90 947f0dc9f7a8
child 256 c1f20ce4abcf
equal deleted inserted replaced
43:96e5fb8b040d 44:36bfc973b146
   129 	TLocalDriveCapsV2 info;
   129 	TLocalDriveCapsV2 info;
   130 	TPckg<TLocalDriveCapsV2> infoPckg(info);
   130 	TPckg<TLocalDriveCapsV2> infoPckg(info);
   131 	test(theInternalDrive.Caps(infoPckg)==KErrNone);
   131 	test(theInternalDrive.Caps(infoPckg)==KErrNone);
   132 	TUint saveSize=I64LOW(info.iSize);
   132 	TUint saveSize=I64LOW(info.iSize);
   133 	test(info.iType==EMediaRam);
   133 	test(info.iType==EMediaRam);
   134 	test(info.iBattery==EBatNotSupported);
   134 	test(info.iConnectionBusType==EConnectionBusInternal);
   135 	test(info.iDriveAtt==(KDriveAttLocal|KDriveAttInternal));
   135 	test(info.iDriveAtt==(KDriveAttLocal|KDriveAttInternal));
   136 	test(info.iMediaAtt==(KMediaAttVariableSize|KMediaAttFormattable));
   136 	test(info.iMediaAtt==(KMediaAttVariableSize|KMediaAttFormattable));
   137 	test(info.iFileSystemId==KDriveFileSysFAT);
   137 	test(info.iFileSystemId==KDriveFileSysFAT);
   138 
   138 
   139 	test.Printf(_L("Current drive size: %lx\n"),info.iSize);
   139 	test.Printf(_L("Current drive size: %lx\n"),info.iSize);