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

Unified Diff: tests/standalone/io/test_extension.dart

Issue 11447010: - Add an extension test which throws from native code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/test_extension.cc ('k') | tests/standalone/io/test_extension_fail_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/test_extension.dart
===================================================================
--- tests/standalone/io/test_extension.dart (revision 15726)
+++ tests/standalone/io/test_extension.dart (working copy)
@@ -15,4 +15,6 @@
// Implements (a != null) ? a : b using a native C++ function and the API.
static int ifNull(a, b) native 'TestExtension_IfNull';
+
+ static int throwMeTheBall(ball) native 'TestExtension_ThrowMeTheBall';
}
« no previous file with comments | « runtime/bin/test_extension.cc ('k') | tests/standalone/io/test_extension_fail_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698