jbossas/jboss-as — pull request #3764 by bstansberry (2013-01-02 03:58:35+00:00)
Title: AS7-6154 Large scale test of expression support

Launch a master HC in --admin-only. Iterate through all resources,calling write-attribute on writable attributes, 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 host's servers start correctly. Finally, read the resources from the host and confirm that the expected values are there.

This tests write-attribute handling on a large number of attributes. The reload tests parsing and add operation handling. The server starts test that the expressions don't result in runtime failures, thus indirectly testing Stage.RUNTIME handling.

This test only covers resources included in our standard domain.xml (plus a couple other ones manually added) but that's still a large percentage of all resources.