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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/search/SearchMatchTest.java

Issue 23498016: Update only unique references during rename refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | « editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/search/SearchMatch.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/search/SearchMatchTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/search/SearchMatchTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/search/SearchMatchTest.java
index f9932601b741496f5163cedff7c2989f94df4c3b..46e3884af7d9efa052961edbac1c7865eaf0c87b 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/search/SearchMatchTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/search/SearchMatchTest.java
@@ -72,6 +72,17 @@ public class SearchMatchTest extends EngineTestCase {
}
}
+ public void test_hashCode() throws Exception {
+ Element element = mock(Element.class);
+ SearchMatch match = new SearchMatch(
+ MatchQuality.EXACT,
+ MatchKind.TYPE_REFERENCE,
+ element,
+ new SourceRange(10, 5));
+ // no check
+ match.hashCode();
+ }
+
public void test_new() throws Exception {
SearchMatch match = new SearchMatch(
MatchQuality.EXACT,
« no previous file with comments | « editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/search/SearchMatch.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698