kerneltest/e32test/pccd/t_crrdrv.cpp
branchanywhere
changeset 41 d32f34975bbf
parent 33 0173bcd7697c
equal deleted inserted replaced
40:04a1b74efd48 41:d32f34975bbf
   146 	User::After(300000);		  					// Allow 0.3s for controller to detect door closed.
   146 	User::After(300000);		  					// Allow 0.3s for controller to detect door closed.
   147 	TLocalDriveCapsV2Buf info;
   147 	TLocalDriveCapsV2Buf info;
   148 	test(theCRomDrive.Caps(info)==KErrNone);
   148 	test(theCRomDrive.Caps(info)==KErrNone);
   149 	test(info().iSize==(TInt64)KMaxDriveLen);
   149 	test(info().iSize==(TInt64)KMaxDriveLen);
   150 	test(info().iType==EMediaFlash);
   150 	test(info().iType==EMediaFlash);
   151 	test(info().iBattery==EBatNotSupported);
   151 	test(info().iConnectionBusType==EConnectionBusInternal);
   152 	test(info().iDriveAtt==(KDriveAttLocal|KDriveAttRemovable));
   152 	test(info().iDriveAtt==(KDriveAttLocal|KDriveAttRemovable));
   153 	test(info().iMediaAtt==KMediaAttFormattable);
   153 	test(info().iMediaAtt==KMediaAttFormattable);
   154 	test(info().iFileSystemId==KDriveFileSysFAT);
   154 	test(info().iFileSystemId==KDriveFileSysFAT);
   155 
   155 
   156 	test.Next(_L("CROM drive: format"));
   156 	test.Next(_L("CROM drive: format"));