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

Unified Diff: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/TypeSemanticProcessorTest.java

Issue 25373002: Issue 13584. Fix for Java/Dart local variable scoping mismatch. (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
Index: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/TypeSemanticProcessorTest.java
diff --git a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/TypeSemanticProcessorTest.java b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/TypeSemanticProcessorTest.java
index 77bafe778ebd7ef578262453af640312e4747092..2ee18ffcc4858c06bc3dd53d52dc01b178e388ce 100644
--- a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/TypeSemanticProcessorTest.java
+++ b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/TypeSemanticProcessorTest.java
@@ -17,7 +17,7 @@ package com.google.dart.java2dart.processor;
* Test for {@link TypeSemanticProcessor}.
*/
public class TypeSemanticProcessorTest extends SemanticProcessorTest {
- public void test_enumAssign() throws Exception {
+ public void test_forceTypeCast_enum() throws Exception {
setFileLines("test/MyIntf.java", "package test; public class MyIntf {}");
setFileLines("test/A.java", "package test; public class A implements Enum<A>, MyIntf {}");
setFileLines("test/B.java", "package test; public class B implements Enum<B>, MyIntf {}");

Powered by Google App Engine
This is Rietveld 408576698