kerneltest/f32test/server/t_findcapnone.cpp
branchRCL_3
changeset 257 3e88ff8f41d5
parent 256 c1f20ce4abcf
--- a/kerneltest/f32test/server/t_findcapnone.cpp	Tue Aug 31 16:34:26 2010 +0300
+++ b/kerneltest/f32test/server/t_findcapnone.cpp	Wed Sep 01 12:34:56 2010 +0100
@@ -22,7 +22,6 @@
 // 
 //
 
-#define __E32TEST_EXTENSION__
 #include <e32test.h>
 #include <f32file.h>
 
@@ -50,7 +49,7 @@
 	
 	Err=FileServer.Connect();
 	
-	test_KErrNone(Err);
+	test(Err==KErrNone);
     
     // RTest.Next is called from function "TestFind()".
     // RTest.Start is called here to start the test.
@@ -67,7 +66,7 @@
 		         _L("z:\\sys\\bin\\"),
 		         _L("nonexistingfile.txt"));
 	
-	test_Value(Err, Err == KErrPermissionDenied);
+	test(Err==KErrPermissionDenied);
 	
 	// Test: Find existing file in existing /sys folder
 	//
@@ -80,7 +79,7 @@
 		         _L("z:\\sys\\bin\\"),
 		         _L("t_findcaptestfile.txt"));
 	
-	test_Value(Err, Err == KErrPermissionDenied);
+	test(Err==KErrPermissionDenied);
 	
 	// Test: Find non existing file in existing / non existing /sys folder
 	//
@@ -93,7 +92,7 @@
 		         _L("c:\\sys\\"),
 		         _L("nonexisting.txt"));
 	
-	test_Value(Err, Err == KErrPermissionDenied);
+	test(Err==KErrPermissionDenied);
 	
 	// Test: Find existing file in /sys folder without specifying the path
 	//
@@ -106,7 +105,7 @@
 		         _L("\\sys\\bin\\"),
 		         _L("t_findcaptestfile.txt"));
 	
-	test_Value(Err, Err == KErrPermissionDenied);
+	test(Err==KErrPermissionDenied);
 	
 	// Test: Find non existing file in /sys folder without specifying the path
 	//
@@ -119,7 +118,7 @@
 		         _L("\\sys\\"),
 		         _L("nonexisting.txt"));
 	
-	test_Value(Err, Err == KErrPermissionDenied);
+	test(Err==KErrPermissionDenied);
 	
 	FileServer.Close();