Fix connection timeouts in URL downloader
[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_url_download_unreachable_ip
47   TEST_ARGS
48   ${CMAKE_CURRENT_SOURCE_DIR}/utest_publisher_dts.py TestCase.test_url_download_unreachable_ip
49   )
50
51 rift_py3test(utest_publisher_dts.test_cancelled
52   TEST_ARGS
53   ${CMAKE_CURRENT_SOURCE_DIR}/utest_publisher_dts.py TestCase.test_cancelled
54   )
55
56 add_custom_target(utest_publisher_dts.py
57   DEPENDS
58     utest_publisher_dts.test_download_publisher
59     utest_publisher_dts.test_publish
60     utest_publisher_dts.test_url_download
61     utest_publisher_dts.test_url_download_unreachable_ip
62     utest_publisher_dts.test_cancelled
63   )
64
65 ##
66 # utest_filesystem_proxy_dts.py
67 ##
68 rift_py3test(utest_filesystem_proxy.test_endpoint_discovery
69   TEST_ARGS
70   ${CMAKE_CURRENT_SOURCE_DIR}/utest_filesystem_proxy_dts.py TestCase.test_endpoint_discovery
71   )
72
73 rift_py3test(utest_filesystem_proxy.test_schema_rpc
74   TEST_ARGS
75   ${CMAKE_CURRENT_SOURCE_DIR}/utest_filesystem_proxy_dts.py TestCase.test_schema_rpc
76   )
77
78 rift_py3test(utest_filesystem_proxy.test_file_proxy_rpc
79   TEST_ARGS
80   ${CMAKE_CURRENT_SOURCE_DIR}/utest_filesystem_proxy_dts.py TestCase.test_file_proxy_rpc
81   )
82
83 rift_py3test(utest_filesystem_proxy.test_file_add_workflow
84   TEST_ARGS
85   ${CMAKE_CURRENT_SOURCE_DIR}/utest_filesystem_proxy_dts.py TestCase.test_file_add_workflow
86   )
87
88 rift_py3test(utest_filesystem_proxy.test_file_delete_workflow
89   TEST_ARGS
90   ${CMAKE_CURRENT_SOURCE_DIR}/utest_filesystem_proxy_dts.py TestCase.test_file_delete_workflow
91   )
92
93 add_custom_target(utest_filesystem_proxy_dts.py
94   DEPENDS
95     utest_filesystem_proxy.test_endpoint_discovery
96     utest_filesystem_proxy.test_schema_rpc
97     utest_filesystem_proxy.test_file_proxy_rpc
98     utest_filesystem_proxy.test_file_add_workflow
99     utest_filesystem_proxy.test_file_delete_workflow
100   )
101
102 add_custom_target(rwpkgmgmt_test
103   DEPENDS
104     utest_filesystem_proxy_dts.py
105     utest_publisher_dts.py
106     utest_subscriber_dts.py
107   )