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

Unified Diff: editor/util/plugins/com.google.dart.java2dart/resources/java_junit.dart

Issue 51043010: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename to getFirstToken(). Created 7 years, 1 month 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: editor/util/plugins/com.google.dart.java2dart/resources/java_junit.dart
diff --git a/editor/util/plugins/com.google.dart.java2dart/resources/java_junit.dart b/editor/util/plugins/com.google.dart.java2dart/resources/java_junit.dart
index 2c13338248a2850f0fd060dcb4b67b87442c82ad..81b4be08ff99d2342c072c81b9de299601521ed5 100644
--- a/editor/util/plugins/com.google.dart.java2dart/resources/java_junit.dart
+++ b/editor/util/plugins/com.google.dart.java2dart/resources/java_junit.dart
@@ -43,6 +43,9 @@ class JUnitTestCase {
static void assertSameMsg(String msg, expected, actual) {
expect(actual, sameMsg(msg, expected));
}
+ static void assertNotSame(expected, actual) {
+ expect(actual, notSame(expected));
+ }
}
runJUnitTest(testInstance, Function testFunction) {

Powered by Google App Engine
This is Rietveld 408576698