Adrian Crum wrote: > --- On Sun, 1/31/10, Adam Heath <doo...@brainfood.com> wrote: >> Subject: Re: svn commit: r905114 - in /ofbiz/trunk/framework/base: build.xml >> src/org/ofbiz/base/test/BaseUnitTests.java >> To: dev@ofbiz.apache.org >> Date: Sunday, January 31, 2010, 1:05 PM >> adri...@apache.org >> wrote: >>> Author: adrianc >>> Date: Sun Jan 31 20:25:46 2010 >>> New Revision: 905114 >>> >>> URL: http://svn.apache.org/viewvc?rev=905114&view=rev >>> Log: >>> Added a unit test for StringUtil.java. I commented out >> the new webslinger tests which seem to fail every time. >> >> Bad commit, 2 things done that are unrelated. >> >> What do you mean the TTLObject tests fail? Care to >> show what fails? >> Before I committed this code, I did extensive testing to be >> sure that >> the tests always worked(before I added to ofbiz, they were >> a little >> racy, and would sometimes fail). >> >> I just ran just my 2 new test suites in a loop of 50, and >> they didn't >> fail. I'm using sun java 1.6(not openjdk), and a >> system installed ant. > > I think the difference is I'm running the tests from within the component, > not from the main build file. I have my local copy set to run the base > component tests every time I compile. It would be helpful if we could keep it > that way. If not, then I'll uncomment it and keep my local copy patched.
Of course, that's what I do. You'll notice that I purposefully didn't add them to testdef, they are only runnable from framework/base. What exception do you get?