Details
-
Bug
-
Resolution: Done
-
Major
-
openshift_1.0.0.Alpha1
-
None
Description
Consider the following configuration:
WEB-INF/jboss-web.xml
<?xml version="1.0" encoding="UTF-8"?> <jboss-web> <context-root>/</context-root> </jboss-web>
SimpleTest.java
class SimpleTest { ... @ArquillianResource private URL deployedURL; ... }
The context-root is not detected and injected url can't be used in tests.
The detection should be fixed in ServletUtils.
The example of a project with this type of configuration is Richfaces Showcase (showcase.war).