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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 8401010: Add DART_CHECKVALID (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/isolate_test.cc ('k') | runtime/vm/unit_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot_test.cc
===================================================================
--- runtime/vm/snapshot_test.cc (revision 969)
+++ runtime/vm/snapshot_test.cc (working copy)
@@ -367,7 +367,7 @@
Dart_NewString("testMain"),
0,
NULL);
- EXPECT(Dart_IsValid(result));
+ EXPECT_VALID(result);
EXPECT(!Dart_ExceptionOccurred(result));
Dart_ExitScope(); // Exit the Dart API scope.
@@ -414,7 +414,7 @@
Dart_NewString("testMain"),
0,
NULL);
- EXPECT(Dart_IsValid(result));
+ EXPECT_VALID(result);
EXPECT(!Dart_ExceptionOccurred(result));
Dart_ExitScope(); // Exit the Dart API scope.
@@ -437,7 +437,7 @@
Dart_NewString("testMain"),
0,
NULL);
- EXPECT(Dart_IsValid(result));
+ EXPECT_VALID(result);
if (Dart_ExceptionOccurred(result)) {
// Print the exception object.
fprintf(stderr, "An unhandled exception has been thrown\n");
« no previous file with comments | « runtime/vm/isolate_test.cc ('k') | runtime/vm/unit_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698