61 Commits

Author SHA1 Message Date
Simon Stürz
1766cec6b6 clean up debug outputs 2019-04-02 01:02:45 +02:00
Simon Stürz
434f1599a1 add child evaluator tests 2019-04-02 01:02:45 +02:00
Simon Stürz
2d7070417f enable maxwarnings again 2019-04-02 01:02:45 +02:00
Michael Zanetti
ac0c035566 add some housekeeping 2019-04-02 01:02:45 +02:00
Simon Stürz
9c8097919d update license header 2019-04-02 01:02:06 +02:00
Simon Stürz
8c90550c63 bump api and fix all tests 2019-04-02 01:01:21 +02:00
Simon Stürz
859c5b0df8 add paramTypesId and close #302 2019-04-02 01:01:21 +02:00
Simon Stürz
f5ee163c48 update copy right line 2019-04-01 20:48:17 +02:00
Simon Stürz
9d2ab92d42 add remove policy tests 2019-04-01 20:48:17 +02:00
Simon Stürz
574bbcd7b6 prepare for removepolicy tests 2019-04-01 20:48:17 +02:00
Simon Stürz
3b639cb0e1 prepare remove policy tests 2019-04-01 20:48:17 +02:00
Simon Stürz
e7ee05f017 add load / save timeDescriptor 2019-04-01 20:48:17 +02:00
Simon Stürz
e5d9823c2b add missing docs
first working calendarItem
2019-04-01 20:48:17 +02:00
Simon Stürz
76cc3577e1 improve ruleengine test coverage 2019-04-01 20:48:17 +02:00
Simon Stürz
af500f353c improoved rule engine and rule verification 2019-04-01 20:48:17 +02:00
Simon Stürz
8f461ca2d6 fix execute rule actions test 2019-04-01 20:48:17 +02:00
Simon Stürz
ef874a8c42 add mock device debugs
recheck rule tests
2019-04-01 20:48:17 +02:00
Simon Stürz
a4cffced68 fix awattar details
change some test details
2019-04-01 20:48:17 +02:00
Simon Stürz
a225423b73 other small fixes 2019-04-01 20:48:17 +02:00
Simon Stürz
adff8306b3 fix tests 2019-04-01 20:48:17 +02:00
Simon Stürz
da7cfc27f8 fix backtace output
fix some tests to make sure they have enough time to verify
2019-04-01 20:48:17 +02:00
Simon Stürz
c0b19c168c add rule tests 2019-04-01 20:48:17 +02:00
Simon Stürz
79e0ff2dd6 add JSON RPC rule execution tests 2019-04-01 20:48:17 +02:00
Simon Stürz
2823832ed1 fix rest rule executable parameter 2019-04-01 20:48:17 +02:00
Simon Stürz
09d66587ce add tests for rule action param verification
fix #231
2019-04-01 20:48:17 +02:00
Simon Stürz
60067f7c0b fix #143 2019-04-01 20:48:17 +02:00
Simon Stürz
91afe4f29e add guhserver namespace to server 2019-04-01 20:48:17 +02:00
Simon Stürz
523b954933 speed up tests 2019-04-01 20:48:17 +02:00
Simon Stürz
b67bd44722 fixed enable disable notification tests 2019-04-01 20:48:17 +02:00
Simon Stürz
44bdfbcb13 add tests 2019-04-01 20:48:17 +02:00
Simon Stürz
69ca5c4713 bump api version
add tests for rule active changed notification
2019-04-01 20:48:17 +02:00
Simon Stürz
2aa55e469e added copyright 2019-04-01 20:48:17 +02:00
Simon Stürz
1c008d0bef fixed inline comments and added a test 2019-04-01 20:48:17 +02:00
Simon Stürz
bea3b97cba added type comparison test 2019-04-01 20:48:17 +02:00
Simon Stürz
90622e5edb improove RuleAction logic
add tests
fix documentation
2019-04-01 20:48:17 +02:00
Simon Stürz
0603b8a3b7 fixed tests and bump api 2019-04-01 20:48:17 +02:00
Simon Stürz
584fec345f added loadStoreConfig tests for exitActions 2019-04-01 20:48:17 +02:00
Simon Stürz
40d7bde73f added tests for exitActions 2019-04-01 20:48:17 +02:00
Simon Stürz
79cbab42a1 fixed packRule 2019-04-01 20:48:17 +02:00
Simon Stürz
e555754706 added tests and bump api version 2019-04-01 20:48:17 +02:00
Michael Zanetti
5cbe613a3e improve test, fix bug in stateEvaluator 2019-04-01 20:48:17 +02:00
Simon Stürz
d396cd16d2 added test 2019-04-01 20:48:17 +02:00
Michael Zanetti
c55c92774b improve tests a little 2019-04-01 20:48:17 +02:00
Michael Zanetti
240c5e36d6 implement a logging framework 2019-04-01 20:48:17 +02:00
Michael Zanetti
56ca42e1ca finish off the stateevaluator handling 2019-04-01 20:48:17 +02:00
Michael Zanetti
5cd3154b64 add possibility to disable/enable rules
Fixes #58
2019-04-01 20:48:17 +02:00
Michael Zanetti
aad334c799 switch json api to better type system and enhance error reporting 2019-04-01 20:48:17 +02:00
Michael Zanetti
1aba1643f8 first attempt to clean up type system 2019-04-01 20:48:17 +02:00
Michael Zanetti
53fe5557e0 fix issues in param handling in json api 2019-04-01 20:48:17 +02:00
Michael Zanetti
be90f47f63 more work on rules
disallow removing a device if a rule still refers to it unless
parameters contain information on what to do with those rules.
2019-04-01 20:48:17 +02:00