Index: test/unittests/test-utils.h |
diff --git a/test/unittests/test-utils.h b/test/unittests/test-utils.h |
index 984d63ce2a14870ce579a0825ed44ef1349c89e6..d75c504ff96f5d6edadab9b37263715c6e33ca7e 100644 |
--- a/test/unittests/test-utils.h |
+++ b/test/unittests/test-utils.h |
@@ -95,7 +95,6 @@ class TestWithIsolate : public virtual ::v8::TestWithIsolate { |
DISALLOW_COPY_AND_ASSIGN(TestWithIsolate); |
}; |
- |
class TestWithZone : public virtual ::testing::Test { |
public: |
TestWithZone() : zone_(&allocator_) {} |
@@ -110,7 +109,6 @@ class TestWithZone : public virtual ::testing::Test { |
DISALLOW_COPY_AND_ASSIGN(TestWithZone); |
}; |
- |
class TestWithIsolateAndZone : public virtual TestWithIsolate { |
public: |
TestWithIsolateAndZone() : zone_(&allocator_) {} |
@@ -125,6 +123,18 @@ class TestWithIsolateAndZone : public virtual TestWithIsolate { |
DISALLOW_COPY_AND_ASSIGN(TestWithIsolateAndZone); |
}; |
+class TestWithNativeContext : public virtual ::v8::TestWithContext, |
+ public virtual TestWithIsolate { |
+ public: |
+ TestWithNativeContext() {} |
+ virtual ~TestWithNativeContext(); |
+ |
+ Handle<Context> native_context() const; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(TestWithNativeContext); |
+}; |
+ |
} // namespace internal |
} // namespace v8 |