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

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

Issue 22285004: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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: 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 8d43a5325a36c2c23773924a45cf7858c6ebf816..079f6f2ede6dab238b8fc25fad3de9b8ef803f75 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
@@ -75,10 +75,6 @@ class _EqualsWithMessage extends BaseMatcher {
Description describe(Description mismatchDescription) {
return mismatchDescription.replace(msg);
}
- Description describeMismatch(item, Description mismatchDescription,
- Map matchState, bool verbose) {
- return mismatchDescription.replace(msg).add(" $item != $expectedValue");
- }
}
Matcher isTrueMsg(String msg) => new _IsTrueWithMessage(msg);
@@ -91,10 +87,6 @@ class _IsTrueWithMessage extends BaseMatcher {
Description describe(Description mismatchDescription) {
return mismatchDescription.replace(msg);
}
- Description describeMismatch(item, Description mismatchDescription,
- Map matchState, bool verbose) {
- return mismatchDescription.replace(msg).add(" $item is not true");
- }
}
Matcher isFalseMsg(String msg) => new _IsFalseWithMessage(msg);
@@ -107,10 +99,6 @@ class _IsFalseWithMessage extends BaseMatcher {
Description describe(Description mismatchDescription) {
return mismatchDescription.replace(msg);
}
- Description describeMismatch(item, Description mismatchDescription,
- Map matchState, bool verbose) {
- return mismatchDescription.replace(msg).add(" $item is not false");
- }
}
Matcher isNotNullMsg(String msg) => new _IsNotNullWithMessage(msg);
@@ -123,8 +111,4 @@ class _IsNotNullWithMessage extends BaseMatcher {
Description describe(Description mismatchDescription) {
return mismatchDescription.replace(msg);
}
- Description describeMismatch(item, Description mismatchDescription,
- Map matchState, bool verbose) {
- return mismatchDescription.replace(msg).add(" $item is null");
- }
}

Powered by Google App Engine
This is Rietveld 408576698