diff -r c1f20ce4abcf -r 3e88ff8f41d5 kerneltest/e32test/video/t_videomemory.cpp --- a/kerneltest/e32test/video/t_videomemory.cpp Tue Aug 31 16:34:26 2010 +0300 +++ b/kerneltest/e32test/video/t_videomemory.cpp Wed Sep 01 12:34:56 2010 +0100 @@ -115,7 +115,6 @@ test(KErrNone == ret); pChunkBase = reinterpret_cast(chunk.Base()); - test.Printf(_L("Display Memory Address = %08x\n"), reinterpret_cast(pChunkBase)); *pChunkBase = KTestValue2; test(KTestValue2 == *pChunkBase); // We should see the new value through the pMemory pointer! @@ -123,7 +122,8 @@ { test(KTestValue2 == *pMemory); } - + // print it after test as this will corrupt memory buffer + test.Printf(_L("Display Memory Address = %08x\n"), reinterpret_cast(pChunkBase)); } else { @@ -186,10 +186,11 @@ test(KErrNone == ret); pChunkBase2 = reinterpret_cast(chunk2.Base()); - test.Printf(_L("Display Memory Address = %08x\n"), reinterpret_cast(pChunkBase)); test(KTestValue2 == *pChunkBase2); *pChunkBase2 = KTestValue3; test(KTestValue3 == *pChunkBase2); + // print it after test as this will corrupt memory buffer + test.Printf(_L("Display Memory Address = %08x\n"), reinterpret_cast(pChunkBase)); chunk2.Close(); }