65a45d7408
Fixed various test cases. Also removed slow/unreliable tests.
2014-12-01 07:36:58 +02:00
df48d75127
Use syncthing -generate flag instead of copying own config file.
2014-10-26 03:32:23 +03:00
84355c2dcf
Fixed crash when values is read from RestApi before fully initialized ( fixes #159 ).
2014-10-26 02:47:37 +03:00
12f7b3dbe2
Fixed crash when receiving file move or create event ( fixes #144 ).
2014-10-09 00:17:07 +03:00
e7fb1c08ec
Rename Repository -> Folder, Node -> Device.
2014-10-08 21:35:27 +03:00
f383393ce4
Added functionality to manually stop sync ( fixes #131 ).
...
This functionality can not be used together with wifi/charging settings.
By default, this is set so that syncthing is only active when requested,
and can be stopped by the user.
2014-10-01 13:01:47 +03:00
377615a1aa
Test fixes, removed RestAPI tests that require activity.
...
These tests could not be executed reliably, not even using activity tests.
2014-09-29 00:43:59 +03:00
bd281abade
Revert commits that set API key via parameter instead of config.
...
This reverts commits 84afda30a0
and
d81af707ec
.
2014-09-28 20:39:18 +03:00
924be98aaa
Added inotifiy support.
2014-09-25 02:30:47 +03:00
913d251353
Removed rescan interval from app settings.
2014-09-25 02:30:47 +03:00
ffefe46eed
Various test enhancements:
...
- added SyncthingServiceTest
- removed permanent notification from SyncthingService (didn't work with unit test)
- renamed TestContext to MockContext
- added MockRestApi
2014-09-25 02:29:19 +03:00
30bf0d7bc5
Made MockSyncthingService a complete stub of SyncthingService.
...
Now all methods are overriden, and throw UnsupportedOperationException
unless used by a test.
2014-09-25 02:29:19 +03:00
d81af707ec
Pass API key via command line instead of setting it in config.xml.
2014-09-25 02:29:19 +03:00
1653d409ec
Fixed dialogs not shown in MainActivity, added MainActivityTest.
2014-09-25 02:28:58 +03:00
b5f38c5c19
Lots of new unit tests, refactoring.
...
New tests:
RestApiTest
NodesAdapterTest
ReposAdapterTest
Refactored:
extracted PollWebGuiAvailableTask from SyncthingService
some changes in return values/calling behaviour for easier/better testing
2014-09-25 02:28:58 +03:00
7b3d1b4052
Added various unit tests.
2014-09-25 02:28:58 +03:00
2e83305b93
Added unit tests for BroadcastReceivers.
2014-09-25 02:28:58 +03:00