Change JUnit38ClassRunner#getTest to protected.
Change-Id: Ib8d19a38c9b3af96fe64972325a82f60b0f31e65
diff --git a/src/org/junit/internal/runners/JUnit38ClassRunner.java b/src/org/junit/internal/runners/JUnit38ClassRunner.java
index 0028d0c..783b512 100644
--- a/src/org/junit/internal/runners/JUnit38ClassRunner.java
+++ b/src/org/junit/internal/runners/JUnit38ClassRunner.java
@@ -66,7 +66,7 @@
}
private Test fTest;
-
+
public JUnit38ClassRunner(Class<?> klass) {
this(new TestSuite(klass.asSubclass(TestCase.class)));
}
@@ -86,7 +86,7 @@
public TestListener createAdaptingListener(final RunNotifier notifier) {
return new OldTestClassAdaptingListener(notifier);
}
-
+
@Override
public Description getDescription() {
return makeDescription(getTest());
@@ -152,7 +152,8 @@
fTest = test;
}
- private Test getTest() {
+ // android-changed changed visibility to protected
+ protected Test getTest() {
return fTest;
}
}