diff -r 4a8fed1c0ef6 -r 597aaf25e343 kerneltest/e32test/video/t_videomemory.cpp --- a/kerneltest/e32test/video/t_videomemory.cpp Sat Feb 20 00:10:51 2010 +0200 +++ b/kerneltest/e32test/video/t_videomemory.cpp Fri Mar 12 15:50:11 2010 +0200 @@ -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(); }