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

Side by Side Diff: test/unittests/compiler/js-builtin-reducer-unittest.cc

Issue 615393002: Move unit tests to test/unittests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 "src/compiler/graph-unittest.h" 5 #include "test/unittests/compiler/graph-unittest.h"
6
6 #include "src/compiler/js-builtin-reducer.h" 7 #include "src/compiler/js-builtin-reducer.h"
7 #include "src/compiler/js-graph.h" 8 #include "src/compiler/js-graph.h"
8 #include "src/compiler/node-properties-inl.h" 9 #include "src/compiler/node-properties-inl.h"
9 #include "src/compiler/typer.h" 10 #include "src/compiler/typer.h"
10 #include "testing/gmock-support.h" 11 #include "testing/gmock-support.h"
11 12
12 using testing::Capture; 13 using testing::Capture;
13 14
14 namespace v8 { 15 namespace v8 {
15 namespace internal { 16 namespace internal {
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 Reduction r = Reduce(call); 233 Reduction r = Reduce(call);
233 234
234 ASSERT_TRUE(r.Changed()); 235 ASSERT_TRUE(r.Changed());
235 EXPECT_THAT(r.replacement(), IsTruncateFloat64ToFloat32(p0)); 236 EXPECT_THAT(r.replacement(), IsTruncateFloat64ToFloat32(p0));
236 } 237 }
237 } 238 }
238 239
239 } // namespace compiler 240 } // namespace compiler
240 } // namespace internal 241 } // namespace internal
241 } // namespace v8 242 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/compiler/instruction-selector-unittest.cc ('k') | test/unittests/compiler/js-operator-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698