From 94b3e9724e111f2731245277636b4d99f830491b Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Thu, 17 Aug 2017 14:55:55 -0500 Subject: Refactor VFC UTs It was refactored the Unit tests and functions of VFC scripts Change-Id: I9e7ba61ace7830c62b52556922e0ec2b4d9efa91 Signed-off-by: Victor Morales Issue-Id: INT-105 --- bootstrap/vagrant-onap/tests/test_vfc | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'bootstrap/vagrant-onap/tests/test_vfc') diff --git a/bootstrap/vagrant-onap/tests/test_vfc b/bootstrap/vagrant-onap/tests/test_vfc index 2f71cf1b0..338280948 100644 --- a/bootstrap/vagrant-onap/tests/test_vfc +++ b/bootstrap/vagrant-onap/tests/test_vfc @@ -4,7 +4,7 @@ source /var/onap_tests/_test_base source /var/onap/vfc covered_functions=( -"clone_all_vfc_repos" +"clone_all_vfc_repos" "compile_all_vfc_repos" "install_vfc" ) # test_clone_all_vfc_repos() - Verify cloning and pulling source code from repositories @@ -13,6 +13,21 @@ function test_clone_all_vfc_repos { echo "" } +# test_compile_all_vfc_repos() - Verify that all the VFC modules are compiled properly +function test_compile_all_vfc_repos { + clone_all_vfc_repos + compile_all_vfc_repos + + # TODO(electrocucaracha): Add asserts_file_exist +} + +# test_install_vfc() - Verify that the VFC are up and running +function test_install_vfc { + install_vfc + + # TODO(electrocucaracha): Add whatever asserts are needed +} + if [ "$1" != '*' ]; then unset covered_functions covered_functions=$1 -- cgit 1.2.3-korg