kerneltest/e32test/pccd/t_idrv.cpp
changeset 33 0173bcd7697c
parent 0 a41df078684a
child 90 947f0dc9f7a8
child 256 c1f20ce4abcf
equal deleted inserted replaced
31:56f325a607ea 33:0173bcd7697c
   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);