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

65 Commits

Author SHA1 Message Date
Falk Werner
48e3575d6d added integrative test of low level api 2020-04-02 22:00:01 +02:00
Falk Werner
f8a402c3a1 use TLS in integration test 2020-04-01 21:42:50 +02:00
Falk Werner
b2142ee963 added tests for wfp_impl_readdir 2020-03-30 22:38:12 +02:00
Falk Werner
d482f4dfe5 added test for wfp_impl_read 2020-03-30 22:25:14 +02:00
Falk Werner
0b0c16bf10 added tests for wfp_impl_open 2020-03-30 21:42:13 +02:00
Falk Werner
821c67ee46 fixed test 2020-03-30 21:28:59 +02:00
Falk Werner
2c62e16c98 added test for wfp_impl_lookup 2020-03-30 21:16:32 +02:00
Falk Werner
e9f371c14a added tests for wfp_impl_getattr 2020-03-30 20:40:03 +02:00
Falk Werner
70e9f0a278 added tests for wfp_impl_getattr 2020-03-29 20:41:31 +02:00
Falk Werner
8d28da5e82 added tests for wfp_impl_close 2020-03-29 19:30:08 +02:00
Falk Werner
bbdd5a24f5 integrated libwf_timer and libwf_jsonrpc into libwebfuse-core 2020-03-29 17:40:33 +02:00
Falk Werner
71a8c30d36 increased test coverage 2020-03-21 22:25:50 +01:00
Falk Werner
214d6b738d removed NULL-checks after malloc: they are not necessary, they were not consequently used and objects constructed by 3rd party libs are also unchecked 2020-03-21 21:22:22 +01:00
Falk Werner
43c989e7af removed uuid mountpoint and factory 2020-03-21 09:11:18 +01:00
Falk Werner
e5da835e80 chore: use interrupt function in tests 2020-03-07 17:13:16 +01:00
Falk Werner
107e66b65a chore: replaced msleep by std::this_thread::sleep_for 2020-03-01 17:23:59 +01:00
Falk Werner
1a29b44ad6 chore: prefixed jsonrpc by wf_ 2020-03-01 16:55:58 +01:00
Falk Werner
1b4034e081 fix: do not ignore return value of mkdtemp 2020-03-01 14:00:49 +01:00
Falk Werner
7856b5a99d feature: enabled authentication 2020-03-01 13:42:46 +01:00
Falk Werner
79318c47b8 refactor: extracted timer function of adapter into separate library 2020-02-29 21:06:40 +01:00
Falk Werner
b2d6ed8754 reorganized library code 2020-02-29 02:44:26 +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
c6ca2e14bd changed credentials API 2020-02-25 22:05:48 +01:00
Falk Werner
767bafcd01 added first idea of API 2020-02-25 15:36:28 +01:00
Falk Werner
afb9c528e7 made c'tor explicit; disallow copy and assign 2020-02-24 18:25:25 +01:00
Falk Werner
5a80e0233c refactored test fixture 2020-02-24 18:16:30 +01:00
Falk Werner
7ed99088db fix: make c'tor explicit 2020-02-23 23:26:30 +01:00
Falk Werner
7c02b12449 fix: don't copy exceptions 2020-02-23 23:25:17 +01:00
Falk Werner
391b5926b6 added mock for provider client 2020-02-23 23:20:26 +01:00
Falk Werner
555058dbb5 made client protocol test single threaded 2020-02-23 21:02:01 +01:00
Falk Werner
77810168e0 fix: initialize context 2020-02-22 16:58:11 +01:00
Falk Werner
c6265aeaf7 chore: added default ctor for ClientProtocolTest (to initialize members properly) 2020-02-22 16:49:56 +01:00
Falk Werner
e21c716d34 refactored fake adapter server into ws server; added test for client protocol getattr 2020-02-22 16:46:21 +01:00
Falk Werner
4b418a45d4 chore: refactored test 2020-02-20 20:13:39 +01:00
Falk Werner
384de32bf5 removed some dead code 2020-02-20 19:06:38 +01:00
Falk Werner
17fa84bc38 made static_filesystem private (used for test purposes only) 2020-02-20 18:54:29 +01:00
Falk Werner
a27e68f5a6 organized unit tests 2020-02-20 17:15:13 +01:00
Falk Werner
abd6efe477
fixed client protocol low level API (#49)
* fixed client protocol low level API: enables usage of providing clients along with other websocket protocols

* fix: made some c'tors explicit
2020-02-19 22:44:56 +01:00
Falk Werner
8f40f73072 fixed test expectation 2020-02-16 22:58:28 +01:00
Falk Werner
bc1b5343df added unit tests for server_config 2020-02-16 22:36:31 +01:00
Falk Werner
ae9fb63900 fix: made c'tor explicit 2020-02-16 21:38:37 +01:00
Falk Werner
77627b7c8b integrated uuid_mountpoint_factory 2020-02-16 21:03:17 +01:00
Falk Werner
2b91f159cf added unit tests of uuid_mountpoint_factory 2020-02-16 17:33:11 +01:00
Falk Werner
096c244445 added unit tests for uuid_mountpoint 2020-02-16 14:47:21 +01:00
Falk Werner
cfadf85f49 added uuid mountpoint and factory 2020-02-16 04:02:23 +01:00
Falk Werner
6a94cea6f9 added ondispose to mountpoint to allow custom cleanup 2020-02-15 15:50:32 +01:00
Falk Werner
e727a9a54d added implementation of mountpoint 2020-02-15 15:11:35 +01:00
Falk Werner
9cd058a747 switched to own base64 implementation 2019-12-01 17:17:21 +01:00
Falk Werner
07e32757f8
chore(webfuse) Increase test coverage (#34)
* removes unnecessary code

* adds test of wf_status

* adds tests of wf_message

* adds tests of wf_message_queue

* changed branch of coverage badge to display correct results

* moves core tests into separate subdirectory

* increases coverage of timer test

* moves adapter specific tests into separate directory

* moves provider specific tests into separate directory

* adds tests of jsonrpc utilities

* adds tests of jsonrpc request

* adds test of jsonrpc response

* adds tests of jsonrpc server

* adds tests of jsonrpc proxy

* adds integration test (found some issues)

* disables problematic tests

* fixes resource leak: pending timer after cleanup proxy

* fixes order of cleanup to prevent processing pending requests after filesystem shut down

* fixes some memcheck and helgrind errors: initialization of lws_log; setup of client and server

* disabled a test

* fixes error in msleep utility

* fixes deadlock at IntegrationTest using valgrind

* removes unit test code from coverage report

* adds some integration tests

* makes badge show coverage of master

* fixes some coding style issues

* fixes eary trigger of is_connected (provider)

* fixes read error in 32 bit environments\n\ninode is always 64 bit, but variadic wf_impl_jsonrpc_proxy_invoke expects int
2019-05-19 14:33:42 +02:00