1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00
Commit Graph

37 Commits

Author SHA1 Message Date
Falk Werner
6bafbdd43a added unit tests 2020-06-15 16:58:04 +02:00
Falk Werner
4e42c856c7 added unit tests for add_filesystem request 2020-06-15 16:24:36 +02:00
Falk Werner
01a9488f6e add test for connect failure 2020-06-14 20:20:14 +02:00
Falk Werner
8de8ec0003 added test to connect adapter client via TLS 2020-06-14 19:35:50 +02:00
Falk Werner
28f3f4ca47 added test to lookup file 2020-06-14 10:39:33 +02:00
Falk Werner
edcad5dc4c fix: fixed deadlock in tests (wait for client to connect, instead on relying on the server) 2020-06-13 23:47:52 +02:00
Falk Werner
51cb628410 put wf_client into a separate thread for testing 2020-06-13 18:24:45 +02:00
Falk Werner
4713ec3e93 fix: don't send messages if not connected 2020-06-13 17:08:05 +02:00
Falk Werner
55de95caf7 added another server to simplify testing 2020-06-13 14:59:58 +02:00
Falk Werner
5a439f4ef9 removed unused code 2020-06-13 11:36:02 +02:00
Falk Werner
0c702ff25f refactor: make filesystem independent of session 2020-06-12 22:53:42 +02:00
Falk Werner
adaec875d9 added implementation of wf_client_authenticate 2020-06-12 20:38:20 +02:00
Falk Werner
021e056960 added timeout watcher to observe loops 2020-06-12 19:05:10 +02:00
Falk Werner
1753841353 replaced callback by mock object 2020-06-12 19:00:28 +02:00
Falk Werner
cd76427f83 renamed ThreadedWsServer -> WsServer 2020-06-12 16:53:36 +02:00
Falk Werner
4d277701cb removed single threaded test server 2020-06-12 16:48:15 +02:00
Falk Werner
e72e78180e let system choose port of test server 2020-06-12 10:17:17 +02:00
Falk Werner
eb48dbecc5 added implementation of wf_client_connect and wf_client_disconnect 2020-06-11 22:57:56 +02:00
Falk Werner
06a24e09da added wf_client_tlsconfig 2020-06-11 18:07:42 +02:00
Falk Werner
81fd41f46a feature: added wf_credentials_set_type and wf_credentials_add 2020-06-10 22:42:26 +02:00
Falk Werner
b9eff8d100 change: make credentials const in wf_authenticate_fn (breaking change) 2020-06-10 22:18:34 +02:00
Falk Werner
16996e1f9a added first impression of adapter client API 2020-06-09 22:41:38 +02:00
Falk Werner
49469c73e3 renamed operation_context 2020-04-04 23:27:34 +02:00
Falk Werner
745d47bb30 added unit tests for lookup operation (adapter) 2020-04-04 23:16:25 +02:00
Falk Werner
654015c95c added unit tests for getattr operation (adapter) 2020-04-04 22:26:15 +02:00
Falk Werner
c769c02c55 added unit tests for readdir operation (adapter) 2020-04-04 20:23:50 +02:00
Falk Werner
e000500735 added unit tests for read operation (adapter); did some hardening 2020-04-04 15:41:33 +02:00
Falk Werner
bfd4d43dee fix: compile error on arm targets 2020-04-04 12:49:02 +02:00
Falk Werner
289264e269 added unit tests for close operation (adapter) 2020-04-04 08:55:59 +02:00
Falk Werner
77a870b9b7 added unit tests for open (adapter) 2020-04-04 08:32:26 +02:00
Falk Werner
d56bbcbd39 added test for open (adapter) 2020-04-03 22:46:47 +02:00
Falk Werner
71a8c30d36 increased test coverage 2020-03-21 22:25:50 +01:00
Falk Werner
43c989e7af removed uuid mountpoint and factory 2020-03-21 09:11:18 +01:00
Falk Werner
79318c47b8 refactor: extracted timer function of adapter into separate library 2020-02-29 21:06:40 +01:00
Falk Werner
69a1faaa3f chore: cleanup jsonrpc library 2020-02-29 02:32:03 +01:00
Falk Werner
e3a3427ca8 refactor: made jsonrpc an independent library 2020-02-28 23:17:41 +01:00
Falk Werner
a27e68f5a6 organized unit tests 2020-02-20 17:15:13 +01:00