July 3, 2011  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31

[01:13:03] *** oskutka has quit IRC
[02:18:57] *** jose_freitas has quit IRC
[02:41:20] *** Tashtego has joined #jbosstesting
[02:45:41] *** Tashtego has quit IRC
[02:57:54] *** lightguard_jp has quit IRC
[03:21:05] *** gastaldi has joined #jbosstesting
[03:22:04] *** gastaldi has quit IRC
[03:36:02] *** dblevins has quit IRC
[03:41:20] *** dblevins has joined #jbosstesting
[04:00:02] *** dblevins has quit IRC
[04:10:25] *** dblevins has joined #jbosstesting
[04:26:20] *** dblevins has quit IRC
[04:31:31] *** dblevins has joined #jbosstesting
[07:38:29] *** aslak has joined #jbosstesting
[07:38:29] *** aslak has quit IRC
[07:38:29] *** aslak has joined #jbosstesting
[07:52:14] *** gastaldi has joined #jbosstesting
[08:02:32] *** gastaldi has quit IRC
[08:30:45] *** ge0ffrey has joined #jbosstesting
[09:11:25] *** ge0ffrey has quit IRC
[09:43:06] *** oskutka has joined #jbosstesting
[10:29:18] *** dblevins has quit IRC
[10:32:30] *** dblevins has joined #jbosstesting
[11:11:03] <aslak> githubhttp://github.com/api/v2/json/blob/full/arquillian/arquillian-showcase/60d29c7f1af9c791fa115eeb5675cbd0b87ec224
[11:11:06] <aslak> ugh
[12:00:50] *** nilian has joined #jbosstesting
[12:43:30] *** nilian has quit IRC
[12:49:44] *** psychollek_ has joined #jbosstesting
[12:50:38] *** psychollek has quit IRC
[13:26:46] *** stuartdouglas has joined #jbosstesting
[14:34:59] *** aslak has quit IRC
[14:40:12] *** aslak has joined #jbosstesting
[16:08:38] *** OndraZizka has quit IRC
[16:56:31] *** jose_freitas has joined #jbosstesting
[17:11:14] *** gastaldi has joined #jbosstesting
[17:12:08] *** gastaldi has quit IRC
[18:03:48] *** jose_freitas has quit IRC
[18:19:49] *** psychollek_ has quit IRC
[18:22:07] *** psychollek has joined #jbosstesting
[19:20:55] *** Tashtego has joined #jbosstesting
[19:25:39] *** Tashtego has left #jbosstesting
[19:27:17] *** Tashtego has joined #jbosstesting
[19:44:07] *** bobmcw has joined #jbosstesting
[20:11:53] *** jeand has joined #jbosstesting
[20:16:27] *** Daniel-BR has joined #jbosstesting
[20:22:10] <Daniel-BR> Any success cases testing java EE scopes with jsfunit + arquillian(alpha4) + embedded glasfish 3? ;(
[22:04:38] <Daniel-BR> i keep getting java.lang.RuntimeException: Could not inject members
[22:04:45] <Daniel-BR> Caused by: java.lang.NullPointerException at org.jboss.weld.util.Beans.isPassivatingScope(Beans.java:118)
[22:04:57] *** jose_freitas has joined #jbosstesting
[22:05:23] *** jose_freitas has quit IRC
[22:05:23] <aslak> Daniel-BR, hey, what scope are you using?
[22:05:36] <Daniel-BR> @ConversationScoped
[22:06:16] <aslak> hmm.. not sure about Conversation, but i know atleast RequestScope has issues with JSFUnit
[22:07:00] <Daniel-BR> hmm...
[22:07:34] <aslak> JSFUnit is based on keeping the FacesContext alive in session after the Request is done so you can assert on the state of it, but with CDI or Seam, JSF / FacesContext is not in control of the Bean storage.. so the Request Scoped for CDI is killed by the time you start to assert on the FaceesContext
[22:08:32] <Daniel-BR> how do u usually test java ee scopes with arquillian then?
[22:08:37] <aslak> Daniel-BR, in talks with Stan about a possible solution but, we havn't gotten to any coding yet.
[22:09:39] <Daniel-BR> i see... thanks anyway :)
[22:09:46] <aslak> application session and request should be avilable directly by just injecting the Beans you want, Conversation is abit more tricky, since that is pr spec tied to JSF
[22:11:11] <aslak> Daniel-BR, you can test Conversation Scope using the Weld EE Mock container
[22:11:54] <Daniel-BR> Would i still have the persistence context with weld ee mock container?
[22:12:13] <aslak> https://github.com/arquillian/arquillian-container-weld/blob/master/weld-ee-embedded-1.1/src/test/java/org/jboss/arquillian/container/weld/ee/embedded_1_1/WeldEmbeddedIntegrationConversationScopeTestCase.java
[22:12:18] <aslak> Daniel-BR, nope
[22:13:18] <Daniel-BR> is there any way i can have both?
[22:13:34] <aslak> Daniel-BR, currently you'll need to use something like htmlunit from the client side
[22:13:46] *** jose_freitas has joined #jbosstesting
[22:14:10] <Daniel-BR> isnt it included within jsfunit already?
[22:14:39] <aslak> jsfunit use htmlunit yea
[22:15:07] <aslak> you can use jsfunit as well of course, you just can't Asset on the state of the Conversation Beans..  since they are 'dead' at that point
[22:15:26] <aslak> Assert
[22:16:17] <Daniel-BR> i c
[22:27:05] *** jeand has quit IRC
[22:43:14] *** mhuniewicz has joined #jbosstesting
[22:43:19] *** aslak has quit IRC
[22:46:39] <mhuniewicz> Hi guys, in terms of contributing to Aqruillian, who should I bother? ;)
[23:10:03] *** Tashtego has quit IRC
[23:17:57] *** Daniel-BR has quit IRC
[23:25:25] *** jose_freitas has joined #jbosstesting
[23:25:42] *** jose_freitas has quit IRC

top