summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2021-01-14Fix potential memory leakneedlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_10.93.0koi_10.92.0koi/10.93.0koi/10.92.013.93.012.93.012.92.012.91.012.90.112.90.011.92.011.91.010.93.010.92.0Li Xiaoming1-0/+2
It is better to init jresp as NULL, and allocate new memory when it is used, this will avoid the memory leak if the function return during the process. jobj should be freed before function returns. Bug-AGL: SPEC-3584 Change-Id: I4b917f7ecd06a1800d453ec43ffeccee89d923c6 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2020-08-06fix(network.lua): introduce several missing verb testjellyfish_9.99.4jellyfish_9.99.3jellyfish/9.99.4jellyfish/9.99.39.99.49.99.3Li, Xiaoming2-30/+20
This patch will do two things: - Add the missing verb in the test lua files, part of them are commented as they need extra code to run; - Remove TEST-README.md, which includes description of test wgt and reasons of the lost test verb. This file is not required now. Bug-AGL: SPEC-3458 Change-Id: I081a86605b4f2ace3d20e837826688b2db344af0 Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-09-12fix(test/CMakeLists.txt): make test wgt workicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.58.99.48.99.38.99.28.99.1Li Xiaoming1-1/+1
Bug-AGL: SPEC-2795 Change-Id: I5c78c461bead40ecb154292d95830d44619e940c Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-06-21tests: network: Add test bindings for agl-service-networkStoyan Bogdanov7-3/+215
- Create the file and folders structure required. for building test bindings. Add all required Cmake files. - Create aft-agl-network.json configuration file for testing binding. - Create network.lua for testing bindings. Bug-AGL: SPEC-2539 Signed-off-by: Stoyan Bogdanov <stoyan.bogdanov@konsulko.com> Change-Id: Ibd93f41751339ecac03dab8e83673da55eafb3f6
2019-06-19Revert "tests: network: Add test bindings for agl-service-network"Jan-Simon Moeller8-213/+885
This reverts commit 089807fbbc4429ede68ef4fa846367345259de36. I need to revert this as it breaks the build and CI due to the failures described in: Bug-AGL: SPEC-2539 Change-Id: Id117df8d3197095efb41967147db1334827d3f80
2019-06-18tests: network: Add test bindings for agl-service-networkStoyan Bogdanov8-885/+213
- Remove agl-service-network-ctl.c from tests folder. - Create the file and folders structure required. for building test bindings. Add all required Cmake files. - Create aft-agl-network.json configuration file for testing binding. - Create network.lua for testing bindings. Bug-AGL: SPEC-2515 Signed-off-by: Stoyan Bogdanov <stoyan.bogdanov@konsulko.com> Change-Id: I9df72a2d9d03189d3917c6e84f633af7603436b0
2019-01-16binding: network: remove unimplemented counter functionalityguppy_6.99.4guppy/6.99.46.99.4Matt Ranostay1-9/+0
counter_event wasn't implemented, and the respective reset_counters verb doesn't really have any use. Change-Id: Ibc2142b7f58c06e67430b31307bc7139837c9866 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-08-10binding: network: tests: change default tokenMatt Ranostay1-1/+1
Change the DEFAULT_TOKEN to the AGL default of HELLO Bug-AGL: SPEC-1660 Change-Id: I53b94b76d3f63d566105b35a63cebd3d9cc8ae2d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-10initial network service bindingPantelis Antoniou2-0/+897
The AGL network service binding exposes connman apis via the AGL application framework. All network connectivity technologies are supported via the binding, limited only by the underlying connman daemon. Bug-AGL: SPEC-1540 Change-Id: Id73cfc98c7abe97cb655a4fc40d440422fa75803 Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> [Cleanups to whitespace and naming to match other services] Signed-off-by: Matt Porter <mporter@konsulko.com>