Author: sebb
Date: Wed Sep 22 14:42:05 2010
New Revision: 999987
URL: http://svn.apache.org/viewvc?rev=999987&view=rev
Log:
Don't rely on default charset
Modified:
jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java
Modified:
jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java?rev=999987&r1=999986&r2=999987&view=diff
==============================================================================
---
jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java
(original)
+++
jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java
Wed Sep 22 14:42:05 2010
@@ -355,9 +355,9 @@ public class TestHTTPMirrorThread extend
for(int i = 0; i < expected.length; i++) {
if(expected[i] != actual[i]) {
System.out.println(">>>>>>>>>>>>>>>>>>>> (expected) :
length " + expected.length);
- System.out.println(new String(expected,0,i+1));
+ System.out.println(new String(expected,0,i+1,
ISO_8859_1));
System.out.println("==================== (actual) :
length " + actual.length);
- System.out.println(new String(actual,0,i+1));
+ System.out.println(new String(actual,0,i+1,
ISO_8859_1));
System.out.println("<<<<<<<<<<<<<<<<<<<<");
/*
// Useful to when debugging
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]