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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: samples/sample_extension/test/sample_extension_app_snapshot_test.dart
diff --git a/pkg/dev_compiler/test/codegen/language/generic_self_reference_test.dart b/samples/sample_extension/test/sample_extension_app_snapshot_test.dart
similarity index 63%
copy from pkg/dev_compiler/test/codegen/language/generic_self_reference_test.dart
copy to samples/sample_extension/test/sample_extension_app_snapshot_test.dart
index 5f1e2ba13c23782033e73de9c4712b51e510672e..04193c98ce04947ceb6083deafb7e6d6468a98b4 100644
--- a/pkg/dev_compiler/test/codegen/language/generic_self_reference_test.dart
+++ b/samples/sample_extension/test/sample_extension_app_snapshot_test.dart
@@ -1,15 +1,11 @@
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+//
+// Dart test program for testing native extensions.
-import "package:expect/expect.dart";
-
-class Bar<T> {
-}
-
-class Foo<T> extends Bar<Foo<T>> {
-}
+import 'sample_extension_test_helper.dart';
void main() {
- print(new Foo<int>());
+ testNativeExtensions("app-jit");
}
« 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