/[resiprocate]/branches/b-directory-reorg/resip/dum/test/testIdentity.cxx
ViewVC logotype

Diff of /branches/b-directory-reorg/resip/dum/test/testIdentity.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4740 by daniel, Tue May 24 21:30:57 2005 UTC revision 4781 by sgodin, Mon May 30 16:35:33 2005 UTC
# Line 164  Line 164 
164     // clientDum.addTransport(TCP, 10000 + rand()&0x7fff, V6);     // clientDum.addTransport(TCP, 10000 + rand()&0x7fff, V6);
165     // clientDum.addTransport(TLS, 10000 + rand()&0x7fff, V6);     // clientDum.addTransport(TLS, 10000 + rand()&0x7fff, V6);
166    
167     MasterProfile clientProfile;       SharedPtr<MasterProfile> clientProfile(new MasterProfile);  
168     auto_ptr<ClientAuthManager> clientAuth(new ClientAuthManager());       auto_ptr<ClientAuthManager> clientAuth(new ClientAuthManager());  
169     TestIdentityHandler clientHandler;     TestIdentityHandler clientHandler;
170    
171     clientDum.setMasterProfile(&clientProfile);     clientDum.setMasterProfile(clientProfile);
172     clientDum.setClientAuthManager(clientAuth);     clientDum.setClientAuthManager(clientAuth);
173     clientDum.setClientRegistrationHandler(&clientHandler);     clientDum.setClientRegistrationHandler(&clientHandler);
174     clientDum.setClientPagerMessageHandler(&clientHandler);     clientDum.setClientPagerMessageHandler(&clientHandler);
# Line 177  Line 177 
177     clientDum.getMasterProfile()->addSupportedMethod(MESSAGE);     clientDum.getMasterProfile()->addSupportedMethod(MESSAGE);
178     clientDum.getMasterProfile()->addSupportedMimeType(MESSAGE, Mime("text", "plain"));     clientDum.getMasterProfile()->addSupportedMimeType(MESSAGE, Mime("text", "plain"));
179    
180     clientProfile.setDefaultFrom(userAor);     clientProfile->setDefaultFrom(userAor);
181    
182     InfoLog( << userAor.uri().host() << " " << userAor.uri().user()     InfoLog( << userAor.uri().host() << " " << userAor.uri().user()
183              << " " << passwd );              << " " << passwd );
184    
185     clientProfile.setDigestCredential(userAor.uri().host(),     clientProfile->setDigestCredential(userAor.uri().host(),
186                                       userAor.uri().user(),                                       userAor.uri().user(),
187                                       passwd);                                       passwd);
188                    

Legend:
Removed from v.4740  
changed lines
  Added in v.4781

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27