tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: initialize jndi context as usual
Date Sat, 04 Jun 2016 22:03:05 GMT
Most of http://tomee.apache.org/ng/developer/testing/index.html will give
you EE injections in tests including UserTransaction
Le 4 juin 2016 23:54, "Leonardo K. Shikida" <shikida@gmail.com> a écrit :

> well, I was trying to run a unit test here :-)
>
> []
>
> Leo
>
> On Sat, Jun 4, 2016 at 12:43 PM, Romain Manni-Bucau <rmannibucau@gmail.com
> >
> wrote:
>
> > Think it references http://tomee.apache.org/clients.html but not sure
> that
> > is the most modern coding style to be honest. What is your goal?
> > Le 4 juin 2016 14:39, "Leonardo K. Shikida" <shikida@gmail.com> a écrit
> :
> >
> > > In
> > >
> > > http://tomee.apache.org/unit-testing-transactions.html
> > >
> > > there's
> > >
> > > protected void setUp() throws Exception {
> > >     // initialize jndi context as usual}
> > >
> > > sorry, I don't know how to initialize jndi context (as usual)
> > >
> > > :-)
> > >
> > > can anyone update the example pls?
> > >
> > > []
> > >
> > > Leo
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message