Home » HttpComponents-Core-4.0.1 » org.apache.http.util » [javadoc | source]
org.apache.http.util
public class: TestEntityUtils [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.http.util.TestEntityUtils
Unit tests for EntityUtils .
Nested Class Summary:
public static class  TestEntityUtils.NullHttpEntity  Helper class that returns null as the content. 
Field Summary
static final  int[] SWISS_GERMAN_HELLO     
static final  int[] RUSSIAN_HELLO     
Constructor:
 public TestEntityUtils(String testName) 
Method from org.apache.http.util.TestEntityUtils Summary:
main,   suite,   testContentWithContentTypeToString,   testDefaultCharsetContentToString,   testEmptyContentToByteArray,   testEmptyContentToString,   testGetContentCharset,   testKnownLengthContentToByteArray,   testKnownLengthContentToString,   testMaxIntContentToByteArray,   testMaxIntContentToString,   testNoCharsetContentToString,   testNoCharsetGetContentCharset,   testNullContentTypeGetContentCharset,   testNullEntityGetContentCharset,   testNullEntityToByteArray,   testNullEntityToString,   testUnknownLengthContentToByteArray,   testUnknownLengthContentToString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.http.util.TestEntityUtils Detail:
 public static  void main(String[] args) 
 public static Test suite() 
 public  void testContentWithContentTypeToString() throws Exception 
 public  void testDefaultCharsetContentToString() throws Exception 
 public  void testEmptyContentToByteArray() throws Exception 
 public  void testEmptyContentToString() throws Exception 
 public  void testGetContentCharset() throws Exception 
 public  void testKnownLengthContentToByteArray() throws Exception 
 public  void testKnownLengthContentToString() throws Exception 
 public  void testMaxIntContentToByteArray() throws Exception 
 public  void testMaxIntContentToString() throws Exception 
 public  void testNoCharsetContentToString() throws Exception 
 public  void testNoCharsetGetContentCharset() throws Exception 
 public  void testNullContentTypeGetContentCharset() throws Exception 
 public  void testNullEntityGetContentCharset() throws Exception 
 public  void testNullEntityToByteArray() throws Exception 
 public  void testNullEntityToString() throws Exception 
 public  void testUnknownLengthContentToByteArray() throws Exception 
 public  void testUnknownLengthContentToString() throws Exception