buildframework/helium/sf/java/diamonds/tests/scenarii/build/build.xml
branchhelium-9.0
changeset 618 df88fead2976
parent 587 85df38eb4012
equal deleted inserted replaced
587:85df38eb4012 618:df88fead2976
    38     <property name="codescanner.log.input" location="${diamonds.unitest.dir}/data/problemIndex.xml" />
    38     <property name="codescanner.log.input" location="${diamonds.unitest.dir}/data/problemIndex.xml" />
    39     <property name="policy.log.input" location="${diamonds.unitest.dir}/data/policy.log.xml" />
    39     <property name="policy.log.input" location="${diamonds.unitest.dir}/data/policy.log.xml" />
    40     <property name="invalid.target.input.file" location="${diamonds.unitest.dir}/data/invalid.target.input.log.xml" />
    40     <property name="invalid.target.input.file" location="${diamonds.unitest.dir}/data/invalid.target.input.log.xml" />
    41     <property name="symsee.version" value="9.1.0" />
    41     <property name="symsee.version" value="9.1.0" />
    42 
    42 
    43 
       
    44     <target name="unittest" depends="unittest-diamonds" />
    43     <target name="unittest" depends="unittest-diamonds" />
    45     
    44     
    46     <target name="unittest-diamonds" >
    45     <target name="unittest-diamonds" >
    47         <delete dir="${diamonds.output.dir}" failonerror="false"/>
    46         <delete dir="${diamonds.output.dir}" failonerror="false"/>
    48         <mkdir dir="${diamonds.output.dir}"/>
    47         <mkdir dir="${diamonds.output.dir}"/>
   153         <au:assertFalse>
   152         <au:assertFalse>
   154             <isset property="diamonds.build.id"/>
   153             <isset property="diamonds.build.id"/>
   155         </au:assertFalse>
   154         </au:assertFalse>
   156     </target>
   155     </target>
   157 
   156 
       
   157     <target name="test-echo-operation">
       
   158         <echo message="echo operation: test" />
       
   159     </target>
       
   160 
       
   161     <target name="test-echo-operation1">
       
   162         <echo message="echo operation1: test" />
       
   163     </target>
       
   164 
       
   165     <target name="test-echo-operation2">
       
   166         <echo message="echo operation2: test" />
       
   167     </target>
       
   168 
       
   169     <target name="test-echo-operation3">
       
   170         <echo message="echo operation3: test" />
       
   171     </target>
       
   172 
       
   173     <target name="test-echo-operation4">
       
   174         <echo message="echo operation4: test" />
       
   175     </target>
       
   176 
       
   177     <target name="test-echo-operation5">
       
   178         <echo message="echo operation5: test" />
       
   179     </target>
       
   180 
       
   181     <target name="test-depend-target" depends="test-echo-operation">
       
   182         <echo message="test-ant-call" />
       
   183         <antcall target="test-echo-operation" />
       
   184         <au:assertFileExists file="${diamonds.output.dir}/test-echo-operation-time.xml" />
       
   185     </target>
       
   186 
       
   187     <target name="test-ant-call">
       
   188         <echo message="test-ant-call" />
       
   189         <antcall target="test-echo-operation1" />
       
   190         <au:assertFileExists file="${diamonds.output.dir}/test-echo-operation1-time.xml" />
       
   191     </target>
       
   192 
       
   193     <target name="test-ant-call-multiple">
       
   194         <echo message="test-ant-call" />
       
   195         <antcall target="test-echo-operation2" />
       
   196         <au:assertFileExists file="${diamonds.output.dir}/test-echo-operation2-time.xml" />
       
   197         <antcall target="test-echo-operation3" />
       
   198         <au:assertFileExists file="${diamonds.output.dir}/test-echo-operation3-time.xml" />
       
   199     </target>
       
   200 
       
   201     <target name="test-ant-call-multiple-parallel">
       
   202         <echo message="test-ant-call" />
       
   203         <parallel>
       
   204             <antcall target="test-echo-operation4" />
       
   205             <antcall target="test-echo-operation5" />
       
   206         </parallel>
       
   207         <au:assertFileExists file="${diamonds.output.dir}/test-echo-operation4-time.xml" />
       
   208         <au:assertFileExists file="${diamonds.output.dir}/test-echo-operation5-time.xml" />
       
   209     </target>
       
   210 
   158     <target name="test-all" depends="test-buildid-notset, diamonds, test-buildid-set, test-defer-type, test-version,
   211     <target name="test-all" depends="test-buildid-notset, diamonds, test-buildid-set, test-defer-type, test-version,
   159         test-create-bom-log,test-codescanner,test-compile-target,test-invalid-diamonds-server-properties,
   212         test-create-bom-log,test-codescanner,test-compile-target,test-invalid-diamonds-server-properties,
   160         test-non-existing-ant-properties,test-invalid-ant-properties-input,test-invalid-template-file,
   213         test-non-existing-ant-properties,test-invalid-ant-properties-input,test-invalid-template-file,
   161         test-invalid-target-input-file,test-invalid-stage-input-file " />
   214         test-invalid-target-input-file,test-invalid-stage-input-file, test-depend-target,
       
   215         test-ant-call, test-ant-call-multiple, test-ant-call-multiple-parallel" />
   162 </project>
   216 </project>