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

Side by Side Diff: Source/platform/testing/TestWithGC.h

Issue 407453002: ReadableStream initial implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium 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 #ifndef TestWithGC_h
6 #define TestWithGC_h
7
8 #include "platform/heap/Heap.h"
9 #include <gtest/gtest.h>
10
11 namespace WebCore {
12
13 class TestWithGC : public ::testing::Test {
14 public:
15 virtual ~TestWithGC()
16 {
17 v8::Isolate::GetCurrent()->RequestGarbageCollectionForTesting(v8::Isolat e::kFullGarbageCollection);
18 Heap::collectAllGarbage();
dcheng 2014/07/29 05:30:59 Does every test that might allocate objects on the
yhirano 2014/07/29 06:36:24 I moved these statements to Source/web/tests/RunAl
19 }
20 };
21
22 } // namespace WebCore
23
24 #endif // TestWithGC_h
OLDNEW
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698