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

Side by Side Diff: test/cctest/compiler/test-operator.cc

Issue 1163803002: Cosmetic changes to tests to make it easier to concatenate them. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project 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 <sstream> 5 #include <sstream>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 #include "test/cctest/cctest.h" 10 #include "test/cctest/cctest.h"
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 TEST(Operator_CountsOrder) { 274 TEST(Operator_CountsOrder) {
275 Operator op(29, NONE, "Flashy", 11, 22, 33, 44, 55, 66); 275 Operator op(29, NONE, "Flashy", 11, 22, 33, 44, 55, 66);
276 CHECK_EQ(11, op.ValueInputCount()); 276 CHECK_EQ(11, op.ValueInputCount());
277 CHECK_EQ(22, op.EffectInputCount()); 277 CHECK_EQ(22, op.EffectInputCount());
278 CHECK_EQ(33, op.ControlInputCount()); 278 CHECK_EQ(33, op.ControlInputCount());
279 279
280 CHECK_EQ(44, op.ValueOutputCount()); 280 CHECK_EQ(44, op.ValueOutputCount());
281 CHECK_EQ(55, op.EffectOutputCount()); 281 CHECK_EQ(55, op.EffectOutputCount());
282 CHECK_EQ(66, op.ControlOutputCount()); 282 CHECK_EQ(66, op.ControlOutputCount());
283 } 283 }
284
285 #undef NONE
286 #undef FOLD
ulan 2015/06/01 13:08:24 This should be done in concatenation script.
Erik Corry 2015/06/01 15:15:47 Done
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698