[hibernate-dev] refresher needed on running Hibernate unit tests in Intellij?

Steve Ebersole steve at hibernate.org
Tue Dec 15 15:53:28 EST 2015


Yes, this points back to a discussion we had here wrt allowing Java 8 for
tests and the problems that causes for IDE imports.


On Tue, Dec 15, 2015 at 2:52 PM andrea boriero <dreborier at gmail.com> wrote:

> i think you are using java 7 instead of java 8..
>
> On 15 December 2015 at 20:32, Scott Marlow <smarlow at redhat.com> wrote:
>
> > Hi,
> >
> > I created a new Java project for the folder containing Hibernate master
> > and imported the gradle build file (accepted defaults).  When I tried
> > running a unit test, I get a compile error in
> > org.hibernate.test.schemaupdate.SchemaUpdateDelimiterTest on the call to
> > "Files.readAllLines( output.toPath() )"
> >
> > Error:(60, 54) java: method readAllLines in class java.nio.file.Files
> > cannot be applied to given types;
> >    required: java.nio.file.Path,java.nio.charset.Charset
> >    found: java.nio.file.Path
> >    reason: actual and formal argument lists differ in length
> >
> > I'd like to single step through some test failures with
> > PooledThreadLocalLoOptimizer but this is slowing me down.
> >
> > I'm using Intellij 15.0.2.
> >
> > Thanks,
> > Scott
> > _______________________________________________
> > hibernate-dev mailing list
> > hibernate-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>


More information about the hibernate-dev mailing list