Differences From Artifact [1cf3c54e24]:
- File tests/test.m — part of check-in [b654efc74b] at 2013-02-10 17:01:20 on branch trunk — Fix selector for exception handling in XMPPConnection (user: florob@babelmonkeys.de, size: 6995) [annotate] [blame] [check-ins using]
To Artifact [ef9f547a18]:
- File
tests/test.m
— part of check-in
[c9bb52e823]
at
2013-02-23 13:49:32
on branch trunk
— Rename XMPPJSONFileStorage to XMPPFileStorage.
It uses BinaryPack instead of JSON now. (user: js, size: 6989) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
29 30 31 32 33 34 35 | #import "XMPPJID.h" #import "XMPPStanza.h" #import "XMPPIQ.h" #import "XMPPMessage.h" #import "XMPPPresence.h" #import "XMPPRoster.h" #import "XMPPStreamManagement.h" | | | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | #import "XMPPJID.h" #import "XMPPStanza.h" #import "XMPPIQ.h" #import "XMPPMessage.h" #import "XMPPPresence.h" #import "XMPPRoster.h" #import "XMPPStreamManagement.h" #import "XMPPFileStorage.h" @interface AppDelegate: OFObject #ifdef OF_HAVE_OPTIONAL_PROTOCOLS <OFApplicationDelegate, XMPPConnectionDelegate, XMPPRosterDelegate> #endif { XMPPConnection *conn; |
︙ | ︙ | |||
103 104 105 106 107 108 109 | [[stanza from] fullJID], [[stanza to] fullJID], [stanza type], [stanza ID]] isEqual: @"bob@localhost, alice@localhost, get, 42"])); conn = [[XMPPConnection alloc] init]; [conn addDelegate: self]; | | | | 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | [[stanza from] fullJID], [[stanza to] fullJID], [stanza type], [stanza ID]] isEqual: @"bob@localhost, alice@localhost, get, 42"])); conn = [[XMPPConnection alloc] init]; [conn addDelegate: self]; XMPPFileStorage *storage = [[XMPPFileStorage alloc] initWithFile: @"storage.binarypack"]; [conn setDataStorage: storage]; roster = [[XMPPRoster alloc] initWithConnection: conn]; [roster addDelegate: self]; [[XMPPStreamManagement alloc] initWithConnection: conn]; |
︙ | ︙ |