| 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" |
| 25 | 26 |
| 26 using buzz::Jid; | 27 using buzz::Jid; |
| 27 using buzz::QName; | 28 using buzz::QName; |
| 28 using buzz::XmlElement; | 29 using buzz::XmlElement; |
| 29 using buzz::XmppEngine; | 30 using buzz::XmppEngine; |
| 30 using buzz::XmppTestHandler; | 31 using buzz::XmppTestHandler; |
| 31 | 32 |
| 32 enum XlttStage { | 33 enum XlttStage { |
| 33 XLTT_STAGE_CONNECT = 0, | 34 XLTT_STAGE_CONNECT = 0, |
| 34 XLTT_STAGE_STREAMSTART, | 35 XLTT_STAGE_STREAMSTART, |
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 "Some special application diagnostic information!" | 628 "Some special application diagnostic information!" |
| 628 "</text>" | 629 "</text>" |
| 629 "<escape-your-data xmlns=\"application-ns\"/>" | 630 "<escape-your-data xmlns=\"application-ns\"/>" |
| 630 "</str:error>", engine()->GetStreamError()->Str()); | 631 "</str:error>", engine()->GetStreamError()->Str()); |
| 631 | 632 |
| 632 TearDown(); | 633 TearDown(); |
| 633 SetUp(); | 634 SetUp(); |
| 634 } | 635 } |
| 635 } | 636 } |
| 636 | 637 |
| OLD | NEW |