Class SoapBootstrapTest


  • public class SoapBootstrapTest
    extends org.ow2.petals.component.framework.junit.mbean.AbstractBootstrapTest
    Unit tests of SoapBootstrap
    Author:
    Christophe DENEUX - Linagora
    • Field Detail

      • IN_MEMORY_LOG_HANDLER

        public static final org.ow2.petals.junit.rules.log.handler.InMemoryLogHandler IN_MEMORY_LOG_HANDLER
    • Method Detail

      • defaultConfiguration_definedInJbiDescriptor

        public void defaultConfiguration_definedInJbiDescriptor()
                                                         throws Exception
        Check that the component embeds the right default configuration in its JBI descriptor (values set to their default value in jbi.xml)
        Throws:
        Exception
      • setInvalidValues

        public void setInvalidValues()
                              throws Exception
        Check to set invalid values
        Throws:
        Exception
      • setValues

        public void setValues()
                       throws Exception
        Check to set valid values
        Throws:
        Exception
      • setValuesAreUsed

        public void setValuesAreUsed()
                              throws Throwable
        Check that valid values set through the component bootstrap through JMX are correctly used by component.
        Throws:
        Throwable