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

Side by Side Diff: samples/sample_extension/test/sample_extension_app_snapshot_test.dart

Issue 2475523002: Reload native extensions when starting from a snapshot. (Closed)
Patch Set: comment Created 4 years, 1 month 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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 //
5 // Dart test program for testing native extensions.
4 6
5 import "package:expect/expect.dart"; 7 import 'sample_extension_test_helper.dart';
6
7 class Bar<T> {
8 }
9
10 class Foo<T> extends Bar<Foo<T>> {
11 }
12 8
13 void main() { 9 void main() {
14 print(new Foo<int>()); 10 testNativeExtensions("app-jit");
15 } 11 }
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | samples/sample_extension/test/sample_extension_script_snapshot_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698