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

Unified Diff: mandoline/ui/desktop_ui/browser_apptest.cc

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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 | « mandoline/ui/desktop_ui/DEPS ('k') | mandoline/ui/desktop_ui/browser_commands.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/desktop_ui/browser_apptest.cc
diff --git a/mandoline/ui/desktop_ui/browser_apptest.cc b/mandoline/ui/desktop_ui/browser_apptest.cc
deleted file mode 100644
index 1075f63148a3b0b4d8891e8d4cbb441a52d15bac..0000000000000000000000000000000000000000
--- a/mandoline/ui/desktop_ui/browser_apptest.cc
+++ /dev/null
@@ -1,37 +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 "base/macros.h"
-#include "mandoline/ui/desktop_ui/public/interfaces/launch_handler.mojom.h"
-#include "mojo/shell/public/cpp/application_test_base.h"
-
-namespace mandoline {
-
-class BrowserTest : public mojo::test::ApplicationTestBase {
- public:
- BrowserTest() : ApplicationTestBase() {}
- ~BrowserTest() override {}
-
- // mojo::test::ApplicationTestBase:
- void SetUp() override {
- mojo::test::ApplicationTestBase::SetUp();
- shell()->ConnectToService("mojo:desktop_ui", &launch_handler_);
- ASSERT_TRUE(launch_handler_.is_bound());
- }
-
- protected:
- LaunchHandlerPtr launch_handler_;
-
- private:
- MOJO_DISALLOW_COPY_AND_ASSIGN(BrowserTest);
-};
-
-// A simple sanity check for connecting to the LaunchHandler.
-TEST_F(BrowserTest, LaunchHandlerBasic) {
- ASSERT_TRUE(launch_handler_.is_bound());
- launch_handler_->LaunchURL(mojo::String::From("data:text/html,foo"));
- EXPECT_TRUE(launch_handler_.is_bound());
-}
-
-} // namespace mandoline
« no previous file with comments | « mandoline/ui/desktop_ui/DEPS ('k') | mandoline/ui/desktop_ui/browser_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698