buildframework/helium/tools/logging/test/test_logging.ant.xml
changeset 628 7c4a911dc066
parent 588 c7c26511138f
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
    95         <au:assertFileDoesntExist file="hlm_debug.log" />
    95         <au:assertFileDoesntExist file="hlm_debug.log" />
    96     </target>
    96     </target>
    97     
    97     
    98      <!-- Check the build-property-cache-file exists or not -->
    98      <!-- Check the build-property-cache-file exists or not -->
    99     <target name="test-build-property-cache-file-exists">
    99     <target name="test-build-property-cache-file-exists">
   100         <antcall target="diamonds"/>
   100         <antcall target="diamonds">
       
   101             <param name="diamonds.enabled" value="false"/>
       
   102         </antcall>
   101         <au:assertFileExists file="${build.property.cache.file}" />
   103         <au:assertFileExists file="${build.property.cache.file}" />
   102     </target>
   104     </target>
   103     
   105     
   104     <!-- Check the build-property-cache-file contents-->
   106     <!-- Check the build-property-cache-file contents-->
   105     <target name="test-build-property-cache-file-content">
   107     <target name="test-build-property-cache-file-content">
   106         <antcall target="diamonds"/>
   108         <antcall target="diamonds">
       
   109             <param name="diamonds.enabled" value="false"/>
       
   110         </antcall>
   107         <loadfile property="test.data" srcFile="${build.property.cache.file}"/>
   111         <loadfile property="test.data" srcFile="${build.property.cache.file}"/>
   108         <au:assertMatches string="${test.data}" pattern="diamonds.build.url" />
   112         <au:assertMatches string="${test.data}" pattern="diamonds.build.url" />
   109     </target>
   113     </target>
   110     
   114     
   111     
   115