kerneltest/e32test/notifier/t_textnotifier.cpp
changeset 109 b3a1d9898418
parent 0 a41df078684a
child 257 3e88ff8f41d5
child 271 dc268b18d709
--- a/kerneltest/e32test/notifier/t_textnotifier.cpp	Mon May 03 13:47:38 2010 +0300
+++ b/kerneltest/e32test/notifier/t_textnotifier.cpp	Fri May 14 17:13:29 2010 +0300
@@ -83,7 +83,16 @@
 	User::WaitForRequest(stat);
 	n.CancelNotifier(aUid);
 	test(stat==heapCellCount);
-	test(heapInfo1==heapInfo2);
+	
+	TInt size1, size2;
+	TLex8 lex(heapInfo1);
+	r = lex.Val(size1);
+	test(r==KErrNone);
+	lex.Assign(heapInfo2);
+	r = lex.Val(size2);
+	test(r==KErrNone);
+	//allocated size after should not be greater than before BUT may be less with new allocator
+	test(size2 <= size1); 
 
 	test.Next(_L("Close connection to notifier server"));
 	n.Close();