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

Side by Side Diff: mojo/public/cpp/bindings/tests/validation_util.cc

Issue 2244503002: mojo/public: Include gtest.h as "gtest/gtest.h", instead of via "absolute" path. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/public/cpp/bindings/tests/validation_util.h" 5 #include "mojo/public/cpp/bindings/tests/validation_util.h"
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 8
9 #include "gtest/gtest.h"
9 #include "mojo/public/cpp/bindings/tests/validation_test_input_parser.h" 10 #include "mojo/public/cpp/bindings/tests/validation_test_input_parser.h"
10 #include "mojo/public/cpp/test_support/test_support.h" 11 #include "mojo/public/cpp/test_support/test_support.h"
11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace test { 14 namespace test {
15 namespace validation_util { 15 namespace validation_util {
16 16
17 std::string GetValidationDataPath(const std::string& root, 17 std::string GetValidationDataPath(const std::string& root,
18 const std::string& suffix) { 18 const std::string& suffix) {
19 return "mojo/public/interfaces/bindings/tests/data/validation/" + root + 19 return "mojo/public/interfaces/bindings/tests/data/validation/" + root +
20 suffix; 20 suffix;
21 } 21 }
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 names[i].substr(0, prefix.size()) == prefix && 98 names[i].substr(0, prefix.size()) == prefix &&
99 names[i].substr(names[i].size() - suffix.size()) == suffix) 99 names[i].substr(names[i].size() - suffix.size()) == suffix)
100 tests.push_back(names[i].substr(0, names[i].size() - suffix.size())); 100 tests.push_back(names[i].substr(0, names[i].size() - suffix.size()));
101 } 101 }
102 return tests; 102 return tests;
103 } 103 }
104 104
105 } // namespace validation_util 105 } // namespace validation_util
106 } // namespace test 106 } // namespace test
107 } // namespace mojo 107 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/validation_unittest.cc ('k') | mojo/public/cpp/environment/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698