mirror of https://github.com/apache/jmeter.git
				
				
				
			Ensure all the required HTMLParser16 classes are picked up;
Add temporary test for htmlparser16
git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-2@494545 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: f030c290b0
			
			
This commit is contained in:
		
							parent
							
								
									9f30066b5a
								
							
						
					
					
						commit
						22bdba51a7
					
				
							
								
								
									
										18
									
								
								build.xml
								
								
								
								
							
							
						
						
									
										18
									
								
								build.xml
								
								
								
								
							| 
						 | 
				
			
			@ -927,7 +927,7 @@ some of its classes - at present JMeter can only run from jar files.
 | 
			
		|||
  	    
 | 
			
		||||
    <!-- HtmlParserHTMLParser16 -->
 | 
			
		||||
    <jar jarfile="${lib.dir}/htmlparserparser16.jar" manifest="MANIFEST">
 | 
			
		||||
      <fileset dir="${build.htmlparser16}" includes="**/HtmlParserHTMLParser16.class"/>
 | 
			
		||||
      <fileset dir="${build.htmlparser16}" includes="**/*.class"/>
 | 
			
		||||
        <metainf dir="." includes="LICENSE,NOTICE"/>
 | 
			
		||||
    	<manifest>
 | 
			
		||||
           <attribute name="Built-By" value="${user.name}"/>
 | 
			
		||||
| 
						 | 
				
			
			@ -1662,6 +1662,22 @@ some of its classes - at present JMeter can only run from jar files.
 | 
			
		|||
    </java>
 | 
			
		||||
  </target>
 | 
			
		||||
 | 
			
		||||
  <target name="_test_htmlparser16" depends="check-libs" if="htmlparser16.present">
 | 
			
		||||
    <junit printsummary="on" fork="yes" dir="${basedir}/bin">
 | 
			
		||||
       <sysproperty key="htmlParser.className" value="org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser16"/>
 | 
			
		||||
       <classpath>
 | 
			
		||||
     	<fileset dir="${dest.jar}" includes="*.jar"/>
 | 
			
		||||
         <pathelement location="${build.test}"/>
 | 
			
		||||
     	<path refid="classpath"/>
 | 
			
		||||
     	<fileset dir="${lib.opt}" includes="htmlparser1_6.jar"/>
 | 
			
		||||
     	<fileset dir="${lib.dir}" includes="htmlparserparser16.jar"/>
 | 
			
		||||
       </classpath>
 | 
			
		||||
       <formatter type="plain" usefile="no"/>
 | 
			
		||||
       <test name="org.apache.jmeter.protocol.http.parser.TestHTMLParser16"/>
 | 
			
		||||
     </junit>
 | 
			
		||||
  	<echo>Done!</echo>
 | 
			
		||||
  </target>
 | 
			
		||||
 | 
			
		||||
<!--
 | 
			
		||||
    In order to run JUnit, both junit.jar and optional.jar need to be on the Ant classpath
 | 
			
		||||
    optional.jar is normally found in ANT_HOME/lib
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue