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

Unified Diff: chrome/browser/media/router/media_source_unittest.cc

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 years, 8 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: chrome/browser/media/router/media_source_unittest.cc
diff --git a/chrome/browser/media/router/media_source_unittest.cc b/chrome/browser/media/router/media_source_unittest.cc
deleted file mode 100644
index ea3f9ee5cb54efe397fe78288c5a046ea29e574e..0000000000000000000000000000000000000000
--- a/chrome/browser/media/router/media_source_unittest.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2015 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/media/router/media_source.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace media_router {
-
-// Test that the object's getters match the constructor parameters.
-TEST(MediaSourceTest, Constructor) {
- MediaSource source1("urn:x-com.google.cast:application:DEADBEEF");
- EXPECT_EQ("urn:x-com.google.cast:application:DEADBEEF", source1.id());
- EXPECT_EQ(GURL(""), source1.url());
-}
-
-TEST(MediaSourceTest, ConstructorWithGURL) {
- GURL test_url = GURL("http://google.com");
- MediaSource source1(test_url);
- EXPECT_EQ(test_url.spec(), source1.id());
- EXPECT_EQ(test_url, source1.url());
-}
-
-TEST(MediaSourceTest, ConstructorWithURLString) {
- GURL test_url = GURL("http://google.com");
- MediaSource source1(test_url.spec());
- EXPECT_EQ(test_url.spec(), source1.id());
- EXPECT_EQ(test_url, source1.url());
-}
-
-} // namespace media_router

Powered by Google App Engine
This is Rietveld 408576698