Chromium Code Reviews

Side by Side Diff: test/unittests/test-zone.cc

Issue 439863004: Initial import of unittests using GTest/GMock. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix invalid EXPECT_EQ Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "test/unittests/test-zone.h"
6
7 #include "testing/gmock/include/gmock/gmock.h"
8
9 namespace v8 {
10 namespace internal {
11
12 TEST_F(ZoneTest, AllocationSizeIsEmptyOnStart) {
13 EXPECT_EQ(0u, zone()->allocation_size());
14 }
15
16 } // namespace internal
17 } // namespace v8
OLDNEW

Powered by Google App Engine