IT. Expert System.

Android Reference

AlgorithmParameterGenerator1Test


org.apache.harmony.security.tests.java.security

Class AlgorithmParameterGenerator1Test

  • java.lang.Object
    • TestCase
      • org.apache.harmony.security.tests.java.security.AlgorithmParameterGenerator1Test


  • public class AlgorithmParameterGenerator1Test
    extends TestCase
    Tests for AlgorithmParameterGenerator class constructors and methods.
    • Constructor Detail

      • AlgorithmParameterGenerator1Test

        public AlgorithmParameterGenerator1Test()
    • Method Detail

      • testAlgorithmParameterGenerator01

        public void testAlgorithmParameterGenerator01()
                                               throws NoSuchAlgorithmException
        Test for getInstance(String algorithm) method Assertion: throws NullPointerException must be thrown is null throws NoSuchAlgorithmException must be thrown if algorithm is not available
        Throws:
        NoSuchAlgorithmException
      • testAlgorithmParameterGenerator02

        public void testAlgorithmParameterGenerator02()
                                               throws NoSuchAlgorithmException
        Test for getInstance(String algorithm) method Assertion: returns AlgorithmParameterGenerator instance when algorithm is DSA
        Throws:
        NoSuchAlgorithmException
      • testAlgorithmParameterGenerator04

        public void testAlgorithmParameterGenerator04()
                                               throws NoSuchAlgorithmException
        Test for getInstance(String algorithm, String provider) method Assertion: throws NoSuchProviderException if provider is not available
        Throws:
        NoSuchAlgorithmException
      • testAlgorithmParameterGenerator05

        public void testAlgorithmParameterGenerator05()
                                               throws NoSuchProviderException
        Test for getInstance(String algorithm, String provider) method Assertion: throws NullPointerException must be thrown is null throws NoSuchAlgorithmException must be thrown if algorithm is not available
        Throws:
        NoSuchProviderException
      • testAlgorithmParameterGenerator07

        public void testAlgorithmParameterGenerator07()
                                               throws NoSuchAlgorithmException
        Test for getInstance(String algorithm, Provider provider) method Assertion: throws IllegalArgumentException when provider is null
        Throws:
        NoSuchAlgorithmException
      • testAlgorithmParameterGenerator08

        public void testAlgorithmParameterGenerator08()
        Test for getInstance(String algorithm, Provider provider) method Assertion: throws NullPointerException must be thrown is null throws NoSuchAlgorithmException must be thrown if algorithm is not available
      • testAlgorithmParameterGenerator09

        public void testAlgorithmParameterGenerator09()
                                               throws NoSuchAlgorithmException
        Test for getInstance(String algorithm, Provider provider) method Assertion: returns AlgorithmParameterGenerator object
        Throws:
        NoSuchAlgorithmException
      • testAlgorithmParameterGenerator12

        public void testAlgorithmParameterGenerator12()
        Test for init(AlgorithmParameterSpec param) and init(AlgorithmParameterSpec param, SecureRandom random methods Assertion: throws InvalidAlgorithmParameterException when param is null


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: 15367 / 248392590. Delta: 0.02696 с