aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Irina Iancu <elenairina@google.com>2016-11-24 14:39:14 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2016-11-24 15:54:37 +0000
commit908b8467750f06742bc296512c84cc52269aea7b (patch)
tree59526030122c89109cb544b4d6e6f9ef6b77d1a0 /src
parenta9639dae2ce81661175fb40b060ae883a8bda6fa (diff)
Removing Dagger dependency from junitrunner.
-- MOS_MIGRATED_REVID=140132183
Diffstat (limited to 'src')
-rw-r--r--src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4InstanceModules.java3
-rw-r--r--src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4RunnerBaseModule.java3
-rw-r--r--src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4RunnerModule.java2
3 files changed, 5 insertions, 3 deletions
diff --git a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4InstanceModules.java b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4InstanceModules.java
index 0898dd2a18..697bb0d80c 100644
--- a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4InstanceModules.java
+++ b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4InstanceModules.java
@@ -19,9 +19,10 @@ import java.util.List;
import javax.inject.Singleton;
/**
- * Dagger modules which hold state or are, for testing purposes, implemented with non-static
+ * Utility classes which hold state or are, for testing purposes, implemented with non-static
* provider methods. These types are collected here so they can be cleanly named in the
* component builder, but still be obvious in module includes and component declarations.
+ * These are Dagger legacy modules.
*/
public final class JUnit4InstanceModules {
diff --git a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4RunnerBaseModule.java b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4RunnerBaseModule.java
index 597a3b1f4a..cca0dd23a6 100644
--- a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4RunnerBaseModule.java
+++ b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4RunnerBaseModule.java
@@ -33,8 +33,9 @@ import org.junit.runner.Request;
import org.junit.runner.notification.RunListener;
/**
- * Dagger module for creating a {@link JUnit4Runner}. This contains the common bindings used when
+ * Utility class for creating a {@link JUnit4Runner}. This contains the common bindings used when
* either the runner runs actual tests or when we do integration tests of the runner itself.
+ * This is a legacy Dagger module.
*/
public abstract class JUnit4RunnerBaseModule {
diff --git a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4RunnerModule.java b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4RunnerModule.java
index fa7a046db7..1bf64431b6 100644
--- a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4RunnerModule.java
+++ b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4RunnerModule.java
@@ -31,7 +31,7 @@ import javax.inject.Singleton;
import org.junit.runner.notification.RunListener;
/**
- * Dagger module for real test runs.
+ * Utility class for real test runs. This is a legacy Dagger module.
*/
public final class JUnit4RunnerModule {
static Ticker ticker() {