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