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
This commit is contained in:
Pascal Hartig
2018-06-12 03:41:25 -07:00
committed by Facebook Github Bot
parent f7d487dd76
commit 8e5647725a

View File

@@ -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