Class ParametersTest

    • Constructor Detail

      • ParametersTest

        public ParametersTest()
    • Method Detail

      • defaultsTest

        public final void defaultsTest()
        Defaults tests.
      • constructorTest

        public final void constructorTest()
        Constructor tests.
      • defaultRangeTest

        public final void defaultRangeTest()
        Parameter value default range tests.
      • customConstraintTest

        public final void customConstraintTest()
        Parameter value custom constraint tests.
      • setResetTest

        public final void setResetTest()
                                throws ParameterException
        Tests the set/reset mechanism.
        Throws:
        ParameterException - Should not be thrown, is for untested methods (in this test) that throw the exception.
      • equalizeTest

        public final void equalizeTest()
                                throws ParameterException
        Tests equalizations.
        Throws:
        ParameterException - Should not be thrown, is for untested methods (in this test) that throw the exception.
      • testNullNotAllowed

        public final void testNullNotAllowed()
        Test that exceptions are thrown when trying to use null values.
      • checkDefaultValues

        public final void checkDefaultValues()
                                      throws java.lang.InstantiationException,
                                             java.lang.IllegalAccessException,
                                             java.lang.IllegalArgumentException,
                                             java.lang.reflect.InvocationTargetException,
                                             java.lang.NoSuchMethodException,
                                             java.lang.SecurityException
        Checks whether default values are properly set, or not in case not given.
        Throws:
        java.lang.SecurityException - Reflection.
        java.lang.NoSuchMethodException - Reflection.
        java.lang.reflect.InvocationTargetException - Reflection.
        java.lang.IllegalArgumentException - Reflection.
        java.lang.IllegalAccessException - Reflection.
        java.lang.InstantiationException - Reflection.