1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 14:21:16 +00:00

Clarify todo comments

This commit is contained in:
Lode Hoste 2015-05-23 12:46:21 +02:00
parent 2ed6dac071
commit 9e232254ab
3 changed files with 4 additions and 4 deletions

View file

@ -43,6 +43,6 @@ public class PollWebGuiAvailableTaskTest extends AndroidTestCase {
}.execute(mConfig.getWebGuiUrl());
latch.await(1, TimeUnit.SECONDS);
// TODO? SyncthingRunnable.killSyncthing();
// TODO: Unit tests fail when Syncthing is killed SyncthingRunnable.killSyncthing();
}
}

View file

@ -39,7 +39,7 @@ public class RestApiTest extends AndroidTestCase {
}
}.execute(config.getWebGuiUrl());
mApi = new RestApi(getContext(), config.getWebGuiUrl(), config.getApiKey(),
null, null, // TODO
null, null,
new RestApi.OnApiAvailableListener() {
@Override
public void onApiAvailable() {
@ -52,7 +52,7 @@ public class RestApiTest extends AndroidTestCase {
@Override
protected void tearDown() throws Exception {
super.tearDown();
// TODO? SyncthingRunnable.killSyncthing();
// TODO: Unit tests fail when Syncthing is killed SyncthingRunnable.killSyncthing();
ConfigXml.getConfigFile(new MockContext(getContext())).delete();
}

View file

@ -356,7 +356,7 @@ public class RestApi implements SyncthingService.OnWebGuiAvailableListener,
new PostTask(mHttpsCertPath)
.execute(mUrl, PostTask.URI_CONFIG, mApiKey, mConfig.toString());
}
// TODO Should wait for completion...
// TODO Should wait until PostTask is completed, see #398
if (mRestartPostponed)
return;