add testcase to improve test coverage 91/85291/1
authorliboNet <libo.zhu@intel.com>
Tue, 16 Apr 2019 00:19:04 +0000 (08:19 +0800)
committerliboNet <libo.zhu@intel.com>
Tue, 16 Apr 2019 00:21:01 +0000 (08:21 +0800)
commitdc1321b4c135242c67e94f5af57d0e39866ce2d8
treeff1bf759c068f79b54aacb3fc4b43bb192ba290b
parent76cb15908ebfab78034aff381ba5c867b5491c05
add testcase to improve test coverage

. add distribution parameter test case
. remove unused FileSystem plugin
. fix pom.xml of package to include forwarding plugin

Change-Id: I531169dd4cb498ae50e4f2ef93fe3a3eecd33263
Issue-ID: MULTICLOUD-569
Signed-off-by: liboNet <libo.zhu@intel.com>
25 files changed:
artifactbroker/main/src/test/java/org/onap/policy/distribution/main/parameters/CommonTestData.java [new file with mode: 0644]
artifactbroker/main/src/test/java/org/onap/policy/distribution/main/parameters/TestArtifactForwarderParameters.java [new file with mode: 0644]
artifactbroker/main/src/test/java/org/onap/policy/distribution/main/parameters/TestDistributionParameterGroup.java [new file with mode: 0644]
artifactbroker/main/src/test/java/org/onap/policy/distribution/main/parameters/TestDistributionParameterHandler.java [new file with mode: 0644]
artifactbroker/main/src/test/java/org/onap/policy/distribution/main/parameters/TestPluginHandlerParameters.java [new file with mode: 0644]
artifactbroker/main/src/test/java/org/onap/policy/distribution/main/parameters/TestReceptionHandlerParameters.java [new file with mode: 0644]
artifactbroker/main/src/test/java/org/onap/policy/distribution/main/startstop/TestDistributionActivator.java [new file with mode: 0644]
artifactbroker/main/src/test/java/org/onap/policy/distribution/main/startstop/TestMain.java [new file with mode: 0644]
artifactbroker/main/src/test/resources/expectedValidationResults/InvalidDecoderAndForwarderParameters.txt [new file with mode: 0644]
artifactbroker/main/src/test/resources/expectedValidationResults/InvalidReceptionHandlerParameters.txt [new file with mode: 0644]
artifactbroker/main/src/test/resources/expectedValidationResults/InvalidRestServerParameters.txt [new file with mode: 0644]
artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_EmptyArtifactForwarder.json [new file with mode: 0644]
artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_EmptyReceptionHandler.json
artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_EmptyReceptionHandlerClass.json [new file with mode: 0644]
artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_InvalidForwarderConfigurationClassName.json [new file with mode: 0644]
artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json [new file with mode: 0644]
artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_InvalidReceptionHandlerClass.json [new file with mode: 0644]
artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_InvalidReceptionHandlerParameters.json [new file with mode: 0644]
artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_InvalidRestServerParameters.json [new file with mode: 0644]
artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_NoArtifactForwarder.json [moved from artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_NoPolicyForwarder.json with 100% similarity]
artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_UnknownForwarderConfigurationClassName.json [new file with mode: 0644]
artifactbroker/packages/pom.xml
artifactbroker/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/FileSystemReceptionHandler.java [deleted file]
artifactbroker/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/FileSystemReceptionHandlerConfigurationParameterBuilder.java [deleted file]
artifactbroker/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/FileSystemReceptionHandlerConfigurationParameterGroup.java [deleted file]

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use