kerneltest/e32test/pccd/t_crrdrv.cpp
changeset 33 0173bcd7697c
parent 0 a41df078684a
equal deleted inserted replaced
31:56f325a607ea 33:0173bcd7697c
   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"));