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

Side by Side Diff: components/browser_watcher/stability_debugging_win_unittest.cc

Issue 2856923002: Rejig stability intstrumentation filenames and targets (Closed)
Patch Set: Missing include Created 3 years, 7 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 "components/browser_watcher/stability_debugging.h" 5 #include "components/browser_watcher/stability_debugging.h"
6 6
7 #include "base/files/file_enumerator.h" 7 #include "base/files/file_enumerator.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/process/process.h" 11 #include "base/process/process.h"
12 #include "base/test/multiprocess_test.h" 12 #include "base/test/multiprocess_test.h"
13 #include "components/browser_watcher/stability_paths.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 #include "testing/multiprocess_func_list.h" 15 #include "testing/multiprocess_func_list.h"
15 16
16 namespace browser_watcher { 17 namespace browser_watcher {
17 18
18 class StabilityDebuggingWinMultiProcTest : public base::MultiProcessTest {}; 19 class StabilityDebuggingWinMultiProcTest : public base::MultiProcessTest {};
19 20
20 MULTIPROCESS_TEST_MAIN(DummyProcess) { 21 MULTIPROCESS_TEST_MAIN(DummyProcess) {
21 return 0; 22 return 0;
22 } 23 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 78
78 // Validate only the stability file matches. 79 // Validate only the stability file matches.
79 base::FileEnumerator enumerator(stability_dir, false /* recursive */, 80 base::FileEnumerator enumerator(stability_dir, false /* recursive */,
80 base::FileEnumerator::FILES, 81 base::FileEnumerator::FILES,
81 GetStabilityFilePattern()); 82 GetStabilityFilePattern());
82 ASSERT_EQ(stability_file, enumerator.Next()); 83 ASSERT_EQ(stability_file, enumerator.Next());
83 ASSERT_TRUE(enumerator.Next().empty()); 84 ASSERT_TRUE(enumerator.Next().empty());
84 } 85 }
85 86
86 } // namespace browser_watcher 87 } // namespace browser_watcher
OLDNEW
« no previous file with comments | « components/browser_watcher/stability_debugging.cc ('k') | components/browser_watcher/stability_paths.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698