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

Unified Diff: runtime/vm/exceptions_test.cc

Issue 11318018: - Represent strings internally in UTF-16 format, this makes it (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
Index: runtime/vm/exceptions_test.cc
===================================================================
--- runtime/vm/exceptions_test.cc (revision 14314)
+++ runtime/vm/exceptions_test.cc (working copy)
@@ -30,9 +30,9 @@
void FUNCTION_NAME(Unhandled_invoke)(Dart_NativeArguments args) {
// Invoke the specified entry point.
- Dart_Handle cls = Dart_GetClass(TestCase::lib(), Dart_NewString("Second"));
+ Dart_Handle cls = Dart_GetClass(TestCase::lib(), NewString("Second"));
Dart_Handle result = Dart_Invoke(cls,
- Dart_NewString("method2"),
+ NewString("method2"),
0,
NULL);
ASSERT(Dart_IsError(result));
@@ -43,9 +43,9 @@
void FUNCTION_NAME(Unhandled_invoke2)(Dart_NativeArguments args) {
// Invoke the specified entry point.
- Dart_Handle cls = Dart_GetClass(TestCase::lib(), Dart_NewString("Second"));
+ Dart_Handle cls = Dart_GetClass(TestCase::lib(), NewString("Second"));
Dart_Handle result = Dart_Invoke(cls,
- Dart_NewString("method2"),
+ NewString("method2"),
0,
NULL);
ASSERT(Dart_IsError(result));
@@ -127,7 +127,7 @@
Dart_Handle lib = TestCase::LoadTestScript(
kScriptChars,
reinterpret_cast<Dart_NativeEntryResolver>(native_lookup));
- EXPECT_VALID(Dart_Invoke(lib, Dart_NewString("testMain"), 0, NULL));
+ EXPECT_VALID(Dart_Invoke(lib, NewString("testMain"), 0, NULL));
}
#endif // defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64).

Powered by Google App Engine
This is Rietveld 408576698