IT. Expert System.

Android Reference

CipherInputStream1Test


org.apache.harmony.crypto.tests.javax.crypto

Class CipherInputStream1Test

  • java.lang.Object
    • TestCase
      • org.apache.harmony.crypto.tests.javax.crypto.CipherInputStream1Test


  • public class CipherInputStream1Test
    extends TestCase
    • Constructor Detail

      • CipherInputStream1Test

        public CipherInputStream1Test()
    • Method Detail

      • testCipherInputStream

        public void testCipherInputStream()
                                   throws Exception
        CipherInputStream(InputStream is) method testing. Tests that CipherInputStream uses NullCipher if Cipher is not specified in the constructor.
        Throws:
        Exception
      • testRead1

        public void testRead1()
                       throws Exception
        read() method testing. Tests that method returns the correct value (related to the InputStream) and that it returns -1 at the end of stream.
        Throws:
        Exception
      • testRead2

        public void testRead2()
                       throws Exception
        read(byte[] b) method testing. Tests that method returns the correct value (related to the InputStream) and that it returns -1 at the end of stream.
        Throws:
        Exception
      • testRead3

        public void testRead3()
                       throws Exception
        read(byte[] b, int off, int len) method testing. Tests that method returns the correct value (related to the InputStream), that it discards bytes in the case of null buffer, and that it returns -1 at the end of stream.
        Throws:
        Exception
      • testSkip

        public void testSkip()
                      throws Exception
        skip(long n) method testing. Tests that the method correctly skips the bytes.
        Throws:
        Exception
      • testAvailable

        public void testAvailable()
                           throws Exception
        available() method testing. Tests that the method always return 0.
        Throws:
        Exception
      • testClose

        public void testClose()
                       throws Exception
        close() method testing. Tests that the method calls the close() method of the underlying input stream.
        Throws:
        Exception
      • testMarkSupported

        public void testMarkSupported()
        markSupported() method testing. Tests that mark is not supported.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2197 / . Delta: 0.06606 с