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

Side by Side Diff: runtime/vm/dart_api_impl_test.cc

Issue 12016005: Remove support for legacy abstract declarations (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/parser.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "include/dart_api.h" 5 #include "include/dart_api.h"
6 #include "platform/assert.h" 6 #include "platform/assert.h"
7 #include "platform/json.h" 7 #include "platform/json.h"
8 #include "platform/utils.h" 8 #include "platform/utils.h"
9 #include "vm/class_finalizer.h" 9 #include "vm/class_finalizer.h"
10 #include "vm/dart_api_impl.h" 10 #include "vm/dart_api_impl.h"
(...skipping 4279 matching lines...) Expand 10 before | Expand all | Expand 10 after
4290 " get c => 'bar';\n" 4290 " get c => 'bar';\n"
4291 " set d(x) {}\n" 4291 " set d(x) {}\n"
4292 " get _e => 'bar';\n" 4292 " get _e => 'bar';\n"
4293 " set _f(x) {}\n" 4293 " set _f(x) {}\n"
4294 " static g() => 'g';\n" 4294 " static g() => 'g';\n"
4295 " static _h() => '_h';\n" 4295 " static _h() => '_h';\n"
4296 " static get i => 'i';\n" 4296 " static get i => 'i';\n"
4297 " static set j(x) {}\n" 4297 " static set j(x) {}\n"
4298 " static get _k => 'k';\n" 4298 " static get _k => 'k';\n"
4299 " static set _l(x) {}\n" 4299 " static set _l(x) {}\n"
4300 " abstract m();\n" 4300 " m();\n"
4301 " abstract _n();\n" 4301 " _n();\n"
4302 " abstract get o;\n" 4302 " get o;\n"
4303 " abstract set p(x);\n" 4303 " set p(x);\n"
4304 " abstract get _q;\n" 4304 " get _q;\n"
4305 " abstract set _r(x);\n" 4305 " set _r(x);\n"
4306 " s(x, [y, z]) {}\n" 4306 " s(x, [y, z]) {}\n"
4307 " t([x, y, z]) {}\n" 4307 " t([x, y, z]) {}\n"
4308 " operator ==(x) {}\n" 4308 " operator ==(x) {}\n"
4309 "}\n" 4309 "}\n"
4310 "class _PrivateClass {\n" 4310 "class _PrivateClass {\n"
4311 " _PrivateClass() {}\n" 4311 " _PrivateClass() {}\n"
4312 " _PrivateClass.named() {}\n" 4312 " _PrivateClass.named() {}\n"
4313 "}\n"; 4313 "}\n";
4314 4314
4315 Dart_Handle lib = TestCase::LoadTestScript(kScriptChars, NULL); 4315 Dart_Handle lib = TestCase::LoadTestScript(kScriptChars, NULL);
(...skipping 3131 matching lines...) Expand 10 before | Expand all | Expand 10 after
7447 Dart_LoadSource(TestCase::lib(), url, source); 7447 Dart_LoadSource(TestCase::lib(), url, source);
7448 7448
7449 dart_args[0] = Dart_NewInteger(1); 7449 dart_args[0] = Dart_NewInteger(1);
7450 result = Dart_Invoke(lib1, NewString("start"), 1, dart_args); 7450 result = Dart_Invoke(lib1, NewString("start"), 1, dart_args);
7451 EXPECT_VALID(result); 7451 EXPECT_VALID(result);
7452 } 7452 }
7453 7453
7454 #endif // defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64). 7454 #endif // defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64).
7455 7455
7456 } // namespace dart 7456 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698