On Fri, 2013-02-15 at 17:24 -0500, Rafael Schloming wrote: > Couldn't you use map message the way Rob described in his later email to > avoid having two? > > --Rafael > > On Fri, Feb 15, 2013 at 4:43 PM, Alan Conway <acon...@redhat.com> wrote: > > > Another wrinkle in my type testing saga: > > > > Rob's DecoderImpl approach works in native java but not in JNI. > > Conversely the Data approach works in JNI but not in native. > > > > So it looks like I will write 2 tests. Can anybody tell me how to set up > > different junit tests to run based on the profile (-P proton-j vs. -P > > proton-jni) > > > > Thanks, > > Alan.
I went with the Decoder approach for native Java and a Data object wrapped as a Decoder for JNI, so there's only one test.