From 8e5647725a0421cb27bd6de875d4f301fcce3039 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Tue, 12 Jun 2018 03:41:25 -0700 Subject: [PATCH] Replace test runner in sample Summary: WithDefaultsTestRunner is FB-specific. Let's replace that with its base class. Reviewed By: danielbuechele Differential Revision: D8355145 fbshipit-source-id: 4d87ad00a82d1e2d5b536289f247910c6139df07 --- docs/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/testing.md b/docs/testing.md index 3817d32b9..cc82f147a 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -11,7 +11,7 @@ Developer tools are only used if they work. We have built APIs to test plugins. Start by creating your first test file in this directory `MySonarPluginTest.java`. In the test method body we create our plugin which we want to test as well as a `SonarConnectionMock`. In this contrived example we simply assert that our plugin's connected status is what we expect. ```java -@RunWith(WithTestDefaultsRunner.class) +@RunWith(RobolectricTestRunner.class) public class MySonarPluginTest { @Test