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

Unified Diff: test/unittests/test-isolate.cc

Issue 438243003: Revert "Initial import of unittests using GTest/GMock." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/unittests/test-isolate.h ('k') | test/unittests/test-zone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/test-isolate.cc
diff --git a/test/unittests/test-isolate.cc b/test/unittests/test-isolate.cc
deleted file mode 100644
index 8d93ff72ff6a605bb1711749797a14cbf00efea7..0000000000000000000000000000000000000000
--- a/test/unittests/test-isolate.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "test/unittests/test-isolate.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-using testing::NotNull;
-
-namespace v8 {
-namespace internal {
-
-IsolateTest::IsolateTest() : isolate_(v8::Isolate::New()) {
- EXPECT_THAT(isolate_, NotNull());
- isolate_->Enter();
-}
-
-
-IsolateTest::~IsolateTest() {
- EXPECT_THAT(isolate_, NotNull());
- isolate_->Exit();
- isolate_->Dispose();
- isolate_ = NULL;
-}
-
-
-v8::Isolate* IsolateTest::isolate() const {
- EXPECT_THAT(isolate_, NotNull());
- return isolate_;
-}
-
-
-TEST_F(IsolateTest, GetCurrent) {
- EXPECT_THAT(v8::Isolate::GetCurrent(), NotNull());
- EXPECT_EQ(v8::Isolate::GetCurrent(), isolate());
-}
-
-} // namespace internal
-} // namespace v8
« no previous file with comments | « test/unittests/test-isolate.h ('k') | test/unittests/test-zone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698