Commit Graph

23 Commits

Author SHA1 Message Date
fengzero 4be9539c6f rename module name 2022-03-17 10:46:16 +00:00
fengzero 4f2ab2070d del default driver/app adapter 2022-03-02 08:56:50 +00:00
fengzero 424613d530 del default mqtt/modbus adapter 2022-03-02 08:28:27 +00:00
lixiumei 26a61fd660 Adding functional tests for persistence 2022-03-02 11:54:08 +08:00
Parker Liu 2b177aa015 Fix multi-times load json object from buffer when decode complex json string 2022-02-18 11:21:55 +08:00
fengzero 75474e3def error codes classify 2022-02-11 11:54:13 +08:00
eeff 409188351f Fix functionality tests to remove persistence data 2022-01-14 18:47:44 +08:00
gc87 258f0a828a Remove the libplugin-opcua project 2022-01-12 11:11:36 +08:00
eeff 291e9c2fc3 Refactor functionality tests
Use [Teardown] section to ensure tests tear down properly
2021-12-29 15:10:49 +08:00
eeff 9972b4045e Refactor functionality tests to import API resources conditionally
1. Add keyword Import Neuron API resource in common.resource, so that
     when robotframework command line set:
     1.1 `--variable neuron_api:http` will test using http api (default)
     1.2 `--variable neuron_api:mqtt` will test using mqtt api
  2. Add keyword Skip If Not Http API in common.resource, so that we
     could run tests only meaningful for http.
  3. Update test suites accordingly
2021-12-29 15:10:49 +08:00
eeff bf8079ad18 Refactor functionality tests
1. Refactor group config api tests to use keywords from api resources
  2. Refactor modbus tcp tests to use keywords from api resources
  3. Refactor node api tests to use keywords from api resources
  4. Refactor opcua tests to use keywords from api resources
  5. Refactor tag api tests to use keywords from api resources
2021-12-21 18:56:33 +08:00
eeff f99b2363cd Refactor functionality tests
Split neuron.robot into common.resource and api_http.resource
2021-12-21 18:56:33 +08:00
lixiumei 311ae9f674 ft: format 2021-12-13 16:56:31 +08:00
eeff 476317cfcc Fix node API functionality test
1. Fix test for GET unknown node type
  1. Add test for GET invalid node type
2021-12-08 14:39:33 +08:00
lixiumei e477e8d184 Fix http error code 2021-12-01 16:59:02 +08:00
lixiumei 6a824a6e8c API function text add JWT 2021-11-29 18:16:50 +08:00
fengzero fd07e7fd5c ft: modbus tcp read/write
modbus tcp server simulator
2021-11-29 12:17:33 +08:00
fengzero 6a7297cc5a ft: Add node state/ctl case 2021-11-24 18:03:04 +08:00
fengzero f839095692 api: node supports updating name 2021-11-24 14:49:21 +08:00
fengzero fbb004e0b3 return the correct node according to the node type 2021-11-24 14:49:21 +08:00
fengzero 3ed6f842ec refactor http error response
use the state of the adapter as the running state of the plugin
2021-11-24 14:49:21 +08:00
fengzero 2daa9f03e8 Add function test for tag, node state, node ctl and
subscribe/unsubscribe
2021-11-18 16:24:13 +08:00
fengzero 2ce448e2a4 add function test for group config api 2021-11-09 17:59:52 +08:00