|
@@ -77,6 +77,11 @@ public class UploadIT extends AbstractOnServerIT {
|
|
|
public Connectivity getConnectivity() {
|
|
|
return Connectivity.CONNECTED_WIFI;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void clearCachedResult() {
|
|
|
+
|
|
|
+ }
|
|
|
};
|
|
|
|
|
|
private PowerManagementService powerManagementServiceMock = new PowerManagementService() {
|
|
@@ -300,6 +305,11 @@ public class UploadIT extends AbstractOnServerIT {
|
|
|
public Connectivity getConnectivity() {
|
|
|
return new Connectivity(true, false, false, true);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void clearCachedResult() {
|
|
|
+
|
|
|
+ }
|
|
|
};
|
|
|
OCUpload ocUpload = new OCUpload(FileStorageUtils.getTemporalPath(account.name) + "/empty.txt",
|
|
|
FOLDER + "noWifi.txt", account.name);
|
|
@@ -389,6 +399,11 @@ public class UploadIT extends AbstractOnServerIT {
|
|
|
public Connectivity getConnectivity() {
|
|
|
return new Connectivity(true, true, true, true);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void clearCachedResult() {
|
|
|
+
|
|
|
+ }
|
|
|
};
|
|
|
OCUpload ocUpload = new OCUpload(FileStorageUtils.getTemporalPath(account.name) + "/empty.txt",
|
|
|
FOLDER + "noWifi.txt",
|