mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-27 05:11:30 +00:00
Clarify todo comments
This commit is contained in:
parent
2ed6dac071
commit
9e232254ab
3 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue