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

Side by Side Diff: mojo/shell/capability_filter_unittest.cc

Issue 1706833003: Move various Shell tests into a subdir. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@conn
Patch Set: . 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 unified diff | Download patch
« no previous file with comments | « mojo/shell/capability_filter_test.cc ('k') | mojo/shell/capability_filter_unittest.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/macros.h"
6 #include "mojo/shell/capability_filter_test.h"
7 #include "testing/gtest/include/gtest/gtest.h"
8
9 namespace mojo {
10 namespace shell {
11 namespace test {
12
13 class CapabilityFilterApplicationTest : public CapabilityFilterTest {
14 public:
15 CapabilityFilterApplicationTest() {}
16 ~CapabilityFilterApplicationTest() override {}
17
18 private:
19 DISALLOW_COPY_AND_ASSIGN(CapabilityFilterApplicationTest);
20 };
21
22 TEST_F(CapabilityFilterApplicationTest, Blocking) {
23 CreateLoader<TestApplication>("test:trusted");
24 CreateLoader<TestApplication>("test:untrusted");
25 RunBlockingTest();
26 }
27
28 TEST_F(CapabilityFilterApplicationTest, Wildcards) {
29 CreateLoader<TestApplication>("test:wildcard");
30 CreateLoader<TestApplication>("test:blocked");
31 CreateLoader<TestApplication>("test:wildcard2");
32 CreateLoader<TestApplication>("test:wildcard3");
33 RunWildcardTest();
34 }
35
36 } // namespace test
37 } // namespace shell
38 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/capability_filter_test.cc ('k') | mojo/shell/capability_filter_unittest.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698