Class AbstractExpressionSupportTestCase

java.lang.Object
org.jboss.as.test.integration.management.base.AbstractExpressionSupportTestCase

public abstract class AbstractExpressionSupportTestCase extends Object
Smoke test of expression support.
Author:
Ivan Straka (c) 2020 Red Hat Inc.
  • Field Details

    • container

      @ArquillianResource protected org.jboss.arquillian.container.test.api.ContainerController container
  • Constructor Details

    • AbstractExpressionSupportTestCase

      public AbstractExpressionSupportTestCase()
  • Method Details

    • createManagementClient

      protected static org.jboss.as.arquillian.container.ManagementClient createManagementClient()
    • test

      public void test(org.jboss.as.arquillian.container.ManagementClient managementClient) throws Exception
      Launch a primary HC in --admin-only. Iterate through all resources, converting any writable attribute that support expressions and has a value or a default value to an expression (if it isn't already one), using the value/default value as the expression default (so setting a system property isn't required). Then reload out of --admin-only and confirm that the server start correctly. Finally, read the resources from the host and confirm that the expected values are there.
      Throws:
      Exception - if there is one
    • restartContainer

      protected void restartContainer()