kerneltest/f32test/server/t_falsespace.cpp
branchRCL_3
changeset 256 c1f20ce4abcf
parent 117 5b5d147c7838
child 257 3e88ff8f41d5
--- a/kerneltest/f32test/server/t_falsespace.cpp	Thu Aug 19 11:14:22 2010 +0300
+++ b/kerneltest/f32test/server/t_falsespace.cpp	Tue Aug 31 16:34:26 2010 +0300
@@ -1049,7 +1049,7 @@
 	test_KErrNone(nRes);
     for(i=0; i<MaxDummyFiles; ++i)
 	    {
-        nRes = DeleteFileX(KBaseFN, i); 
+        nRes = DeleteFileX(KBaseFN, i);
         test_KErrNone(nRes);
 		}
 	}
@@ -1084,7 +1084,6 @@
 	}
 
 
-
 //-----------------------------------------------------------------------------
 /**
     Test that the reserving some drive space does not takes more space than required.
@@ -1151,14 +1150,15 @@
 }
 
 //-----------------------------------------------------------------------------
-void CallTestsL()
+
+GLDEF_C void CallTestsL()
 //
 // Do tests relative to session path
 //
 	{
-	//-- set up console output 
-	Fat_Test_Utils::SetConsole(test.Console()); 
-	
+	//-- set up console output
+	Fat_Test_Utils::SetConsole(test.Console());
+
 	// If TESTFAST mode (for automated test builds) is set, don't run LFFS tests.
 	if ((UserSvr::DebugMask(2) & 0x00000002) && IsTestingLFFS())
 		{
@@ -1178,11 +1178,9 @@
 	r = TheFs.Drive(drv, gTestDrive);
 	test_KErrNone(r);
 
-
 	//-- print drive information
 	PrintDrvInfo(TheFs, gTestDrive);
 
-
 	// do not run the remainder of this test on RAM drive
 	if (drv.iType == EMediaRam)
 		{
@@ -1191,9 +1189,9 @@
 		return;
 		}
 
-	if (Is_Win32(TheFs, gTestDrive))
+	if (Is_SimulatedSystemDrive(TheFs, gTestDrive))
 		{
-		test.Printf(_L("Skipping on emulator %C: drive\n"), gSessionPath[0]);
+		test.Printf(_L("Skipping T_FALSESPACE on PlatSim/Emulator drive %C:\n"), gSessionPath[0]);
 		return;
 		}
 
@@ -1201,14 +1199,14 @@
 	Test1();	// General test for new APIs
 	Test2();	// Test to ensure drive and session reserve limits are not exceeded
 	Test3();
-	Test4();	// test filling the drive and that each checked API fails
+	Test4();	// Test filling the drive and that each checked API fails
 	Test5();
 	Test6();
 	Test7();
 	TestForDEF142554();
-	Test2();	// run this test to check reserves are being cleared correctly
+	Test2();	// Run this test to check reserves are being cleared correctly
 
 	TestFAT4G_Boundary();
-    
+
 	TurnAllocFailureOff();
 	}