kerneltest/e32test/pccd/t_idrv.cpp
branchanywhere
changeset 41 d32f34975bbf
parent 33 0173bcd7697c
child 90 947f0dc9f7a8
child 256 c1f20ce4abcf
equal deleted inserted replaced
40:04a1b74efd48 41:d32f34975bbf
   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);