From 6c74c69a84a981241b9ee09c3cd9814d38aea381 Mon Sep 17 00:00:00 2001 From: Stoyan Bogdanov Date: Wed, 12 Jun 2019 16:10:32 +0300 Subject: tests: Fix gps test bindings - Change the config.json prefix from aft- to aft-agl- to match required file name notation - Commented the unneed functions _AFT.setBeforeEach and _AFT.setAfterEachwhich which start and stop gpsfake for every single test. This lead to test crash. Without these functions all tests are able to pass. Bug-AGL: SPEC-2516 Signed-off-by: Stoyan Bogdanov Change-Id: I935f40aaa23099bad8f93abfbabd85e79a2dd1ce --- test/afb-test/etc/aft-agl-gps_config.json | 22 ++++++++++++++++++++++ test/afb-test/etc/aft-gps_config.json | 22 ---------------------- 2 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 test/afb-test/etc/aft-agl-gps_config.json delete mode 100644 test/afb-test/etc/aft-gps_config.json (limited to 'test/afb-test/etc') diff --git a/test/afb-test/etc/aft-agl-gps_config.json b/test/afb-test/etc/aft-agl-gps_config.json new file mode 100644 index 0000000..525085b --- /dev/null +++ b/test/afb-test/etc/aft-agl-gps_config.json @@ -0,0 +1,22 @@ +{ + "id": "http://iot.bzh/download/public/schema/json/ctl-schema.json#", + "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json#", + "metadata": { + "uid": "Test", + "version": "1.0", + "api": "aft-gps", + "info": "AFB-test binding configuration file to test gps api.", + "require": [ + "gps" + ] + }, + "testVerb": { + "uid": "launch_all_tests", + "info": "Launch all the tests", + "action": "lua://AFT#_launch_test", + "args": { + "trace": "gps", + "files": ["gps_BasicAPITest.lua"] + } + } +} \ No newline at end of file diff --git a/test/afb-test/etc/aft-gps_config.json b/test/afb-test/etc/aft-gps_config.json deleted file mode 100644 index 525085b..0000000 --- a/test/afb-test/etc/aft-gps_config.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "id": "http://iot.bzh/download/public/schema/json/ctl-schema.json#", - "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json#", - "metadata": { - "uid": "Test", - "version": "1.0", - "api": "aft-gps", - "info": "AFB-test binding configuration file to test gps api.", - "require": [ - "gps" - ] - }, - "testVerb": { - "uid": "launch_all_tests", - "info": "Launch all the tests", - "action": "lua://AFT#_launch_test", - "args": { - "trace": "gps", - "files": ["gps_BasicAPITest.lua"] - } - } -} \ No newline at end of file -- cgit 1.2.3-korg