--- a/kerneltest/e32test/pccd/t_atadrv.cpp Tue Aug 31 16:34:26 2010 +0300
+++ b/kerneltest/e32test/pccd/t_atadrv.cpp Wed Sep 01 12:34:56 2010 +0100
@@ -37,12 +37,7 @@
const TInt KLongFormatInBytes=(KLongFormatInSectors<<KAtaSectorShift);
const TInt KHeapSize=0x4000;
-
-#undef USE_IDLE_CURRENT
-#ifdef USE_IDLE_CURRENT
const TInt KAtaIdleCurrentInMilliAmps=1;
-#endif
-
#define PDD_NAME _L("MEDATA")
@@ -268,13 +263,10 @@
test(info.iDriveAtt==(TUint)(KDriveAttLocal|KDriveAttRemovable));
test(info.iMediaAtt==KMediaAttFormattable);
test(info.iFileSystemId==KDriveFileSysFAT);
-#undef USE_IDLE_CURRENT
-#ifdef USE_IDLE_CURRENT
- TSupplyInfoV1Buf supply2;
- test(UserHal::SupplyInfo(supply2)==KErrNone);
- if (mediaChangeSupported)
- test(supply2().iCurrentConsumptionMilliAmps==supply1().iCurrentConsumptionMilliAmps+KAtaIdleCurrentInMilliAmps); // Snowball idle current is zero
-#endif
+// TSupplyInfoV1Buf supply2;
+// test(UserHal::SupplyInfo(supply2)==KErrNone);
+// if (mediaChangeSupported)
+// test(supply2().iCurrentConsumptionMilliAmps==supply1().iCurrentConsumptionMilliAmps+KAtaIdleCurrentInMilliAmps); // Snowball idle current is zero
b.Format(_L("ATA drive: Sector RdWr(%d)"),KAtaSectorSize);
test.Next(b);
@@ -458,11 +450,8 @@
test.Next(_L("ATA drive: Caps following media change"));
test(theAtaDrive.Caps(infoPckg)==KErrNone);
test(info.iType==EMediaHardDisk);
-#undef USE_IDLE_CURRENT
-#ifdef USE_IDLE_CURRENT
- test(UserHal::SupplyInfo(supply2)==KErrNone);
- test(supply2().iCurrentConsumptionMilliAmps==supply1().iCurrentConsumptionMilliAmps+KAtaIdleCurrentInMilliAmps);
-#endif
+// test(UserHal::SupplyInfo(supply2)==KErrNone);
+// test(supply2().iCurrentConsumptionMilliAmps==supply1().iCurrentConsumptionMilliAmps+KAtaIdleCurrentInMilliAmps);
test.Next(_L("ATA drive: Caps while OOM"));
TInt err=KErrNoMemory;