mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-30 00:01:19 +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());
|
}.execute(mConfig.getWebGuiUrl());
|
||||||
latch.await(1, TimeUnit.SECONDS);
|
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());
|
}.execute(config.getWebGuiUrl());
|
||||||
mApi = new RestApi(getContext(), config.getWebGuiUrl(), config.getApiKey(),
|
mApi = new RestApi(getContext(), config.getWebGuiUrl(), config.getApiKey(),
|
||||||
null, null, // TODO
|
null, null,
|
||||||
new RestApi.OnApiAvailableListener() {
|
new RestApi.OnApiAvailableListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onApiAvailable() {
|
public void onApiAvailable() {
|
||||||
|
@ -52,7 +52,7 @@ public class RestApiTest extends AndroidTestCase {
|
||||||
@Override
|
@Override
|
||||||
protected void tearDown() throws Exception {
|
protected void tearDown() throws Exception {
|
||||||
super.tearDown();
|
super.tearDown();
|
||||||
// TODO? SyncthingRunnable.killSyncthing();
|
// TODO: Unit tests fail when Syncthing is killed SyncthingRunnable.killSyncthing();
|
||||||
ConfigXml.getConfigFile(new MockContext(getContext())).delete();
|
ConfigXml.getConfigFile(new MockContext(getContext())).delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -356,7 +356,7 @@ public class RestApi implements SyncthingService.OnWebGuiAvailableListener,
|
||||||
new PostTask(mHttpsCertPath)
|
new PostTask(mHttpsCertPath)
|
||||||
.execute(mUrl, PostTask.URI_CONFIG, mApiKey, mConfig.toString());
|
.execute(mUrl, PostTask.URI_CONFIG, mApiKey, mConfig.toString());
|
||||||
}
|
}
|
||||||
// TODO Should wait for completion...
|
// TODO Should wait until PostTask is completed, see #398
|
||||||
|
|
||||||
if (mRestartPostponed)
|
if (mRestartPostponed)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue