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

Side by Side Diff: test/cctest/test-inobject-slack-tracking.cc

Issue 1502193002: Remove deprecate API usage from more cctests (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years 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 | « test/cctest/test-decls.cc ('k') | test/cctest/test-strings.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 // TODO(jochen): Remove this after the setting is turned on globally.
6 #define V8_IMMINENT_DEPRECATION_WARNINGS
7
5 #include <stdlib.h> 8 #include <stdlib.h>
6 #include <sstream> 9 #include <sstream>
7 #include <utility> 10 #include <utility>
8 11
9 #include "src/api.h" 12 #include "src/api.h"
10 #include "src/objects.h" 13 #include "src/objects.h"
11 #include "src/v8.h" 14 #include "src/v8.h"
12 15
13 #include "test/cctest/cctest.h" 16 #include "test/cctest/cctest.h"
14 17
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 TestSubclassBuiltin("A1", JS_PROMISE_TYPE, "Promise", 1092 TestSubclassBuiltin("A1", JS_PROMISE_TYPE, "Promise",
1090 "function(resolve, reject) { resolve('ok'); }", 1093 "function(resolve, reject) { resolve('ok'); }",
1091 first_field); 1094 first_field);
1092 } 1095 }
1093 1096
1094 1097
1095 TEST(SubclassPromiseBuiltinNoInlineNew) { 1098 TEST(SubclassPromiseBuiltinNoInlineNew) {
1096 FLAG_inline_new = false; 1099 FLAG_inline_new = false;
1097 TestSubclassPromiseBuiltin(); 1100 TestSubclassPromiseBuiltin();
1098 } 1101 }
OLDNEW
« no previous file with comments | « test/cctest/test-decls.cc ('k') | test/cctest/test-strings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698