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

Unified Diff: compiler/java/com/google/dart/compiler/type/InterfaceTypeImplementation.java

Issue 12328102: Update dartc tests and services_test plugins to run from the buildbot_test plugin. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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: compiler/java/com/google/dart/compiler/type/InterfaceTypeImplementation.java
===================================================================
--- compiler/java/com/google/dart/compiler/type/InterfaceTypeImplementation.java (revision 19029)
+++ compiler/java/com/google/dart/compiler/type/InterfaceTypeImplementation.java (working copy)
@@ -4,6 +4,7 @@
package com.google.dart.compiler.type;
+import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.Lists;
import com.google.common.collect.MapMaker;
import com.google.dart.compiler.resolver.ClassElement;
@@ -22,7 +23,8 @@
/**
* An interface type.
*/
-class InterfaceTypeImplementation extends AbstractType implements InterfaceType {
+@VisibleForTesting
+public class InterfaceTypeImplementation extends AbstractType implements InterfaceType {
private final ClassElement element;
private final List<Type> arguments;
private final Map<ClassElement, Object> subClasses = new MapMaker().weakKeys().makeMap();

Powered by Google App Engine
This is Rietveld 408576698