IT. Expert System.

Android Reference

RC5ParameterSpecTest


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

Class RC5ParameterSpecTest

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


  • public class RC5ParameterSpecTest
    extends TestCase
    • Constructor Detail

      • RC5ParameterSpecTest

        public RC5ParameterSpecTest()
    • Method Detail

      • testRC5ParameterSpec1

        public void testRC5ParameterSpec1()
        RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) method testing. Tests that IllegalArgumentException is thrown in the case of inappropriate constructor parameters and that input iv array is copied to protect against subsequent modification.
      • testRC5ParameterSpec2

        public void testRC5ParameterSpec2()
        RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) method testing. Tests that IllegalArgumentException is thrown in the case of inappropriate constructor parameters and that input iv array is copied to protect against subsequent modification.
      • testGetVersion

        public void testGetVersion()
        getVersion() method testing. Tests that returned value is equal to the value specified in the constructor.
      • testGetRounds

        public void testGetRounds()
        getRounds() method testing. Tests that returned value is equal to the value specified in the constructor.
      • testGetWordSize

        public void testGetWordSize()
        getWordSize() method testing. Tests that returned value is equal to the value specified in the constructor.
      • testGetIV

        public void testGetIV()
        getIV() method testing. Tests that returned array is equal to the array specified in the constructor. Checks that modification of returned array does not affect the internal array. Also it checks that getIV() method returns null if iv is not specified.
      • testEquals

        public void testEquals()
        equals(Object obj) method testing. Tests the correctness of equal operation: it should be reflexive, symmetric, transitive, consistent and should be false on null object.
      • testHashCode

        public void testHashCode()
        hashCode() method testing. Tests that for equal objects hash codes are equal.
      • test_constructorIII

        public void test_constructorIII()
      • suite

        public static Test suite()


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: 1805 / . Delta: 0.01564 с