Adam, Thanks for the patch! The updated version of this patch has been committed as revision 12170.
--Van Adam Monsen wrote: > On 10/26/07, Adam Monsen <[EMAIL PROTECTED]> wrote: > [...] >> And Van suggested I try setting the root password in my database. >> That should fix it, I'll give it a shot. > [...] > > Yep, it worked! But, I came up with a better way: just have the test > initializer look for conf/my.HibernateTest.properties and read that > instead, if possible. > > I attached a patch against rev 12168 that removes the requirement of > setting a root password for your MySQL database, and makes a few > other small improvements. All unit tests pass. > > Here's a ChangeLog: > > 2007-10-26 Adam Monsen <[EMAIL PROTECTED]> > * DatabaseSetup.java: use my.HibernateTest.properties if present. > This prevents the need to change the root password for the MySQL > database used for JUnit tests. > * build.xml: enable assertions during unit test runs. It's just good > practice. > * StringUtilsTest.java: new test for StringUtils. Not an exhaustive > test, just a placeholder, really. > * FastTest.java: add StringUtilsTest > * .classpath: Eclipse changes line endings to platform default, so > set line endings to native to avoid differences between platforms > when creating patches. > * .project: Eclipse changes line endings to platform default, so set > line endings to native to avoid differences between platforms when > creating patches. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
