Skip to content

Commit

Permalink
Migrate the test.uk.future target to using the new flow.uk.collect sy…
Browse files Browse the repository at this point in the history
…stem.
  • Loading branch information
iay committed Jul 25, 2011
1 parent 5196ff8 commit 3fa4198
Showing 1 changed file with 25 additions and 13 deletions.
38 changes: 25 additions & 13 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,23 @@
<echo>Generated unsigned metadata.</echo>
</target>

<!--
uk.collected
This is where the flow.uk.collect places its output.
-->
<property name="uk.collected" value="${mdx.dir}/uk/collected.xml"/>

<!--
flow.uk.collect
Runs the mda code to collect all entities registered with the
UK federation registrar.
-->
<target name="flow.uk.collect">
<CHANNEL.do channel="uk" verb="collect"/>
</target>

<!--
gen.entities
Expand Down Expand Up @@ -410,9 +427,15 @@
<CHECK.ukreg i="${xml.dir}/${uk.master.file}"/>
</target>

<target name="test.uk.future" depends="gen.uk.unsigned">
<!--
test.uk.future
Run a set of possible future rulesets against the existing collection
of UK-federation registered metadata.
-->
<target name="test.uk.future" depends="flow.uk.collect">
<echo>Checking against future rulesets.</echo>
<CHECK.base i="${xml.dir}/${uk.master.file}">
<CHECK.base i="${uk.collected}">
<arg value="${build.dir}/check_future.xsl"/>
<arg value="${build.dir}/check_saml2int.xsl"/>
</CHECK.base>
Expand Down Expand Up @@ -1101,17 +1124,6 @@
*************************************************
-->

<!--
uk.collected
This is where the flow.uk.collect places its output.
-->
<property name="uk.collected" value="${mdx.dir}/uk/collected.xml"/>

<target name="flow.uk.collect">
<CHANNEL.do channel="uk" verb="collect"/>
</target>

<target name="flow.uk.generate">
<CHANNEL.do channel="uk" verb="generate"/>
</target>
Expand Down

0 comments on commit 3fa4198

Please sign in to comment.