From 393fbd84f273a05603bee3d802600580ce4c956d Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Sun, 18 Aug 2024 02:30:13 +0200 Subject: [PATCH] Revert "temporarily disable tests to debug codecov upload" This reverts commit fdd94883ad0057fcd183b89bf7aea69ddb5bdac4. --- parse/src/test/java/com/parse/ParseCorePluginsTest.java | 2 -- .../src/test/java/com/parse/ParseCountingUriHttpBodyTest.java | 3 --- parse/src/test/java/com/parse/ParseDecoderTest.java | 3 --- parse/src/test/java/com/parse/ParseFileControllerTest.java | 2 -- parse/src/test/java/com/parse/ParseFileTest.java | 2 -- parse/src/test/java/com/parse/ParseUriHttpBodyTest.java | 3 --- 6 files changed, 15 deletions(-) diff --git a/parse/src/test/java/com/parse/ParseCorePluginsTest.java b/parse/src/test/java/com/parse/ParseCorePluginsTest.java index 27f46b325..9619a7569 100644 --- a/parse/src/test/java/com/parse/ParseCorePluginsTest.java +++ b/parse/src/test/java/com/parse/ParseCorePluginsTest.java @@ -15,7 +15,6 @@ import com.parse.boltsinternal.Task; import java.util.List; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; @@ -32,7 +31,6 @@ public void setUp() throws Exception { } @Test - @Ignore("Temporarily disabled to see if codecov upload works") public void testQueryControllerDefaultImpl() { ParseQueryController controller = ParseCorePlugins.getInstance().getQueryController(); assertThat(controller, instanceOf(CacheQueryController.class)); diff --git a/parse/src/test/java/com/parse/ParseCountingUriHttpBodyTest.java b/parse/src/test/java/com/parse/ParseCountingUriHttpBodyTest.java index 777e89c7e..777851e53 100644 --- a/parse/src/test/java/com/parse/ParseCountingUriHttpBodyTest.java +++ b/parse/src/test/java/com/parse/ParseCountingUriHttpBodyTest.java @@ -20,7 +20,6 @@ import java.util.Arrays; import java.util.concurrent.Semaphore; import java.util.concurrent.TimeUnit; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; @@ -44,7 +43,6 @@ private static Uri makeTestUri(File root) throws IOException { } @Test - @Ignore("Temporarily disabled to see if codecov upload works") public void testWriteTo() throws Exception { final Semaphore didReportIntermediateProgress = new Semaphore(0); final Semaphore finish = new Semaphore(0); @@ -84,7 +82,6 @@ public void done(Integer percentDone) { } @Test(expected = IllegalArgumentException.class) - @Ignore("Temporarily disabled to see if codecov upload works") public void testWriteToWithNullOutput() throws Exception { ParseCountingUriHttpBody body = new ParseCountingUriHttpBody(makeTestUri(temporaryFolder.getRoot()), null); diff --git a/parse/src/test/java/com/parse/ParseDecoderTest.java b/parse/src/test/java/com/parse/ParseDecoderTest.java index 861df207e..a758babc6 100644 --- a/parse/src/test/java/com/parse/ParseDecoderTest.java +++ b/parse/src/test/java/com/parse/ParseDecoderTest.java @@ -22,7 +22,6 @@ import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; @@ -253,7 +252,6 @@ public void testIncludedParseObject() throws JSONException { } @Test - @Ignore("Temporarily disabled to see if codecov upload works") public void testCompleteness() throws JSONException { JSONObject json = new JSONObject(); json.put("__type", "Object"); @@ -273,7 +271,6 @@ public void testCompleteness() throws JSONException { } @Test - @Ignore("Temporarily disabled to see if codecov upload works") public void testCompletenessOfIncludedParseObject() throws JSONException { JSONObject json = new JSONObject(); json.put("__type", "Object"); diff --git a/parse/src/test/java/com/parse/ParseFileControllerTest.java b/parse/src/test/java/com/parse/ParseFileControllerTest.java index 9527d2478..7bc9c8298 100644 --- a/parse/src/test/java/com/parse/ParseFileControllerTest.java +++ b/parse/src/test/java/com/parse/ParseFileControllerTest.java @@ -34,7 +34,6 @@ import org.json.JSONObject; import org.junit.After; import org.junit.Before; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; @@ -200,7 +199,6 @@ public void testSaveAsyncSuccessWithFile() throws Exception { } @Test - @Ignore("Temporarily disabled to see if codecov upload works") public void testSaveAsyncSuccessWithUri() throws Exception { JSONObject json = new JSONObject(); json.put("name", "new_file_name"); diff --git a/parse/src/test/java/com/parse/ParseFileTest.java b/parse/src/test/java/com/parse/ParseFileTest.java index 0edc90034..0a415cfbb 100644 --- a/parse/src/test/java/com/parse/ParseFileTest.java +++ b/parse/src/test/java/com/parse/ParseFileTest.java @@ -30,7 +30,6 @@ import java.util.List; import org.junit.After; import org.junit.Before; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; @@ -256,7 +255,6 @@ public void testSaveAsyncSuccessWithFile() throws Exception { } @Test - @Ignore("Temporarily disabled to see if codecov upload works") public void testSaveAsyncSuccessWithUri() throws Exception { String name = "name"; File file = temporaryFolder.newFile(name); diff --git a/parse/src/test/java/com/parse/ParseUriHttpBodyTest.java b/parse/src/test/java/com/parse/ParseUriHttpBodyTest.java index 7ea5c3fdb..8e472195d 100644 --- a/parse/src/test/java/com/parse/ParseUriHttpBodyTest.java +++ b/parse/src/test/java/com/parse/ParseUriHttpBodyTest.java @@ -15,7 +15,6 @@ import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; @@ -24,7 +23,6 @@ public class ParseUriHttpBodyTest { @Rule public final TemporaryFolder temporaryFolder = new TemporaryFolder(); @Test - @Ignore("Temporarily disabled to see if codecov upload works") public void testInitializeWithUri() throws IOException { byte[] content = {1, 1, 1, 1, 1}; String contentType = "application/json"; @@ -38,7 +36,6 @@ public void testInitializeWithUri() throws IOException { } @Test - @Ignore("Temporarily disabled to see if codecov upload works") public void testWriteTo() throws IOException { String content = "content"; String contentType = "application/json";