kerneltest/e32test/window/t_mmcpw.cpp
changeset 121 661475905584
parent 0 a41df078684a
child 257 3e88ff8f41d5
--- a/kerneltest/e32test/window/t_mmcpw.cpp	Fri Apr 23 22:02:01 2010 +0100
+++ b/kerneltest/e32test/window/t_mmcpw.cpp	Fri Apr 23 22:08:41 2010 +0100
@@ -18,6 +18,7 @@
 
 #include <e32svr.h>
 
+#define __E32TEST_EXTENSION__
 #include <e32test.h>
 #include <e32twin.h>
 #include <e32def.h>
@@ -35,8 +36,8 @@
 	RNotifier n;
 	
 	test.Next(_L("Connected to notify server."));
-	TInt r;
-	test((r = n.Connect()) == KErrNone);
+	TInt r = n.Connect();
+	test_KErrNone(r);
 
 	TPckgBuf<TMediaPswdSendNotifyInfoV1> send;
 	send().iVersion = TVersion(1, 0, 0);