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

Side by Side Diff: tools/gn/command_format_unittest.cc

Issue 756413002: gn format: Fix and enable a few more tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-wrap-fix
Patch Set: x64 Created 6 years 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 | « tools/gn/command_format.cc ('k') | tools/gn/format_test_data/025.golden » ('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 "base/files/file_util.h" 5 #include "base/files/file_util.h"
6 #include "base/strings/string_util.h" 6 #include "base/strings/string_util.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "tools/gn/commands.h" 8 #include "tools/gn/commands.h"
9 #include "tools/gn/setup.h" 9 #include "tools/gn/setup.h"
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 FORMAT_TEST(033) 70 FORMAT_TEST(033)
71 // TODO(scottmg): args+rebase_path unnecessarily split: FORMAT_TEST(034) 71 // TODO(scottmg): args+rebase_path unnecessarily split: FORMAT_TEST(034)
72 FORMAT_TEST(035) 72 FORMAT_TEST(035)
73 FORMAT_TEST(036) 73 FORMAT_TEST(036)
74 FORMAT_TEST(037) 74 FORMAT_TEST(037)
75 FORMAT_TEST(038) 75 FORMAT_TEST(038)
76 FORMAT_TEST(039) 76 FORMAT_TEST(039)
77 // TODO(scottmg): Bad break, exceeding 80 col: FORMAT_TEST(040) 77 // TODO(scottmg): Bad break, exceeding 80 col: FORMAT_TEST(040)
78 FORMAT_TEST(041) 78 FORMAT_TEST(041)
79 FORMAT_TEST(042) 79 FORMAT_TEST(042)
80 // TODO(scottmg): Unnecessary line break: FORMAT_TEST(043) 80 FORMAT_TEST(043)
81 // TODO(scottmg): Dewrapped caused exceeding 80 col: FORMAT_TEST(044) 81 // TODO(scottmg): Dewrapped caused exceeding 80 col: FORMAT_TEST(044)
82 FORMAT_TEST(045) 82 FORMAT_TEST(045)
83 FORMAT_TEST(046) 83 FORMAT_TEST(046)
84 FORMAT_TEST(047) 84 FORMAT_TEST(047)
85 // TODO(scottmg): Unnecessary blank line inserted: FORMAT_TEST(048) 85 FORMAT_TEST(048)
86 // TODO(scottmg): Eval is broken (!) and comment output might have extra , 86 // TODO(scottmg): Eval is broken (!) and comment output might have extra ,
87 // FORMAT_TEST(049) 87 // FORMAT_TEST(049)
88 FORMAT_TEST(050) 88 FORMAT_TEST(050)
89 FORMAT_TEST(051) 89 FORMAT_TEST(051)
90 // TODO(scottmg): Ugly separation: FORMAT_TEST(052) 90 FORMAT_TEST(052)
91 FORMAT_TEST(053)
92 FORMAT_TEST(054)
93 FORMAT_TEST(055)
94 FORMAT_TEST(056)
OLDNEW
« no previous file with comments | « tools/gn/command_format.cc ('k') | tools/gn/format_test_data/025.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698