Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Blocker
-
Resolution: Done
-
Affects Version/s: glassfish_1.0.0.CR1
-
Fix Version/s: glassfish_1.0.0.CR2
-
Component/s: GlassFish Containers
-
Labels:None
-
Environment:arquillian-glassfish-remote-3.1 - 1.0.0.CR1, 1.0.0.Final-SNAPSHOT
arquillian-core-impl-base - 1.0.0.CR1
GlassFish 3.1.1
-
Affects:Release Notes
Description
Having the following testcase:
@RunWith(Arquillian.class)
|
public class FooTest {
|
|
|
@Inject
|
private Foo foo;
|
|
|
@Deployment
|
public static JavaArchive deploy() {
|
return ShrinkWrap.create(JavaArchive.class, "foo.jar").addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml")
|
.addClasses(Foo.class, FooTest.class);
|
}
|
|
|
@Test
|
public void test() {
|
Assert.assertNotNull(foo);
|
}
|
}
|
|
|
public class Foo {
|
}
|
the test always fails on Glassfish while it works fine on JBoss AS 7.
Which GlassFish container type, remote or embedded ? Which GlassFish version?
Using GlassFish Container 1.0.0.CR1-SNAPSHOT ?
Using Arq Core 1.0.0.CR1 ?