On 01/31/2013 01:37 PM, Mircea Markus wrote: > > On 31 Jan 2013, at 12:28, Michal Linhard wrote: > >> >> In this special case I'm gonna try to rewrite the test case as an >> excercise - it doesn't seem like that much extra work, and I'd rewrite >> it anyway I'm not satisfied with it's current form even if it was to >> stay in Java. > -1. If there's a choice it should be Java. So I did some Scala excercise, which I quite enjoyed, but I have to admit, it's not practical to require Scala in all the test code.
So how about this: https://github.com/mlinhard/infinispan/commit/297c275a22f582eafb1aaf1b0ebbdb7a856fd6b0 @Galder can you please review the Scala part ? MultiServerStartupListener - new class that I started in Java - this will make the precedent of commits of Java code into server modules, that may come out of this discussion ServerInstance - continued in Scala TwoServerTest - written in scala, but trivial, most of the code is copypaste from other test cases, there is quite straightforward line-by-line correspondence to java. m. -- Michal Linhard Quality Assurance Engineer JBoss Datagrid Red Hat Czech s.r.o. Purkynova 99 612 45 Brno, Czech Republic phone: +420 532 294 320 ext. 62320 mobile: +420 728 626 363 _______________________________________________ infinispan-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/infinispan-dev
