diff -r a179b74831c9 -r c1f20ce4abcf kerneltest/f32test/server/t_cp_plugin.cpp --- a/kerneltest/f32test/server/t_cp_plugin.cpp Thu Aug 19 11:14:22 2010 +0300 +++ b/kerneltest/f32test/server/t_cp_plugin.cpp Tue Aug 31 16:34:26 2010 +0300 @@ -16,6 +16,7 @@ // +#define __E32TEST_EXTENSION__ #include #include #include @@ -42,8 +43,6 @@ void TestCompatibility(); void TestINC126563(); -// Codepage dll name -_LIT(KCP932Name,"T_CP932"); TInt LoadCodePageDll(const TDesC& aCodePageDllName) { @@ -95,7 +94,8 @@ test.Start(_L("Starting T_CP_PLUGIN tests")); #if defined(_DEBUG) || defined(_DEBUG_RELEASE) - + // Codepage dll name + _LIT(KCP932Name,"T_CP932"); // Test only runs on Fat file systems TheFs.SessionPath(gSessionPath); TInt driveNum = CurrentDrive(); @@ -111,13 +111,13 @@ { TBuf<16> CodepageDllName(KCP932Name); r = LoadCodePageDll(CodepageDllName); - test(r == KErrNone || r == KErrAlreadyExists); + test_Value(r, r == KErrNone || r == KErrAlreadyExists); if(r == KErrNone) { // should not allow loading again codepage dll. r = LoadCodePageDll(CodepageDllName); - test(r == KErrAlreadyExists); + test_Value(r, r == KErrAlreadyExists); } @@ -129,7 +129,7 @@ // Disables codepage dll implementation of LocaleUtils functions for other base tests r = TheFs.ControlIo(driveNum, KControlIoDisableFatUtilityFunctions); - test(r == KErrNone); + test_KErrNone(r); } } else