[00:50:39] *** lightguard_jp has joined #jbosstesting [00:50:39] *** lightguard_jp has quit IRC [00:51:42] *** lightguard_jp has joined #jbosstesting [00:55:05] *** ldimaggi_ has joined #jbosstesting [01:27:13] *** lightguard_jp has quit IRC [01:31:15] *** johnament has joined #jbosstesting [03:05:28] *** johnament has quit IRC [03:52:17] *** bleathem has joined #jbosstesting [05:08:56] *** jdlee has quit IRC [05:17:20] *** jdlee has joined #jbosstesting [05:19:19] *** ldimaggi_ has quit IRC [06:31:52] *** maeste has joined #jbosstesting [06:36:39] *** bdlink has joined #jbosstesting [07:10:38] *** oskutka has joined #jbosstesting [08:15:14] *** echelog-2 has joined #jbosstesting [08:26:26] *** GTobi has joined #jbosstesting [08:31:18] *** michaelschuetz has joined #jbosstesting [08:31:45] *** oskutka1 has joined #jbosstesting [08:34:08] *** oskutka has quit IRC [08:44:10] *** ge0ffrey has joined #jbosstesting [09:01:09] *** jharting has joined #jbosstesting [09:16:52] *** wolfc has joined #jbosstesting [09:22:09] *** Jaikiran has joined #jbosstesting [09:25:34] *** jeand has joined #jbosstesting [09:45:58] *** lfryc has joined #jbosstesting [09:46:40] *** aslak has joined #jbosstesting [09:49:44] *** Jaikiran has quit IRC [10:05:31] *** aslak has quit IRC [10:06:09] *** aslak has joined #jbosstesting [10:14:39] *** Jaikiran has joined #jbosstesting [10:15:59] *** aslak has quit IRC [10:16:43] *** aslak has joined #jbosstesting [10:32:15] *** Jaikiran is now known as Jaikiran|Lunch [12:32:01] *** pmuir has joined #jbosstesting [12:49:52] <aslak> pmuir, http://community.jboss.org/message/583424#583424 [12:50:26] <aslak> pmuir, simply respond with use a full container, or is there a way to override services ? [13:06:42] <pmuir> aslak: sorry, looking [13:07:49] <pmuir> well weld provides a way - simply change the ones you pass in [13:07:57] <pmuir> but not sure that Arquillian exposes that? [13:08:31] <aslak> pmuir, right, no we don't expose it [13:09:08] <pmuir> there is no other way in Weld to alter them [13:10:51] <aslak> pmuir, you could inject BeanManagerImpl.getServices().add(ValidationFactory.class, instance) ? [13:13:53] <aslak> ValidationServices.class i mean [13:15:44] <aslak> @Inject ValidationFactory; would use ValidationServices to create a instance? [13:17:14] <aslak> yea, DefaultValidatorFactoryBean seems to [13:21:16] <aslak> pmuir, hmm, DefaultValidatorBean checks for the ValidationServices in given BeanManger, but looks it up via Container.instance().services(), any reason or just code buggers.. ? :) [13:21:47] <pmuir> no, you can't do that [13:21:55] <pmuir> you need to set it up at boot [13:22:05] <pmuir> otherwise the effect is unknown ;-) [13:22:41] <aslak> every thing seems to be lazy loaded.. [13:23:00] <pmuir> above just sounds like an oddity ;-) [13:26:20] *** lfryc has quit IRC [13:28:51] <pmuir> you might want to raise a weld issue [13:42:23] <aslak> pmuir, on the Container instance? [13:42:36] <pmuir> yeah] [13:45:58] <aslak> WELD-844 [13:46:00] <jbossbot> jira [WELD-844] DefaultValidatorBean use provided BeanManager to check for the existence of ValidationServices, but look it up via Container.instance().getServices... [Open, Major, Unassigned] https://issues.jboss.org/browse/WELD-844 [14:00:43] *** hatchetman82 has joined #jbosstesting [14:01:22] <hatchetman82> whats the best way to test something that operates asynchronously ? [14:01:29] <hatchetman82> for instance, say i have an MDB [14:01:48] <hatchetman82> and i have an arq. test that deploys said MDB, and fires a JMS message at it. [14:02:09] <hatchetman82> how can i tell in the test if and when it was recienved and then proceed to check the results (which should be stored in the DB) [14:02:17] <hatchetman82> recieved* [14:05:36] *** Jaikiran|Lunch has quit IRC [14:06:45] <aslak> hatchetman82, you can make a test class that Extends the MDB, and adds a concurrent letch before calling super [14:07:52] <aslak> CountDownLatch [14:15:05] *** lfryc has joined #jbosstesting [14:19:27] <hatchetman82> aslak : nice, but that would mean every other dev. on the team would need to do this trick. a lot of classes [14:19:37] <hatchetman82> more importantly, a lot of people not getting it and bugging me :-) [14:19:49] <hatchetman82> is there any way i can hook some sort of listener into hornetQ ? [14:21:27] <aslak> hatchetman82, you should be able to do it with the upcoming Byteman integration as well, without having to extend the MDB. Simply manipulate the class runtime to do what you want.. [14:21:47] <hatchetman82> byteman ? [14:21:59] <aslak> http://jboss.org/byteman [14:22:48] <hatchetman82> whoa... thats a neat toy. @runtime ? :-) [14:23:19] <aslak> hatchetman82, oh yea; http://arquillian.pastebin.com/dHhTaguZ [14:24:58] <aslak> 100s of new interesting ways to make non working code pass tests.. hehe [14:26:38] <hatchetman82> yeah ... 2 issues though [14:26:52] <hatchetman82> 1st, can i put the @BMRules annotation as package-level ? [14:27:17] <hatchetman82> (im trying to write a sort of "test env" for multiple test classes that would all need the same functionality [14:27:19] <aslak> hatchetman82, not currently.. [14:27:53] *** Jaikiran has joined #jbosstesting [14:28:01] <hatchetman82> and 2nd, what about "black box testing" ? suppose i know that if i send X to some queue, there should be Y in the DB afterwards, but i have no idea who/what handles it (so i cant instrument it) [14:33:36] <aslak> hatchetman82, well, you can instrument the hornetq server if you wanted, or the database layer. to get callbacks on read / write [14:34:37] <hatchetman82> ok, im gonna try it. thanks :-) [14:44:29] *** Jaikiran has quit IRC [14:45:06] *** Jaikiran has joined #jbosstesting [14:56:37] *** michaelschuetz has quit IRC [15:00:02] *** oskutka1 has quit IRC [15:05:11] *** maeste has quit IRC [15:05:22] *** Jaikiran has quit IRC [15:05:30] *** Jaikiran has joined #jbosstesting [15:14:26] *** jharting has quit IRC [15:17:02] *** ldimaggi_ has joined #jbosstesting [15:42:22] <pmuir> aslak: pig [15:42:24] <pmuir> ping [15:58:52] <aslak> pmuir, heya [15:58:56] <aslak> :) [16:06:22] *** lightguard_jp has joined #jbosstesting [16:13:41] *** jharting has joined #jbosstesting [16:35:49] <jdlee> oink! [16:43:09] *** davidbos has joined #jbosstesting [16:46:39] *** bgeorges has joined #jbosstesting [16:48:21] *** bgeorges has quit IRC [16:50:40] *** davidbos has quit IRC [16:58:34] *** bdlink has quit IRC [17:11:54] *** jdlee_ has joined #jbosstesting [17:11:54] *** jdlee has quit IRC [17:11:54] *** jdlee_ is now known as jdlee [17:44:02] <aslak> pmuir, the ValidationServices is not default registered right? so Weld SE container should work with a custom Producer ? [17:48:16] *** ALR has joined #jbosstesting [17:48:17] *** ALR has joined #jbosstesting [18:03:21] <bleathem> what maven repository has arquillina snapshots? [18:03:29] <bleathem> it doesn't seem to be http://repository.jboss.org/nexus/content/groups/public/ [18:04:42] <aslak> bleathem, https://repository.jboss.org/nexus/content/groups/public/org/jboss/arquillian/container/arquillian-glassfish-remote-3.1/ [18:04:45] <aslak> :) [18:05:22] <bleathem> oh, didn't dig dep enough! thx! [18:15:27] *** GTobi has quit IRC [18:24:43] *** balunasj has joined #jbosstesting [18:36:06] <pmuir> aslak: whaty what? [18:36:17] *** balunasj has quit IRC [18:36:39] <aslak> pmuir, ? you called me pig? :) [18:36:47] <pmuir> yes [18:36:52] <aslak> love you too [18:36:57] <aslak> hehe [18:37:03] <pmuir> I wanted to check if Arq supports deployment error reporting at all? [18:37:12] <pmuir> ValidationServices is not registered by default [18:37:19] <pmuir> so you could write a VF producer for SE yes [18:37:37] <aslak> pmuir, define deployment error reporting? [18:38:29] <aslak> pmuir, talking about the DeploymentException Assertion? [18:38:35] <pmuir> tell the test that an error has occured [18:38:35] <pmuir> yes [18:38:42] <pmuir> doesn't matter for the tck what error [18:38:51] <aslak> working on that as we speak [18:39:12] <pmuir> k cool [18:39:22] <aslak> pmuir, i was thinking @Deployment @DeploymentException(WeldDeploymentException.class) [18:39:32] <pmuir> nice [18:39:46] <pmuir> i'm offline now [18:39:50] <aslak> ok [18:40:03] <pmuir> no internet at home til friday so only got it intermittantly and in the office ;-) [18:40:08] <pmuir> mail me any qs [18:40:12] <pmuir> got my phone still [18:40:30] <aslak> aa hehe.. good luck offline [18:41:57] *** ge0ffrey has quit IRC [18:45:19] *** pmuir has quit IRC [18:57:01] *** jdlee has quit IRC [19:08:43] <bleathem> lightguard_jp: I'm trying to use the glassfish remote adapter [19:08:53] <lightguard_jp> bleathem: k [19:09:00] <bleathem> I started with the instructions at: [19:09:02] <bleathem> http://docs.jboss.org/arquillian/reference/latest/en-US/html_single/#container.glassfish-remote-3 [19:09:11] <lightguard_jp> Not that one [19:09:18] <bleathem> using the 3.1 remote adpater instead [19:09:42] <lightguard_jp> Yeah, as long as you have the right contain it should just run with it [19:09:43] <bleathem> yeah, I figured the deployment-client wasn't right [19:11:39] <lightguard_jp> bleathem: It's a snapshot [19:12:16] <lightguard_jp> https://github.com/seam/solder/blob/master/impl/pom.xml [19:12:21] <lightguard_jp> line 329 [19:41:24] *** jharting has quit IRC [19:57:18] *** lfryc has quit IRC [20:18:45] *** tcunning has joined #jbosstesting [20:32:15] *** Jaikiran has quit IRC [20:33:49] <tcunning> Hi! Kind of an interesting question - I have a custom JBoss deployer that I'd like to use with Arquillian tests. Is there a good way of getting it into an embedded test container? [20:34:24] <lightguard_jp> tcunning: Which container is it for? [20:34:32] <lightguard_jp> Did you create a new arquillian container? [20:35:15] <tcunning> it'd probably be for the AS6 one [20:35:39] <tcunning> creating my own would be creating my own maven artifact for it? [20:35:54] <tcunning> i have the deployer in its own maven artifact [20:36:22] <lightguard_jp> Yes [20:36:31] <tcunning> i was wondering whether there was a way i could use the the arquillian container artifact and then just install my deployer on top of that [20:36:33] <lightguard_jp> You'd probably need to subclass the container and add it in that way [20:36:41] <lightguard_jp> Not that I know of [20:36:48] <lightguard_jp> But that would be handy [20:36:52] <lightguard_jp> aslak: ^^ [20:38:14] <tcunning> i guess what i was wondering was whether there's a maven build phase where i could maybe put it in there in an antrun segment or something [20:43:31] *** michaelschuetz has joined #jbosstesting [21:12:32] *** michaelschuetz has quit IRC [21:19:27] *** michaelschuetz has joined #jbosstesting [21:30:24] *** michaelschuetz has quit IRC [21:36:42] *** ldimaggi_ has quit IRC [21:46:28] *** jdlee has joined #jbosstesting [21:49:38] <aslak> tcunning, heya [21:50:07] <aslak> tcunning, you should be able to deploy a deployer like any other deployment [21:52:12] <tcunning> aslak : so i would do it within the code of the test? or do something within maven? [21:52:25] <aslak> tcunning, within your test [21:52:51] <aslak> tcunning, in the current released v you can only deploy one deployment tho.. this is being fixed in next v. [21:53:09] <tcunning> is there anything special i would need to do to get it into the deployers directory vs deploy? [21:53:42] <aslak> tcunning, aa.. hmm, havn't thought of that in 6 [21:53:47] <aslak> ALR, ping [21:54:01] <ALR> aslak: Yesssssss. [21:54:37] <aslak> tcunning, a deployer can't be deployed as a normal deployment anymore ? [21:54:46] <aslak> ALR, nm.. :) [21:54:52] <ALR> aslak: Coolio [21:55:00] <aslak> ALR, busy? hehe [21:55:04] <tcunning> aslak : i'm not sure. i think it's suggested they go over to deployers [21:55:11] <ALR> aslak: Always. [21:55:16] <ALR> But never too busy for you [21:55:29] <aslak> ALR, what you doing these days [21:55:30] <aslak> ? [21:55:42] <aslak> ejb3 as7 ? [21:55:44] <ALR> .aslATM, Maven/SW integration [21:55:53] <ALR> APIizing it. [21:55:58] <aslak> aa cool [21:56:35] <aslak> tcunning, not sure if that is just a directory structure.. [21:56:41] <aslak> ALR, you know+ [21:56:41] <aslak> ? [21:56:55] <ALR> What's the question? [21:57:10] <aslak> deploying deployers via normal deployers [21:57:24] <ALR> Deployers are just regular MC beans. [21:57:26] <ALR> Which are installed [21:57:27] <aslak> deploy vs deployers directory structure.. [21:57:42] <ALR> There's no difference. [21:57:52] <aslak> right.. so a sw packaged deployer should be deployed as any other deployment in as6 right [21:57:59] <ALR> Yes. [21:58:03] <aslak> good [21:58:06] <aslak> :) [21:58:09] <ALR> A deployer class and a deployment descriptor [21:58:09] <tcunning> nice [21:58:21] <ALR> Usually in META-INF/something-jboss-beans.xml [21:58:53] *** wolfc has quit IRC [22:04:47] <tcunning> aslak : is the multiple deployment fix in trunk already? [22:05:18] <aslak> tcunning, https://github.com/aslakknutsen/arquillian/tree/the_bigger_picture [22:05:37] <tcunning> aslak : thanks! [22:06:04] <aslak> tcunning, mvn clean install -pl junit,containers/jbossas-remote-6 -am -DskipTests [22:13:19] *** tcunning has quit IRC [22:24:30] *** bleathem has quit IRC [22:49:07] *** michaelschuetz has joined #jbosstesting [22:59:00] *** jeand has quit IRC [23:05:44] *** michaelschuetz has quit IRC [23:18:20] *** mgoldmann has joined #jbosstesting [23:40:26] *** aslak has quit IRC