kerneltest/f32test/server/t_resize.cpp
changeset 149 d9f1e5bfe28c
parent 0 a41df078684a
child 257 3e88ff8f41d5
--- a/kerneltest/f32test/server/t_resize.cpp	Mon May 24 18:45:46 2010 +0100
+++ b/kerneltest/f32test/server/t_resize.cpp	Thu Jun 10 11:48:01 2010 +0100
@@ -20,6 +20,7 @@
 // 
 //
 
+#define __E32TEST_EXTENSION__
 #include <e32test.h>
 #include <f32file.h>
 #include <hal.h>
@@ -56,7 +57,7 @@
 	test.Next(_L("Connecting to file server."));
 	TInt r;
 	r = TheFs.Connect();
-	test(r == KErrNone);
+	test_KErrNone(r);
 
 	if ( !gDriveToTest.IsLower() )
 		{
@@ -171,13 +172,13 @@
 	TInt isFat, isValid;
     TInt machUid;
     r=HAL::Get(HAL::EMachineUid,machUid);
-    test(r==KErrNone);
+    test_KErrNone(r);
 //	test.Printf(_L("machUid = %08x.\n"), machUid);
 
 	TBuf<16> fsName;							// _?_ length
         
     r = TheFs.FileSystemName(fsName, aDrive);
-    test(r == KErrNone || r == KErrNotFound);
+    test_Value(r, r == KErrNone || r == KErrNotFound);
 	test.Printf(_L("fsName = \"%S\".\n"), &fsName);
 
 	if (machUid == HAL::EMachineUid_Brutus)