OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include <iostream> | 11 #include <iostream> |
12 #include <memory> | 12 #include <memory> |
13 #include <sstream> | 13 #include <sstream> |
14 #include <string> | 14 #include <string> |
15 | 15 |
16 #include "webrtc/libjingle/xmllite/xmlelement.h" | 16 #include "webrtc/libjingle/xmllite/xmlelement.h" |
17 #include "webrtc/libjingle/xmpp/constants.h" | 17 #include "webrtc/libjingle/xmpp/constants.h" |
18 #include "webrtc/libjingle/xmpp/plainsaslhandler.h" | 18 #include "webrtc/libjingle/xmpp/plainsaslhandler.h" |
19 #include "webrtc/libjingle/xmpp/saslplainmechanism.h" | 19 #include "webrtc/libjingle/xmpp/saslplainmechanism.h" |
20 #include "webrtc/libjingle/xmpp/util_unittest.h" | 20 #include "webrtc/libjingle/xmpp/util_unittest.h" |
21 #include "webrtc/libjingle/xmpp/xmppengine.h" | 21 #include "webrtc/libjingle/xmpp/xmppengine.h" |
22 #include "webrtc/base/common.h" | 22 #include "webrtc/base/common.h" |
23 #include "webrtc/base/cryptstring.h" | 23 #include "webrtc/base/cryptstring.h" |
24 #include "webrtc/base/gunit.h" | 24 #include "webrtc/base/gunit.h" |
25 #include "webrtc/typedefs.h" | |
26 | 25 |
27 using buzz::Jid; | 26 using buzz::Jid; |
28 using buzz::QName; | 27 using buzz::QName; |
29 using buzz::XmlElement; | 28 using buzz::XmlElement; |
30 using buzz::XmppEngine; | 29 using buzz::XmppEngine; |
31 using buzz::XmppTestHandler; | 30 using buzz::XmppTestHandler; |
32 | 31 |
33 enum XlttStage { | 32 enum XlttStage { |
34 XLTT_STAGE_CONNECT = 0, | 33 XLTT_STAGE_CONNECT = 0, |
35 XLTT_STAGE_STREAMSTART, | 34 XLTT_STAGE_STREAMSTART, |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 "Some special application diagnostic information!" | 627 "Some special application diagnostic information!" |
629 "</text>" | 628 "</text>" |
630 "<escape-your-data xmlns=\"application-ns\"/>" | 629 "<escape-your-data xmlns=\"application-ns\"/>" |
631 "</str:error>", engine()->GetStreamError()->Str()); | 630 "</str:error>", engine()->GetStreamError()->Str()); |
632 | 631 |
633 TearDown(); | 632 TearDown(); |
634 SetUp(); | 633 SetUp(); |
635 } | 634 } |
636 } | 635 } |
637 | 636 |
OLD | NEW |