Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit eb7c982

Browse files
author
Clément Le Provost
committed
[test] Remove PowerMockTestCase
It is causing weird errors similar to [this one](robolectric/robolectric#2208): ``` Cannot convert type org.apache.tools.ant.Project to type org.apache.tools.ant.Project ``` And it doesn’t seem to serve a real purpose—at least not any longer.
1 parent 74dc09f commit eb7c982

File tree

4 files changed

+3
-39
lines changed

4 files changed

+3
-39
lines changed

algoliasearch/src/test/java/com/algolia/search/saas/BrowseIteratorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
import static junit.framework.Assert.fail;
4040

41-
public class BrowseIteratorTest extends PowerMockTestCase {
41+
public class BrowseIteratorTest extends RobolectricTestCase {
4242
Client client;
4343
Index index;
4444
String indexName;

algoliasearch/src/test/java/com/algolia/search/saas/ClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*/
4040

4141
@SuppressLint("DefaultLocale") //We use format for logging errors, locale issues are irrelevant
42-
public class ClientTest extends PowerMockTestCase {
42+
public class ClientTest extends RobolectricTestCase {
4343
Client client;
4444

4545
@Override

algoliasearch/src/test/java/com/algolia/search/saas/IndexTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
*/
6363

6464
@SuppressLint("DefaultLocale") //We use format for logging errors, locale issues are irrelevant
65-
public class IndexTest extends PowerMockTestCase {
65+
public class IndexTest extends RobolectricTestCase {
6666
Client client;
6767
Index index;
6868
String indexName;

algoliasearch/src/test/java/com/algolia/search/saas/PowerMockTestCase.java

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)