lixiumei
49c8b7f8ba
Improving unit tests for int_val 3D arrays
2021-11-03 10:21:36 +08:00
lixiumei
510265dacb
Add unit test for 3D arrays of types double, cstr, int_val, str_val
2021-11-03 10:21:36 +08:00
lixiumei
bbe74dab3c
Add unit test for 2D arrays of types double, cstr, int_val, str_val
2021-11-01 11:57:54 +08:00
lixiumei
62fd4f5cbf
Add unit test for serialization deserialization of 1D arrays of types double, cstr, int_val, string_val
2021-10-29 10:16:45 +08:00
lixiumei
d8d4dbf175
Adding int 3D array serialisation and deserialisation tests
2021-10-26 16:21:52 +08:00
lixiumei
fea8ae6b37
Fix issue of memory leaks in 2D arrays during testing
2021-10-26 16:21:52 +08:00
Parker Liu
33310808bc
Fix issue of memory leaks in 2D arrays during testing
2021-10-25 18:44:11 +08:00
lixiumei
2181839a8e
Adding a 2D array test
2021-10-25 17:44:45 +08:00
lixiumei
c9350a35e8
Adding a 2D array test
2021-10-25 17:44:45 +08:00
lixiumei
626354d13b
Modify 'improve string_val serialize and deserialize testing'
2021-10-22 16:22:16 +08:00
Parker Liu
597cf8a9da
Fix issue of incorrect serialize primary value of array
2021-10-20 15:05:46 +08:00
lixiumei
956fcaca38
Improve prim_val and cstr_val serialize and deserialize testing
2021-10-18 16:39:03 +08:00
lixiumei
11b9558ddb
Add int_val and string_val serialize and deserialize testing
2021-10-18 16:39:03 +08:00
Parker Liu
f57880ec89
Improve the implementation of serialize/deserialize data value
...
* Fix some memory leak in serialize/deserialize function
* Modify unit test case for data value
2021-10-09 18:07:57 +08:00
lixiumei
ee75b3c09b
Perfection modbus read/write error code
2021-09-30 14:31:53 +08:00
lixiumei
e90e3f8832
Add neu_dvalue_bit test and neu_dvalue_bytes test
2021-09-29 19:04:11 +08:00
Parker Liu
f431b27b9b
Delete some abolition functions and add some functions for fix issue of
...
memory leaking
* Delete neu_dvalue_array_new and neu_dvalue_vec_new
* Delete set/get function for vec and array
* Add free sub data value in array and vector
2021-09-29 18:51:41 +08:00
Parker Liu
940acfd3f6
Improve the implementation of set/get functions in data value
2021-09-28 17:22:25 +08:00
lixiumei
8e2222c379
modbus read/write value
2021-09-28 12:07:39 +08:00
gc87
335b355d52
Add operation function of NEU_DTYPE_ERRORCODE type
...
- Add test case
2021-09-28 12:03:31 +08:00
Parker Liu
ba89625545
Switch to neu_data_val_t in sample plugin for read and write
2021-09-26 15:06:05 +08:00
lixiumei
bf122ec702
Refining basic data structure tests
2021-09-24 19:32:34 +08:00
Parker Liu
05ee33fefe
Add unittest for serialize/deserialize int-val and string-val pair
2021-09-18 16:47:03 +08:00
Parker Liu
19aaceadda
Add int-val and string-val pair structue for data value
...
* Add neu_int_val_t and neu_string_val_t structures and functions
* Add functions for set/get int-val and string-val in data value
* Add functions for supoort serial/deserial int-val and string-val
2021-09-17 19:59:02 +08:00
Parker Liu
62abad7bb9
Fix issue of failed build datatag_table_test and some memory leak issue
2021-09-16 11:30:23 +08:00
Parker Liu
08d0af6473
Remove some warnings of neuron data value
2021-09-13 12:20:51 +08:00
Parker Liu
767d4459e5
Fix memory leak in data_val_test.cc and reformat source files
2021-09-13 10:20:17 +08:00
Parker Liu
8df731b7ce
Add a new data value type with serialize/deserialize function
...
* Add a structure for fixed array
* Add a structure for bytes
* Add unit test cases of neuron data type
2021-09-13 09:03:46 +08:00