diff options
author | Victor Morales <victor.morales@intel.com> | 2017-08-18 20:53:42 -0500 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2017-08-18 20:53:42 -0500 |
commit | 65deef2dae9d22cbd8c1d08c6e88151a8661159c (patch) | |
tree | c08376dc57ac2630531c1560132e0c678eef73d6 /bootstrap/vagrant-onap/tests/test_sdnc | |
parent | 9c47b8a0659920547f439c1060e7a408948a4096 (diff) |
Create UTs for APPC
It was created the Unit Tests for APPC which modified the code of
SDNC.
Change-Id: Ica033e8a94f545e148f321c388bee981abadc4af
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: INT-24
Diffstat (limited to 'bootstrap/vagrant-onap/tests/test_sdnc')
-rw-r--r-- | bootstrap/vagrant-onap/tests/test_sdnc | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_sdnc b/bootstrap/vagrant-onap/tests/test_sdnc index 93110a3f0..a60145fbf 100644 --- a/bootstrap/vagrant-onap/tests/test_sdnc +++ b/bootstrap/vagrant-onap/tests/test_sdnc @@ -11,11 +11,11 @@ covered_functions=( function test_clone_all_sdnc_repos { clone_all_sdnc_repos - asserts_file_exist $src_folder/core/pom.xml - asserts_file_exist $src_folder/adaptors/pom.xml - asserts_file_exist $src_folder/northbound/pom.xml - asserts_file_exist $src_folder/plugins/pom.xml - asserts_file_exist $src_folder/oam/pom.xml + asserts_file_exist $sdnc_src_folder/core/pom.xml + asserts_file_exist $sdnc_src_folder/adaptors/pom.xml + asserts_file_exist $sdnc_src_folder/northbound/pom.xml + asserts_file_exist $sdnc_src_folder/plugins/pom.xml + asserts_file_exist $sdnc_src_folder/oam/pom.xml } # test_compile_all_sdnc_repos() - Verify the correct compilation of SDNC projects @@ -24,34 +24,34 @@ function test_compile_all_sdnc_repos { compile_all_sdnc_repos for adaptor in aai-service mdsal-resource resource-assignment sql-resource; do - asserts_file_exist $src_folder/adaptors/$adaptor/features/target/$adaptor-features-1.1.2-SNAPSHOT.jar - asserts_file_exist $src_folder/adaptors/$adaptor/installer/target/sdnc-$adaptor-1.1.2-SNAPSHOT-installer.zip - asserts_file_exist $src_folder/adaptors/$adaptor/provider/target/$adaptor-provider-1.1.2-SNAPSHOT.jar + asserts_file_exist $sdnc_src_folder/adaptors/$adaptor/features/target/$adaptor-features-1.1.2-SNAPSHOT.jar + asserts_file_exist $sdnc_src_folder/adaptors/$adaptor/installer/target/sdnc-$adaptor-1.1.2-SNAPSHOT-installer.zip + asserts_file_exist $sdnc_src_folder/adaptors/$adaptor/provider/target/$adaptor-provider-1.1.2-SNAPSHOT.jar done - asserts_file_exist $src_folder/core/dblib/provider/target/dblib-provider-1.1.2-SNAPSHOT.jar - asserts_file_exist $src_folder/core/rootpom/target/rootpom-1.1.0-site_en.xml - asserts_file_exist $src_folder/core/target/sdnc-core-1.1.2-SNAPSHOT-site.xml + asserts_file_exist $sdnc_src_folder/core/dblib/provider/target/dblib-provider-1.1.2-SNAPSHOT.jar + asserts_file_exist $sdnc_src_folder/core/rootpom/target/rootpom-1.1.0-site_en.xml + asserts_file_exist $sdnc_src_folder/core/target/sdnc-core-1.1.2-SNAPSHOT-site.xml for component in asdcApi dataChange vnfapi vnftools; do - asserts_file_exist $src_folder/northbound/$component/features/target/$component-features-1.1.2-SNAPSHOT.jar - asserts_file_exist $src_folder/northbound/$component/installer/target/sdnc-$component-1.1.2-SNAPSHOT-installer.zip + asserts_file_exist $sdnc_src_folder/northbound/$component/features/target/$component-features-1.1.2-SNAPSHOT.jar + asserts_file_exist $sdnc_src_folder/northbound/$component/installer/target/sdnc-$component-1.1.2-SNAPSHOT-installer.zip if [[ "$component" != "vnftools" ]]; then - asserts_file_exist $src_folder/northbound/$component/model/target/$component-model-1.1.2-SNAPSHOT.jar + asserts_file_exist $sdnc_src_folder/northbound/$component/model/target/$component-model-1.1.2-SNAPSHOT.jar fi - asserts_file_exist $src_folder/northbound/$component/provider/target/$component-provider-1.1.2-SNAPSHOT.jar + asserts_file_exist $sdnc_src_folder/northbound/$component/provider/target/$component-provider-1.1.2-SNAPSHOT.jar done - asserts_file_exist $src_folder/northbound/dmaap-listener/target/dmaap-listener-1.1.2-SNAPSHOT.jar - asserts_file_exist $src_folder/northbound/ueb-listener/target/ueb-listener-1.1.2-SNAPSHOT.jar + asserts_file_exist $sdnc_src_folder/northbound/dmaap-listener/target/dmaap-listener-1.1.2-SNAPSHOT.jar + asserts_file_exist $sdnc_src_folder/northbound/ueb-listener/target/ueb-listener-1.1.2-SNAPSHOT.jar - asserts_file_exist $src_folder/oam/admportal/target/admportal.1.1.2-SNAPSHOT.zip - asserts_file_exist $src_folder/oam/dgbuilder/target/dgbuilder.1.1.2-SNAPSHOT.zip - asserts_file_exist $src_folder/oam/platform-logic/installer/target/platform-logic-installer-1.1.2-SNAPSHOT.zip + asserts_file_exist $sdnc_src_folder/oam/admportal/target/admportal.1.1.2-SNAPSHOT.zip + asserts_file_exist $sdnc_src_folder/oam/dgbuilder/target/dgbuilder.1.1.2-SNAPSHOT.zip + asserts_file_exist $sdnc_src_folder/oam/platform-logic/installer/target/platform-logic-installer-1.1.2-SNAPSHOT.zip for plugin in properties-node restapi-call-node; do - asserts_file_exist $src_folder/plugins/$plugin/features/target/$plugin-features-1.1.2-SNAPSHOT.jar - asserts_file_exist $src_folder/plugins/$plugin/installer/target/sdnc-$plugin-1.1.2-SNAPSHOT-installer.zip - asserts_file_exist $src_folder/plugins/$plugin/provider/target/$plugin-provider-1.1.2-SNAPSHOT.jar + asserts_file_exist $sdnc_src_folder/plugins/$plugin/features/target/$plugin-features-1.1.2-SNAPSHOT.jar + asserts_file_exist $sdnc_src_folder/plugins/$plugin/installer/target/sdnc-$plugin-1.1.2-SNAPSHOT-installer.zip + asserts_file_exist $sdnc_src_folder/plugins/$plugin/provider/target/$plugin-provider-1.1.2-SNAPSHOT.jar done } |