Skip to content

Commit

Permalink
temporarily disable tests to debug codecov upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza committed Aug 18, 2024
1 parent 810a068 commit fdd9488
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parse/src/test/java/com/parse/ParseCorePluginsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
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;
Expand All @@ -31,6 +32,7 @@ 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));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
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;
Expand All @@ -43,6 +44,7 @@ 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);
Expand Down Expand Up @@ -82,6 +84,7 @@ 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);
Expand Down
3 changes: 3 additions & 0 deletions parse/src/test/java/com/parse/ParseDecoderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
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;
Expand Down Expand Up @@ -252,6 +253,7 @@ 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");
Expand All @@ -271,6 +273,7 @@ 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");
Expand Down
2 changes: 2 additions & 0 deletions parse/src/test/java/com/parse/ParseFileControllerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
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;
Expand Down Expand Up @@ -199,6 +200,7 @@ 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");
Expand Down
2 changes: 2 additions & 0 deletions parse/src/test/java/com/parse/ParseFileTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
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;
Expand Down Expand Up @@ -255,6 +256,7 @@ 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);
Expand Down
3 changes: 3 additions & 0 deletions parse/src/test/java/com/parse/ParseUriHttpBodyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
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;
Expand All @@ -23,6 +24,7 @@ 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";
Expand All @@ -36,6 +38,7 @@ 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";
Expand Down

0 comments on commit fdd9488

Please sign in to comment.