OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/protocol/jingle_messages.h" | 5 #include "remoting/protocol/jingle_messages.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "testing/gmock/include/gmock/gmock.h" | 8 #include "testing/gmock/include/gmock/gmock.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" | |
11 #include "third_party/libjingle/source/talk/xmpp/constants.h" | 10 #include "third_party/libjingle/source/talk/xmpp/constants.h" |
| 11 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" |
12 | 12 |
13 using buzz::QName; | 13 using buzz::QName; |
14 using buzz::XmlAttr; | 14 using buzz::XmlAttr; |
15 using buzz::XmlElement; | 15 using buzz::XmlElement; |
16 | 16 |
17 namespace remoting { | 17 namespace remoting { |
18 namespace protocol { | 18 namespace protocol { |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 EXPECT_FALSE(JingleMessage::IsJingleMessage(source_message.get())); | 365 EXPECT_FALSE(JingleMessage::IsJingleMessage(source_message.get())); |
366 | 366 |
367 JingleMessage message; | 367 JingleMessage message; |
368 std::string error; | 368 std::string error; |
369 EXPECT_FALSE(message.ParseXml(source_message.get(), &error)); | 369 EXPECT_FALSE(message.ParseXml(source_message.get(), &error)); |
370 EXPECT_FALSE(error.empty()); | 370 EXPECT_FALSE(error.empty()); |
371 } | 371 } |
372 | 372 |
373 } // namespace protocol | 373 } // namespace protocol |
374 } // namespace remoting | 374 } // namespace remoting |
OLD | NEW |