jakarta-jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: jakarta-jmeter/src/core/org/apache/jmeter/reporters ResultCollector.java
Date Fri, 05 Mar 2004 01:58:32 GMT
sebb        2004/03/04 17:58:32

  Modified:    src/core/org/apache/jmeter/reporters ResultCollector.java
  Log:
  Remove test code accidentally left in
  
  Revision  Changes    Path
  1.35      +2 -39     jakarta-jmeter/src/core/org/apache/jmeter/reporters/ResultCollector.java
  
  Index: ResultCollector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/reporters/ResultCollector.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- ResultCollector.java	5 Mar 2004 01:34:53 -0000	1.34
  +++ ResultCollector.java	5 Mar 2004 01:58:32 -0000	1.35
  @@ -487,41 +487,4 @@
       public void testIterationStart(LoopIterationEvent event)
       {
       }
  -    public static class Test extends JMeterTestCase
  -	{
  -    	public Test(String x)
  -		{
  -    		super(x);
  -    	}
  -    	public void testSave() throws Exception
  -		{
  -//    		String msg="abcd Sammelanträge Jörg Höhle \374 \373 \372 \371";
  -    		String msg="xabcde \u0410 \043e 0xCD0x91 \315\221  u3c00 \u3c00 u0391 \u0391 u00f1
\u00f1 P 373 \373 372 \372 371 \371";
  -    		System.out.println(msg);
  -    		
  -    		//String msg2 = new String(msg,"");
  -    		//JMeterProperties;  "jmeter.save.saveservice.response_data=true";
  -    		enableFunctionalMode(true);
  -    		ResultCollector rc = new ResultCollector();
  -    		SampleResult sample = new SampleResult();
  -    		sample.setSamplerData(msg);
  -    		sample.setDataType(SampleResult.BINARY);
  -    		sample.setResponseData(msg.getBytes());
  -    		sample.setSampleLabel(msg);
  -    		String s = rc.getSerializedSampleResult(sample);
  -    		System.out.println("no enc"+s);
  -    		sample.setResponseData(msg.getBytes("Cp1252"));
  -    		sample.setSampleLabel(msg);
  -    		s = rc.getSerializedSampleResult(sample);
  -    		System.out.println("1252"+s);
  -    		sample.setResponseData(msg.getBytes("ISO-8859-1"));
  -    		sample.setSampleLabel(msg);
  -    		s = rc.getSerializedSampleResult(sample);
  -    		System.out.println("8859"+s);
  -    		sample.setResponseData(msg.getBytes("UTF-8"));
  -    		sample.setSampleLabel(msg);
  -    		s = rc.getSerializedSampleResult(sample);
  -    		System.out.println("UTF8"+s);
  -    	}
  -	}
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


Mime
View raw message