kerneltest/e32test/pccd/t_crrdrv.cpp
changeset 10 36bfc973b146
parent 9 96e5fb8b040d
equal deleted inserted replaced
9:96e5fb8b040d 10:36bfc973b146
   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"));