Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(630)

Unified Diff: remoting/client/plugin/chromoting_plugin_unittest.cc

Issue 2861047: Refactor the client code. Move all x11-related code into X11View and create... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/client/plugin/chromoting_plugin_unittest.cc
===================================================================
--- remoting/client/plugin/chromoting_plugin_unittest.cc (revision 52921)
+++ remoting/client/plugin/chromoting_plugin_unittest.cc (working copy)
@@ -17,17 +17,4 @@
}
};
-TEST_F(ChromotingPluginTest, ParseUrl) {
- const char url[] = "chromotocol://hostid?user=auser&auth=someauth&jid=ajid";
- std::string user_id;
- std::string auth_token;
- std::string host_jid;
- ASSERT_TRUE(
- ChromotingPlugin::ParseUrl(url, &user_id, &auth_token, &host_jid));
-
- EXPECT_EQ("auser", user_id);
- EXPECT_EQ("someauth", auth_token);
- EXPECT_EQ("ajid", host_jid);
-}
-
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698