Refactoring

revert-70aa11f8
megala21 7 years ago
parent 270037a727
commit 635f40ce2f

@ -41,9 +41,11 @@
<certificate.mgt>certificate-mgt</certificate.mgt>
<certificate.mgt.api>${basedir}/../${certificate.mgt}/org.wso2.carbon.certificate.mgt.api</certificate.mgt.api>
<certificate.mgt.cert.admin>
${basedir}/../${certificate.mgt}/org.wso2.carbon.certificate.mgt.cert.admin.api</certificate.mgt.cert.admin>
${basedir}/../${certificate.mgt}/org.wso2.carbon.certificate.mgt.cert.admin.api
</certificate.mgt.cert.admin>
<certificate.mgt.core>
${basedir}/../${certificate.mgt}/org.wso2.carbon.certificate.mgt.core</certificate.mgt.core>
${basedir}/../${certificate.mgt}/org.wso2.carbon.certificate.mgt.core
</certificate.mgt.core>
<!-- Device mgt component related properties -->
<device.mgt>device-mgt</device.mgt>
@ -115,7 +117,8 @@
<!-- Policy Management component related properties -->
<policy.mgt>policy-mgt</policy.mgt>
<policy.mgt.complex.point>
${basedir}/../${policy.mgt}/org.wso2.carbon.complex.policy.decision.point</policy.mgt.complex.point>
${basedir}/../${policy.mgt}/org.wso2.carbon.complex.policy.decision.point
</policy.mgt.complex.point>
<policy.mgt.decision.point>
${basedir}/../${policy.mgt}/org.wso2.carbon.policy.decision.point
</policy.mgt.decision.point>
@ -149,11 +152,16 @@
classpathref="maven.plugin.classpath"/>
<if>
<and>
<available file="${certificate.mgt.core}/${target}/${coverge-report}/${individual.test.report.name}" />
<available file="${device.mgt.core}/${target}/${coverge-report}/${individual.test.report.name}" />
<available file ="${email.sender.core}/${target}/${coverge-report}/${individual.test.report.name}" />
<available file="${policy.mgt.core}/${target}/${coverge-report}/${individual.test.report.name}" />
<available file="${webapp.authenticatore.frmework}/${target}/${coverge-report}/${individual.test.report.name}" />
<available
file="${certificate.mgt.core}/${target}/${coverge-report}/${individual.test.report.name}"/>
<available
file="${device.mgt.core}/${target}/${coverge-report}/${individual.test.report.name}"/>
<available
file="${email.sender.core}/${target}/${coverge-report}/${individual.test.report.name}"/>
<available
file="${policy.mgt.core}/${target}/${coverge-report}/${individual.test.report.name}"/>
<available
file="${webapp.authenticatore.frmework}/${target}/${coverge-report}/${individual.test.report.name}"/>
<!-- After adding the test cases need to list the exec files here-->
</and>
@ -176,16 +184,18 @@
<fileset dir="${policy.mgt.core}/${target}/${coverge-report}">
<include name="${individual.test.report.name}"/>
</fileset>
<fileset dir="${webapp.authenticatore.frmework}/${target}/${coverge-report}">
<fileset
dir="${webapp.authenticatore.frmework}/${target}/${coverge-report}">
<include name="${individual.test.report.name}"/>
</fileset>
<!-- Need to list the newly added exec files here -->
</executiondata>
<structure name="Certificate Management Component Coverage Report">
<structure name="Carbon Device Management Component Coverage Report">
<group name="certificate-mgt">
<group name="org.wso2.carbon.certificate.mgt.core">
<classfiles>
<fileset dir="${certificate.mgt.core}/${target}/${classes}"/>
<fileset
dir="${certificate.mgt.core}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${certificate.mgt.core}/${source}"/>
@ -201,19 +211,19 @@
</group>
<group name="org.wso2.carbon.certificate.mgt.cert.admin.api">
<classfiles>
<fileset dir="${certificate.mgt.cert.admin}/${target}/${classes}"/>
<fileset
dir="${certificate.mgt.cert.admin}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${certificate.mgt.cert.admin}/${source}"/>
</sourcefiles>
</group>
</group>
</structure>
<structure name="Device Management Component Coverage Report">
<group name="device-mgt">
<group name="org.wso2.carbon.device.mgt.analytics.dashboard">
<classfiles>
<fileset dir="${device.mgt.analytics.dashboard}/${target}/${classes}" />
<fileset
dir="${device.mgt.analytics.dashboard}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${device.mgt.analytics.dashboard}/${source}"/>
@ -221,7 +231,8 @@
</group>
<group name="org.wso2.carbon.device.mgt.analytics.data.publisher">
<classfiles>
<fileset dir="${device.mgt.analytics.data}/${target}/${classes}"/>
<fileset
dir="${device.mgt.analytics.data}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${device.mgt.analytics.data}/${source}"/>
@ -253,7 +264,8 @@
</group>
<group name="org.wso2.carbon.device.mgt.extensions">
<classfiles>
<fileset dir="${device.mgt.extensions}/${target}/${classes}" />
<fileset
dir="${device.mgt.extensions}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${device.mgt.extensions}/${source}"/>
@ -261,7 +273,8 @@
</group>
<group name="org.wso2.carbon.device.mgt.url.printer">
<classfiles>
<fileset dir="${device.mgt.url.printer}/${target}/${classes}" />
<fileset
dir="${device.mgt.url.printer}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${device.mgt.url.printer}/${source}"/>
@ -269,12 +282,11 @@
</group>
</group>
</structure>
<structure name="API Management Extensions Component Coverage Report">
<group name="apimgt-extensions">
<group name="org.wso2.carbon.apimgt.integration.client">
<classfiles>
<fileset dir="${api.extension.client}/${target}/${classes}" />
<fileset
dir="${api.extension.client}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${api.extension.client}/${source}"/>
@ -282,7 +294,8 @@
</group>
<group name="org.wso2.carbon.apimgt.application.extension">
<classfiles>
<fileset dir="${api.extension.application}/${target}/${classes}" />
<fileset
dir="${api.extension.application}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${api.extension.application}/${source}"/>
@ -290,7 +303,8 @@
</group>
<group name="org.wso2.carbon.apimgt.application.extension.api">
<classfiles>
<fileset dir="${api.extension.application.api}/${target}/${classes}" />
<fileset
dir="${api.extension.application.api}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${api.extension.application.api}/${source}"/>
@ -298,7 +312,8 @@
</group>
<group name="org.wso2.carbon.apimgt.handlers">
<classfiles>
<fileset dir="${api.extension.handlers}/${target}/${classes}" />
<fileset
dir="${api.extension.handlers}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${api.extension.handlers}/${source}"/>
@ -306,19 +321,19 @@
</group>
<group name="org.wso2.carbon.apimgt.webapp.publisher">
<classfiles>
<fileset dir="${api.extension.webapp}/${target}/${classes}" />
<fileset
dir="${api.extension.webapp}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${api.extension.webapp}/${source}"/>
</sourcefiles>
</group>
</group>
</structure>
<structure name="Device Management Extensions Component Coverage Report">
<group name="device-mgt-extensions">
<group name="org.wso2.carbon.device.mgt.extensions.device.type.deployer">
<classfiles>
<fileset dir="${device.extensions.deployer}/${target}/${classes}" />
<fileset
dir="${device.extensions.deployer}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${device.extensions.deployer}/${source}"/>
@ -326,7 +341,8 @@
</group>
<group name="org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm">
<classfiles>
<fileset dir="${device.extensions.fcm}/${target}/${classes}" />
<fileset
dir="${device.extensions.fcm}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${device.extensions.fcm}/${source}"/>
@ -334,7 +350,8 @@
</group>
<group name="org.wso2.carbon.device.mgt.extensions.push.notification.provider.http">
<classfiles>
<fileset dir="${device.extensions.http}/${target}/${classes}" />
<fileset
dir="${device.extensions.http}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${device.extensions.http}/${source}"/>
@ -342,7 +359,8 @@
</group>
<group name="org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt">
<classfiles>
<fileset dir="${device.extensions.mqtt}/${target}/${classes}" />
<fileset
dir="${device.extensions.mqtt}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${device.extensions.mqtt}/${source}"/>
@ -350,7 +368,8 @@
</group>
<group name="org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp">
<classfiles>
<fileset dir="${device.extensions.xmpp}/${target}/${classes}" />
<fileset
dir="${device.extensions.xmpp}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${device.extensions.xmpp}/${source}"/>
@ -358,15 +377,14 @@
</group>
<group name="org.wso2.carbon.device.mgt.extensions.pull.notification">
<classfiles>
<fileset dir="${device.extensions.pull}/${target}/${classes}" />
<fileset
dir="${device.extensions.pull}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${device.extensions.pull}/${source}"/>
</sourcefiles>
</group>
</group>
</structure>
<structure name="Email Sender Component Coverage Report">
<group name="email-sender">
<classfiles>
<fileset dir="${email.sender.core}/${target}/${classes}"/>
@ -375,12 +393,12 @@
<fileset dir="${email.sender.core}/${source}"/>
</sourcefiles>
</group>
</structure>
<structure name="Identity Extensions Component Coverage Report">
<group name="identity-extensions">
<group name="org.wso2.carbon.device.mgt.oauth.extensions">
<classfiles>
<fileset dir="${identity.oauth.extension}/${target}/${classes}" />
<fileset
dir="${identity.oauth.extension}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${identity.oauth.extension}/${source}"/>
@ -388,7 +406,8 @@
</group>
<group name="org.wso2.carbon.identity.authenticator.backend.oauth">
<classfiles>
<fileset dir="${identity.backend.extension}/${target}/${classes}" />
<fileset
dir="${identity.backend.extension}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${identity.backend.extension}/${source}"/>
@ -396,19 +415,19 @@
</group>
<group name="org.wso2.carbon.identity.jwt.client.extension">
<classfiles>
<fileset dir="${identity.jwt.extension}/${target}/${classes}" />
<fileset
dir="${identity.jwt.extension}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${identity.jwt.extension}/${source}"/>
</sourcefiles>
</group>
</group>
</structure>
<structure name="Policy Management Component Coverage Report">
<group name="policy-mgt">
<group name="org.wso2.carbon.complex.policy.decision.point">
<classfiles>
<fileset dir="${policy.mgt.complex.point}/${target}/${classes}" />
<fileset
dir="${policy.mgt.complex.point}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${policy.mgt.complex.point}/${source}"/>
@ -416,7 +435,8 @@
</group>
<group name="org.wso2.carbon.policy.decision.point">
<classfiles>
<fileset dir="${policy.mgt.decision.point}/${target}/${classes}" />
<fileset
dir="${policy.mgt.decision.point}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${policy.mgt.decision.point}/${source}"/>
@ -424,7 +444,8 @@
</group>
<group name="org.wso2.carbon.policy.information.point">
<classfiles>
<fileset dir="${policy.mgt.information.point}/${target}/${classes}" />
<fileset
dir="${policy.mgt.information.point}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${policy.mgt.information.point}/${source}"/>
@ -448,17 +469,19 @@
</sourcefiles>
</group>
</group>
</structure>
<structure name="Web App Authenticator Framework Component Coverage Report">
<group name="webapp-authentictor-framework">
<classfiles>
<fileset dir="${webapp.authenticatore.frmework}/${target}/${classes}" />
<fileset
dir="${webapp.authenticatore.frmework}/${target}/${classes}"/>
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${webapp.authenticatore.frmework}/${source}"/>
</sourcefiles>
</group>
</structure>
<html destdir="${basedir}/target/coverage-report/site"/>
</report>
</then>

Loading…
Cancel
Save