Code example for Inflater

Methods: end, reset, setInput

0
    byte outPutDiction[] = new byte[500];
 
    /** 
     * @tests java.util.zip.Inflater#end() 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "end", 
        args = {} 
    ) 
    public void test_end() { 
        // test method of java.util.zip.inflater.end() 
        byte byteArray[] = {5, 2, 3, 7, 8};
 
        int r = 0;
        Inflater inflate = new Inflater();
        inflate.setInput(byteArray);
        inflate.end();
        try { 
            inflate.reset();