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

Unified Diff: remoting/base/resources_unittest.cc

Issue 1318773003: Move remoting/base/resources* to remoting/host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « remoting/base/resources_mac.cc ('k') | remoting/base/resources_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/resources_unittest.cc
diff --git a/remoting/base/resources_unittest.cc b/remoting/base/resources_unittest.cc
deleted file mode 100644
index a684b2c089a556a736f4c44174fbe12f35884675..0000000000000000000000000000000000000000
--- a/remoting/base/resources_unittest.cc
+++ /dev/null
@@ -1,47 +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 "remoting/base/resources.h"
-
-#include "remoting/base/string_resources.h"
-#include "ui/base/l10n/l10n_util.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace remoting {
-
-class ResourcesTest : public testing::Test {
- protected:
- ResourcesTest(): resources_available_(false) {
- }
-
- void SetUp() override { resources_available_ = LoadResources("en-US"); }
-
- void TearDown() override { UnloadResources(); }
-
- bool resources_available_;
-};
-
-// TODO(alexeypa): Reenable the test once http://crbug.com/269143 (ChromeOS) and
-// http://crbug.com/268043 (MacOS) are fixed.
-TEST_F(ResourcesTest, DISABLED_ProductName) {
-#if defined(GOOGLE_CHROME_BUILD)
- std::string expected_product_name = "Chrome Remote Desktop";
-#else // defined(GOOGLE_CHROME_BUILD)
- std::string expected_product_name = "Chromoting";
-#endif // !defined(GOOGLE_CHROME_BUILD)
-
- // Chrome-style i18n is not used on Windows.
-#if defined(OS_WIN)
- EXPECT_FALSE(resources_available_);
-#else
- EXPECT_TRUE(resources_available_);
-#endif
-
- if (resources_available_) {
- EXPECT_EQ(expected_product_name,
- l10n_util::GetStringUTF8(IDS_PRODUCT_NAME));
- }
-}
-
-} // namespace remoting
« no previous file with comments | « remoting/base/resources_mac.cc ('k') | remoting/base/resources_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698