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

Unified Diff: testing/android/junit/javatests/src/org/chromium/testing/local/RunnerFilterTest.java

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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: testing/android/junit/javatests/src/org/chromium/testing/local/RunnerFilterTest.java
diff --git a/testing/android/junit/javatests/src/org/chromium/testing/local/RunnerFilterTest.java b/testing/android/junit/javatests/src/org/chromium/testing/local/RunnerFilterTest.java
index 9a73be785e3321cc530a03113a92de4e13b7f91a..9f54bfa6854040fd335057a2b984b1a02fbf19a6 100644
--- a/testing/android/junit/javatests/src/org/chromium/testing/local/RunnerFilterTest.java
+++ b/testing/android/junit/javatests/src/org/chromium/testing/local/RunnerFilterTest.java
@@ -18,6 +18,8 @@ import org.junit.runners.Suite;
@RunWith(BlockJUnit4ClassRunner.class)
public class RunnerFilterTest {
+ private class FakeTestClass {}
+
@Test
public void testDescription() {
Filter filterUnderTest = new RunnerFilter(BlockJUnit4ClassRunner.class);
@@ -50,7 +52,7 @@ public class RunnerFilterTest {
public void testClassNotFound() {
Filter filterUnderTest = new RunnerFilter(BlockJUnit4ClassRunner.class);
Assert.assertFalse(filterUnderTest.shouldRun(
- Description.createTestDescription("FakeTestClass", "fakeTestMethod")));
+ Description.createTestDescription(FakeTestClass.class, "fakeTestMethod")));
}
}

Powered by Google App Engine
This is Rietveld 408576698