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

Unified Diff: tests/language/vm/type_cast_vm_test.dart

Issue 868453002: Rename is_visible to is_reflectable; use is_debuggable instead of is_reflectable (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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/parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/vm/type_cast_vm_test.dart
diff --git a/tests/language/vm/type_cast_vm_test.dart b/tests/language/vm/type_cast_vm_test.dart
index 9285eb01e76bb28426960539e8194ae91dcd3b02..1282d52ebbc8ffd835ce62f32bc3abadb5724c9f 100644
--- a/tests/language/vm/type_cast_vm_test.dart
+++ b/tests/language/vm/type_cast_vm_test.dart
@@ -5,8 +5,8 @@
// Dart test program testing type casts.
import "package:expect/expect.dart";
-checkTopFunction(String expected, StackTrace stacktrace) {
- var topLine = stacktrace.toString().split("\n")[0];
+checkSecondFunction(String expected, StackTrace stacktrace) {
+ var topLine = stacktrace.toString().split("\n")[1];
int startPos = topLine.lastIndexOf("/");
int endPos = topLine.lastIndexOf(")");
String subs = topLine.substring(startPos + 1, endPos);
@@ -28,7 +28,7 @@ class TypeTest {
var msg = error.toString();
Expect.isTrue(msg.contains("int")); // dstType
Expect.isTrue(msg.contains("String")); // srcType
- checkTopFunction("type_cast_vm_test.dart:24:23", error.stackTrace);
+ checkSecondFunction("type_cast_vm_test.dart:24:23", error.stackTrace);
}
return result;
}
@@ -63,7 +63,7 @@ class TypeTest {
var msg = error.toString();
Expect.isTrue(msg.contains("int")); // dstType
Expect.isTrue(msg.contains("String")); // srcType
- checkTopFunction("type_cast_vm_test.dart:59:25", error.stackTrace);
+ checkSecondFunction("type_cast_vm_test.dart:59:25", error.stackTrace);
}
return result;
}
@@ -81,7 +81,7 @@ class TypeTest {
var msg = error.toString();
Expect.isTrue(msg.contains("int")); // dstType
Expect.isTrue(msg.contains("String")); // srcType
- checkTopFunction("type_cast_vm_test.dart:74:16", error.stackTrace);
+ checkSecondFunction("type_cast_vm_test.dart:74:16", error.stackTrace);
}
return result;
}
@@ -98,7 +98,7 @@ class TypeTest {
var msg = error.toString();
Expect.isTrue(msg.contains("int")); // dstType
Expect.isTrue(msg.contains("String")); // srcType
- checkTopFunction("type_cast_vm_test.dart:95:13", error.stackTrace);
+ checkSecondFunction("type_cast_vm_test.dart:95:13", error.stackTrace);
}
return result;
}
@@ -116,7 +116,7 @@ class TypeTest {
var msg = error.toString();
Expect.isTrue(msg.contains("int")); // dstType
Expect.isTrue(msg.contains("() => dynamic")); // srcType
- checkTopFunction("type_cast_vm_test.dart:113:17", error.stackTrace);
+ checkSecondFunction("type_cast_vm_test.dart:113:17", error.stackTrace);
}
return result;
}
« no previous file with comments | « runtime/vm/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698