equal
deleted
inserted
replaced
16 // |
16 // |
17 // |
17 // |
18 |
18 |
19 #include <e32svr.h> |
19 #include <e32svr.h> |
20 |
20 |
21 #define __E32TEST_EXTENSION__ |
|
22 #include <e32test.h> |
21 #include <e32test.h> |
23 #include <e32twin.h> |
22 #include <e32twin.h> |
24 #include <e32def.h> |
23 #include <e32def.h> |
25 #include <e32def_private.h> |
24 #include <e32def_private.h> |
26 #include <e32std.h> |
25 #include <e32std.h> |
34 |
33 |
35 test.Next(_L("Creating notifier.")); |
34 test.Next(_L("Creating notifier.")); |
36 RNotifier n; |
35 RNotifier n; |
37 |
36 |
38 test.Next(_L("Connected to notify server.")); |
37 test.Next(_L("Connected to notify server.")); |
39 TInt r = n.Connect(); |
38 TInt r; |
40 test_KErrNone(r); |
39 test((r = n.Connect()) == KErrNone); |
41 |
40 |
42 TPckgBuf<TMediaPswdSendNotifyInfoV1> send; |
41 TPckgBuf<TMediaPswdSendNotifyInfoV1> send; |
43 send().iVersion = TVersion(1, 0, 0); |
42 send().iVersion = TVersion(1, 0, 0); |
44 TPckgBuf<TMediaPswdReplyNotifyInfoV1> reply; |
43 TPckgBuf<TMediaPswdReplyNotifyInfoV1> reply; |
45 reply().iVersion = TVersion(1, 0, 0); |
44 reply().iVersion = TVersion(1, 0, 0); |