--- a/kerneltest/f32test/server/t_fnames.cpp Tue Aug 31 16:34:26 2010 +0300
+++ b/kerneltest/f32test/server/t_fnames.cpp Wed Sep 01 12:34:56 2010 +0100
@@ -15,7 +15,6 @@
//
//
-#define __E32TEST_EXTENSION__
#include <f32file.h>
#include <e32test.h>
#include "t_server.h"
@@ -46,7 +45,7 @@
TBuf<32> badName=_L("\\< > : \" / |");
TParse parser;
TInt r=parser.Set(aName,NULL,NULL);
- test_Value(r, r == KErrNone || r==anError);
+ test(r==KErrNone || r==anError);
goodName.Insert(0,parser.Drive());
badName.Insert(0,parser.Drive());
@@ -168,7 +167,7 @@
//-- TParse shall work correctly
TParse parse;
TInt err = parse.Set(dirName,NULL,NULL);
- test_KErrNone(err);
+ test( err == KErrNone );
//-- try to access a directory with a long name. This just shall not panic.
//-- The return code can be any, on the emulator it's very likely to be KErrBadname
@@ -192,7 +191,7 @@
//-- create a dir c:\a
_LIT(dirName, "C:\\a\\");
TInt err = rfs.MkDir(dirName);
- test_Value(err, err == KErrNone || err == KErrAlreadyExists);
+ test(err == KErrNone || err == KErrAlreadyExists);
if(err == KErrAlreadyExists)
bDirExisted = ETrue;
@@ -203,7 +202,7 @@
//-- try to create a directory with a very long name, checking that it doesn't get truncated to the "c:\a"
err = rfs.MkDir(longDirName);
- test_Value(err, err == KErrBadName);
+ test(err == KErrBadName);
//-- clean up, remove created directory, otherwise some ill-designed tests can fail
if(!bDirExisted)