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

Side by Side Diff: mojo/runner/url_resolver_unittest.cc

Issue 1091513005: Separate mojo/shell into a runner and the application manager (shell) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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 unified diff | Download patch
« no previous file with comments | « mojo/runner/url_resolver.cc ('k') | mojo/shell/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/shell/url_resolver.h" 5 #include "mojo/runner/url_resolver.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 namespace shell { 11 namespace shell {
12 namespace test { 12 namespace test {
13 namespace { 13 namespace {
14 14
15 typedef testing::Test URLResolverTest; 15 typedef testing::Test URLResolverTest;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 URLResolver resolver; 141 URLResolver resolver;
142 resolver.SetMojoBaseURL(GURL("file:///base")); 142 resolver.SetMojoBaseURL(GURL("file:///base"));
143 GURL mapped_url = resolver.ResolveMojoURL(GURL("mojo:foo?a=b")); 143 GURL mapped_url = resolver.ResolveMojoURL(GURL("mojo:foo?a=b"));
144 EXPECT_EQ("file:///base/foo.mojo?a=b", mapped_url.spec()); 144 EXPECT_EQ("file:///base/foo.mojo?a=b", mapped_url.spec());
145 } 145 }
146 146
147 } // namespace 147 } // namespace
148 } // namespace test 148 } // namespace test
149 } // namespace shell 149 } // namespace shell
150 } // namespace mojo 150 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/runner/url_resolver.cc ('k') | mojo/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698