diff --git a/pom.xml b/pom.xml index 1e3af00..734c09b 100644 --- a/pom.xml +++ b/pom.xml @@ -37,7 +37,7 @@ UTF-8 1.6 1.7.12 - 2.7.1 + 3.0.1 4.1.1.4 16 4.10 diff --git a/src/test/java/com/arcao/slf4j/timber/TimberLoggerAdapterTest.java b/src/test/java/com/arcao/slf4j/timber/TimberLoggerAdapterTest.java index 7b86c98..9f1afeb 100644 --- a/src/test/java/com/arcao/slf4j/timber/TimberLoggerAdapterTest.java +++ b/src/test/java/com/arcao/slf4j/timber/TimberLoggerAdapterTest.java @@ -16,7 +16,6 @@ import org.slf4j.LoggerFactory; import timber.log.Timber; -import timber.log.TimberTestHelper; import android.util.Log; @RunWith(RobolectricTestRunner.class) @@ -25,7 +24,7 @@ public class TimberLoggerAdapterTest { private static final Logger logger = LoggerFactory.getLogger(TimberLoggerAdapterTest.class); @Before @After public void setUpAndTearDown() { - TimberTestHelper.cleanTimber(); + Timber.uprootAll(); } @Test public void debugTest() { diff --git a/src/test/java/timber/log/TimberTestHelper.java b/src/test/java/timber/log/TimberTestHelper.java deleted file mode 100644 index 187573d..0000000 --- a/src/test/java/timber/log/TimberTestHelper.java +++ /dev/null @@ -1,8 +0,0 @@ -package timber.log; - -public final class TimberTestHelper { - public static void cleanTimber() { - Timber.FOREST.clear(); - Timber.TAGGED_TREES.clear(); - } -}