diff options
author | Edi Feschiyan <edi.feschiyan@konsulko.com> | 2019-05-03 12:07:20 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-06-19 13:09:24 +0000 |
commit | f26b124ec8c70f933eb8f7ec7d991b4ab822b210 (patch) | |
tree | ec7a4a058f0d5b8d25e1b92458258150dee327c1 /test/afb-test/tests | |
parent | cdde249296cbfd4ca9778468208814968f9a34d8 (diff) |
Adding tests for agl-service-geocluehalibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.28.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.37.99.2halibut
Bug-AGL: SPEC-2526
Change-Id: I96251cc7880348253ffced94d5373492cd52b244
Signed-off-by: Edi Feschiyan <edi.feschiyan@konsulko.com>
Diffstat (limited to 'test/afb-test/tests')
-rw-r--r-- | test/afb-test/tests/CMakeLists.txt | 31 | ||||
-rw-r--r-- | test/afb-test/tests/geoclue.lua | 22 |
2 files changed, 53 insertions, 0 deletions
diff --git a/test/afb-test/tests/CMakeLists.txt b/test/afb-test/tests/CMakeLists.txt new file mode 100644 index 0000000..992ba58 --- /dev/null +++ b/test/afb-test/tests/CMakeLists.txt @@ -0,0 +1,31 @@ +########################################################################### +# Copyright 2019 Konsulko Group +# +# author:Stoyan Bogdanov <stoyan.bogdanov@konsulko.com> +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +########################################################################### + +################################################## +# geoclue Lua Scripts +################################################## +PROJECT_TARGET_ADD(test-files) + + file(GLOB LUA_FILES "*.lua" "*.sh") + add_input_files("${LUA_FILES}") + + SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES + LABELS "TEST-DATA" + OUTPUT_NAME ${TARGET_NAME} + ) + diff --git a/test/afb-test/tests/geoclue.lua b/test/afb-test/tests/geoclue.lua new file mode 100644 index 0000000..0c2a87c --- /dev/null +++ b/test/afb-test/tests/geoclue.lua @@ -0,0 +1,22 @@ +--[[ + Copyright 2019 Konsulko Group + + author:Edi Feschiyan <edi.feschiyan@konsulko.com> + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--]] + + +_AFT.testVerbStatusSuccess('testLocationSuccess','geoclue','location', {}) +_AFT.testVerbStatusSuccess('testSubscribeSuccess','geoclue','subscribe', {value="location"}) +_AFT.testVerbStatusSuccess('testUnsubscribeSuccess','geoclue','unsubscribe', {value="location"}) |