299 Commits

Author SHA1 Message Date
Michael Zanetti
a6725ec4e9 add initial support for pairing devices (Only CreateMethodDiscovery and SetupMethodPushButton so far)
implement an initial Philips Hue plugin to test it
add a python script to test stuff
2019-04-01 20:47:51 +02:00
Michael Zanetti
3bb19915bf more tests for Event 2019-04-01 20:47:51 +02:00
Michael Zanetti
a5b0ceeee4 more tests for events 2019-04-01 20:47:51 +02:00
Michael Zanetti
55b6962ebc more tests for stateevaluator, fix found issues 2019-04-01 20:47:51 +02:00
Michael Zanetti
16645498db write more tests for the rules engine.
decouple jsonrpc versioning from application versioning
2019-04-01 20:47:51 +02:00
Michael Zanetti
d2f02d650b fix eventdescriptor's paramdescriptors handling 2019-04-01 20:47:51 +02:00
Michael Zanetti
ddebe2d0b4 add params to proper event 2019-04-01 20:47:51 +02:00
Michael Zanetti
011a0afa48 added a test for triggering a rule 2019-04-01 20:47:51 +02:00
Michael Zanetti
576e67f9f3 also add event params to rule load/store test 2019-04-01 20:47:51 +02:00
Michael Zanetti
346ee6df35 add event params to rules test 2019-04-01 20:47:51 +02:00
Michael Zanetti
9d21f32366 allow calling AddRule with a single eventDescriptor but also with a list 2019-04-01 20:47:51 +02:00
Michael Zanetti
373af5bde5 add tests for loading/storing rules to disk 2019-04-01 20:47:51 +02:00
Michael Zanetti
eec2461622 fix version check to allow automatic package version bumping 2019-04-01 20:47:51 +02:00
Michael Zanetti
bbfa2ff1d9 fix copyright information 2019-04-01 20:47:51 +02:00
Michael Zanetti
08223606ee introduce StateDescriptor and StateEvaluator for use with Rules 2014-06-09 04:34:37 +02:00
Michael Zanetti
21738b3907 state changes emit events now 2014-06-08 20:52:30 +02:00
Michael Zanetti
bbd05ca7fd align jsonrpc param descriptions with the rest of the type system 2014-06-08 17:08:51 +02:00
Simon Stürz
43a063c10e fixed elro switch 2014-05-25 02:25:42 +02:00
Michael Zanetti
0dc3ac7cdb Revert "see if shlibdeps can find them now"
This reverts commit 8583686ea2ef05a94da2c39422d1e538bc3ea4a8.
2014-05-12 23:29:20 +02:00
Michael Zanetti
8583686ea2 see if shlibdeps can find them now 2014-05-12 22:45:43 +02:00
Michael Zanetti
54137c6865 allow disabling of tests 2014-05-12 22:27:04 +02:00
Michael Zanetti
93086167b9 drop libgles dep again... doesn't fix the issue and should not be required anyways 2014-05-11 17:09:42 +02:00
Michael Zanetti
d85921e9f4 also add libgles 2014-05-11 17:03:21 +02:00
Michael Zanetti
9c68250400 add qt deps manually. shlibdeps doesn't really work in our x-compile setup yet 2014-05-11 16:40:53 +02:00
Simon Stürz
4b850f1c2e Update mail notification plugin documentation
Issue #13 seems to be fixed
2014-05-06 10:13:56 +02:00
Michael Zanetti
b07433a8b5 Add discoveryParams to DeviceClass
Fixes #12
2014-05-05 20:40:02 +02:00
Michael Zanetti
1ffe5ee721 bump version 2014-05-05 20:30:21 +02:00
Michael Zanetti
874f4b54d1 add Actions.GetActionType(actionTypeId) to JSONRPC
Fixes #10
2014-05-05 20:21:27 +02:00
Michael Zanetti
8c4332cbab 2 small test additions to complete jsonrpc tests 2014-05-05 00:40:05 +02:00
Michael Zanetti
0110e3a8eb test the handshake message 2014-05-05 00:35:06 +02:00
Michael Zanetti
21c14cd6db add some more tests for invalid json messages 2014-05-05 00:23:04 +02:00
Michael Zanetti
d84319fdcc Finish off param handling. New param structures now used everywhere.
Plugin params reworked. Added Devices.GetPluginConfiguration.
Cover params stuff with tests.
2014-05-04 23:59:08 +02:00
Michael Zanetti
0fb41afa7f add missing files 2014-05-04 19:06:16 +02:00
Michael Zanetti
76d2dbb4f3 added tests for all sorts of executeAction 2014-05-04 19:01:41 +02:00
Michael Zanetti
22bc250391 add discoverdevices tests with invalid parameters 2014-05-04 15:10:54 +02:00
Michael Zanetti
016126e38c added tests for GetStateValue 2014-05-04 15:00:42 +02:00
Michael Zanetti
8334ec89ff test GetPlugins and removeDevice with an invalid param 2014-05-04 14:50:44 +02:00
Michael Zanetti
70f6f783b9 add a test for triggering events 2014-05-04 14:21:58 +02:00
Michael Zanetti
8916626ded fix tests again :) 2014-05-04 13:41:38 +02:00
Michael Zanetti
a9a2a8fd30 enable coverage for deviceplugins too 2014-05-04 13:33:05 +02:00
Michael Zanetti
ca91386b7d added a test for a failing async device setup 2014-05-04 13:11:21 +02:00
Michael Zanetti
de62432913 fix tests 2014-05-04 05:14:07 +02:00
Michael Zanetti
bce1cacbc7 added more devicemanager tests 2014-05-04 05:08:42 +02:00
Michael Zanetti
edb6c956e6 drop some debug prints 2014-05-04 04:53:08 +02:00
Michael Zanetti
384690bb23 add a test for async device creation 2014-05-04 04:49:19 +02:00
Michael Zanetti
3a17985d50 revert bad hack 2014-05-04 03:46:39 +02:00
Michael Zanetti
46e6642b90 added a test for device discovery 2014-05-04 03:45:50 +02:00
Michael Zanetti
7b0cbe58d3 add a test to try creating a device with invalid params 2014-05-04 03:07:55 +02:00
Michael Zanetti
ab4a340e27 parse version from debian changelog, align package and jsonrpc api version 2014-05-04 01:34:29 +02:00
Michael Zanetti
aa79e9d5a0 fix slots for tests 2014-05-04 01:05:17 +02:00