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

Unified Diff: vm/unit_test.h

Issue 10280003: Set up a variable so that the compiler script can be imported using an import map. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 8 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 | « vm/benchmark_test.cc ('k') | vm/unit_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/unit_test.h
===================================================================
--- vm/unit_test.h (revision 7204)
+++ vm/unit_test.h (working copy)
@@ -165,7 +165,12 @@
TestCase(RunEntry* run, const char* name) : TestCaseBase(name), run_(run) { }
static Dart_Handle LoadTestScript(const char* script,
- Dart_NativeEntryResolver resolver);
+ Dart_NativeEntryResolver resolver) {
+ return LoadTestScript(script, resolver, Dart_NewList(0));
+ }
+ static Dart_Handle LoadTestScript(const char* script,
+ Dart_NativeEntryResolver resolver,
+ Dart_Handle import_map);
static Dart_Handle lib();
static const char* url() { return "dart:test-lib"; }
static Dart_Isolate CreateTestIsolateFromSnapshot(uint8_t* buffer) {
« no previous file with comments | « vm/benchmark_test.cc ('k') | vm/unit_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698