141 - Support for Package Management in SO
[osm/SO.git] / rwlaunchpad / plugins / rwstagingmgr / 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_publisher_dts
22 ##
23 rift_py3test(rwstg_utest_publisher_dts.test_download_publisher
24   TEST_ARGS
25   ${CMAKE_CURRENT_SOURCE_DIR}/utest_publisher_dts.py TestCase.test_download_publisher
26   )
27
28 rift_py3test(rwstg_utest_publisher_dts.test_publish
29   TEST_ARGS
30   ${CMAKE_CURRENT_SOURCE_DIR}/utest_publisher_dts.py TestCase.test_publish
31   )
32
33
34 add_custom_target(rwstg_utest_publisher_dts.py
35   DEPENDS
36     rwstg_utest_publisher_dts.test_download_publisher
37     rwstg_utest_publisher_dts.test_publish
38   )
39
40 ##
41 # utest_rpc_dts.py
42 ##
43 rift_py3test(rwstg_utest_rpc_dts.test_staging_area_create
44   TEST_ARGS
45   ${CMAKE_CURRENT_SOURCE_DIR}/utest_rpc_dts.py TestCase.test_staging_area_create
46   )
47
48 add_custom_target(rwstg_utest_rpc_dts.py
49   DEPENDS
50     rwstg_utest_rpc_dts.test_staging_area_create
51   )
52
53 ##
54 # utest_staging_store.py
55 ##
56 rift_py3test(rwstg_utest_staging_store.py
57   TEST_ARGS
58   ${CMAKE_CURRENT_SOURCE_DIR}/utest_staging_store.py
59   )
60
61 ##
62 # utest_tornado_app.py
63 ##
64 rift_py3test(rwstg_utest_tornado_app.py
65   TEST_ARGS
66   ${CMAKE_CURRENT_SOURCE_DIR}/utest_tornado_app.py
67   )
68
69 add_custom_target(rwstagingmgmt_test
70   DEPENDS
71     rwstg_utest_staging_store.py
72     rwstg_utest_publisher_dts.py
73     rwstg_utest_rpc_dts.py
74     rwstg_utest_tornado_app.py
75   )