Subject Re: [Firebird-Java] Failed unit tests
Author Mark Rotteveel
On Sat, 19 Nov 2011 20:01:35 -0000, "Fabiano"
<fabiano@...>
wrote:
> Hi, i downloaded Jaybird from this place:
>
> cvs -z3
> -d:pserver:anonymous@...:/cvsroot/firebird co
-P
> client-java
>
> And built it on Windows 7 with JDK 6 Update 27
>
> During unit tests, there are a lot of tests failing. Ex:
>
> [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0,687 sec
> [junit] Test org.firebirdsql.jca.TestFBBlob FAILED
>
> Is it expected?
>
> I have Firebird 2.5.1 installed in my computer.

No it is not expected, at least all the pure-java tests should pass
(native and embedded are a bit more complex). Could you try to run 'build
clean' and then 'build' (without any commandline options) and see if it
works?

I'd like to know how you built Jaybird (ie which commandline options you
passed if any) and if you have DatabaseAccess set to restrict in
Firebird.conf (if so you need to add the Jaybird build-folder to it as
well). Could you also send me (personally) a zipped copy of the
output/reports folders?

I do use modified build.bat versions in my local copy (to build against
Java 5, 6 and 7), so tomorrow I will doublecheck the original build.bat in
CVS.

Mark