Index: chrome/browser/chromeos/dbus/introspectable_client_unittest.cc |
diff --git a/chrome/browser/chromeos/dbus/introspectable_client_unittest.cc b/chrome/browser/chromeos/dbus/introspectable_client_unittest.cc |
deleted file mode 100644 |
index 2600e69b3cc7ea818bb09e436269613bafb0870e..0000000000000000000000000000000000000000 |
--- a/chrome/browser/chromeos/dbus/introspectable_client_unittest.cc |
+++ /dev/null |
@@ -1,68 +0,0 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "chrome/browser/chromeos/dbus/introspectable_client.h" |
- |
-#include "testing/gtest/include/gtest/gtest.h" |
- |
-namespace { |
- |
-const char kXmlData[] = |
-"<!DOCTYPE node PUBLIC " |
-"\"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN\" " |
-"\"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\">\n" |
-"<node>\n" |
-" <interface name=\"org.freedesktop.DBus.Introspectable\">\n" |
-" <method name=\"Introspect\">\n" |
-" <arg type=\"s\" direction=\"out\"/>\n" |
-" </method>\n" |
-" </interface>\n" |
-" <interface name=\"org.bluez.Device\">\n" |
-" <method name=\"GetProperties\">\n" |
-" <arg type=\"a{sv}\" direction=\"out\"/>\n" |
-" </method>\n" |
-" <method name=\"SetProperty\">\n" |
-" <arg type=\"s\" direction=\"in\"/>\n" |
-" <arg type=\"v\" direction=\"in\"/>\n" |
-" </method>\n" |
-" <method name=\"DiscoverServices\">\n" |
-" <arg type=\"s\" direction=\"in\"/>\n" |
-" <arg type=\"a{us}\" direction=\"out\"/>\n" |
-" </method>\n" |
-" <method name=\"CancelDiscovery\"/>\n" |
-" <method name=\"Disconnect\"/>\n" |
-" <signal name=\"PropertyChanged\">\n" |
-" <arg type=\"s\"/>\n" |
-" <arg type=\"v\"/>\n" |
-" </signal>\n" |
-" <signal name=\"DisconnectRequested\"/>\n" |
-" </interface>\n" |
-" <interface name=\"org.bluez.Input\">\n" |
-" <method name=\"Connect\"/>\n" |
-" <method name=\"Disconnect\"/>\n" |
-" <method name=\"GetProperties\">\n" |
-" <arg type=\"a{sv}\" direction=\"out\"/>\n" |
-" </method>\n" |
-" <signal name=\"PropertyChanged\">\n" |
-" <arg type=\"s\"/>\n" |
-" <arg type=\"v\"/>\n" |
-" </signal>\n" |
-" </interface>\n" |
-"</node>"; |
- |
-} // namespace |
- |
-namespace chromeos { |
- |
-TEST(IntrospectableTest, GetInterfacesFromXmlData) { |
- std::vector<std::string> interfaces = |
- IntrospectableClient::GetInterfacesFromXmlData(kXmlData); |
- |
- ASSERT_EQ(3U, interfaces.size()); |
- EXPECT_EQ("org.freedesktop.DBus.Introspectable", interfaces[0]); |
- EXPECT_EQ("org.bluez.Device", interfaces[1]); |
- EXPECT_EQ("org.bluez.Input", interfaces[2]); |
-} |
- |
-} // namespace chromeos |