a42e8e93d7ee5ae68539f13332a28d5aeca60ed8
[osm/SO.git] / rwlaunchpad / plugins / rwpkgmgr / test / CMakeLists.txt
1
2 #   Copyright 2016 RIFT.IO Inc
3 #
4 #   Licensed under the Apache License, Version 2.0 (the "License");
5 #   you may not use this file except in compliance with the License.
6 #   You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #   Unless required by applicable law or agreed to in writing, software
11 #   distributed under the License is distributed on an "AS IS" BASIS,
12 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #   See the License for the specific language governing permissions and
14 #   limitations under the License.
15 #
16 # Author(s): Varun Prasad
17 # Creation Date: 28/09/2016
18
19
20 ##
21 # utest_subscriber_dts
22 ##
23 rift_py3test(utest_subscriber_dts.py
24   TEST_ARGS
25   ${CMAKE_CURRENT_SOURCE_DIR}/utest_subscriber_dts.py
26   )
27
28 ##
29 # utest_publisher_dts
30 ##
31 rift_py3test(utest_publisher_dts.test_download_publisher
32   TEST_ARGS
33   ${CMAKE_CURRENT_SOURCE_DIR}/utest_publisher_dts.py TestCase.test_download_publisher
34   )
35
36 rift_py3test(utest_publisher_dts.test_publish
37   TEST_ARGS
38   ${CMAKE_CURRENT_SOURCE_DIR}/utest_publisher_dts.py TestCase.test_publish
39   )
40
41 rift_py3test(utest_publisher_dts.test_url_download
42   TEST_ARGS
43   ${CMAKE_CURRENT_SOURCE_DIR}/utest_publisher_dts.py TestCase.test_url_download
44   )
45
46 rift_py3test(utest_publisher_dts.test_cancelled
47   TEST_ARGS
48   ${CMAKE_CURRENT_SOURCE_DIR}/utest_publisher_dts.py TestCase.test_cancelled
49   )
50
51 add_custom_target(utest_publisher_dts.py
52   DEPENDS
53     utest_publisher_dts.test_download_publisher
54     utest_publisher_dts.test_publish
55     utest_publisher_dts.test_url_download
56     utest_publisher_dts.test_cancelled
57   )
58
59 ##
60 # utest_filesystem_proxy_dts.py
61 ##
62 rift_py3test(utest_filesystem_proxy.test_endpoint_discovery
63   TEST_ARGS
64   ${CMAKE_CURRENT_SOURCE_DIR}/utest_filesystem_proxy_dts.py TestCase.test_endpoint_discovery
65   )
66
67 rift_py3test(utest_filesystem_proxy.test_schema_rpc
68   TEST_ARGS
69   ${CMAKE_CURRENT_SOURCE_DIR}/utest_filesystem_proxy_dts.py TestCase.test_schema_rpc
70   )
71
72 rift_py3test(utest_filesystem_proxy.test_file_proxy_rpc
73   TEST_ARGS
74   ${CMAKE_CURRENT_SOURCE_DIR}/utest_filesystem_proxy_dts.py TestCase.test_file_proxy_rpc
75   )
76
77 rift_py3test(utest_filesystem_proxy.test_file_add_workflow
78   TEST_ARGS
79   ${CMAKE_CURRENT_SOURCE_DIR}/utest_filesystem_proxy_dts.py TestCase.test_file_add_workflow
80   )
81
82 rift_py3test(utest_filesystem_proxy.test_file_delete_workflow
83   TEST_ARGS
84   ${CMAKE_CURRENT_SOURCE_DIR}/utest_filesystem_proxy_dts.py TestCase.test_file_delete_workflow
85   )
86
87 add_custom_target(utest_filesystem_proxy_dts.py
88   DEPENDS
89     utest_filesystem_proxy.test_endpoint_discovery
90     utest_filesystem_proxy.test_schema_rpc
91     utest_filesystem_proxy.test_file_proxy_rpc
92     utest_filesystem_proxy.test_file_add_workflow
93     utest_filesystem_proxy.test_file_delete_workflow
94   )
95
96 add_custom_target(rwpkgmgmt_test
97   DEPENDS
98     utest_filesystem_proxy_dts.py
99     utest_publisher_dts.py
100     utest_subscriber_dts.py
101   )