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