Chromium Code Reviews

Unified Diff: remoting/client/client_util_unittest.cc

Issue 3064009: Initial scriptable object implementation. (Closed)
Patch Set: Fix alpha's style nits. Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « remoting/client/client_util.cc ('k') | remoting/client/plugin/chromoting_plugin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/client_util_unittest.cc
diff --git a/remoting/client/client_util_unittest.cc b/remoting/client/client_util_unittest.cc
index 42777695433346099cadfd4140d7fb879886b0be..b1c3d21bb50585f48d245fe30cfae0ba09ee18a0 100644
--- a/remoting/client/client_util_unittest.cc
+++ b/remoting/client/client_util_unittest.cc
@@ -10,26 +10,11 @@
namespace remoting {
-// TODO(ajwong): Once ChromotingPlugin stablizes a little more, come up with
-// sane unittests.
+// TODO(ajwong): Fill this out.
class ClientUtilTest : public testing::Test {
protected:
virtual void SetUp() {
}
};
-TEST_F(ClientUtilTest, GetLoginInfoFromUrlParams) {
- const char url[] = "chromotocol://hostid?user=auser&auth=someauth&jid=ajid";
- std::string user_id;
- std::string auth_token;
- std::string host_jid;
- ClientConfig config;
-
- ASSERT_TRUE(GetLoginInfoFromUrlParams(url, &config));
-
- EXPECT_EQ("auser", config.username);
- EXPECT_EQ("someauth", config.auth_token);
- EXPECT_EQ("ajid", config.host_jid);
-}
-
} // namespace remoting
« no previous file with comments | « remoting/client/client_util.cc ('k') | remoting/client/plugin/chromoting_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine