PDA

View Full Version : build test fails - Acces



mcilfone
10-21-2002, 04:26 AM
Hello everybody,
I've tried to build the test for Access DataBase, but after build test command I've had the following output from the compiler:
Buildfile: build.xml
test:
[java] .Could not find driver oracle.jdbc.OracleDriver
[java] Could not find driver com.mysql.jdbc.Driver
[java] ........................................
[java] .E........................................
[java] ......................................
[java] Time: 32,406
[java] There was 1 error:
[java] 1) mondrian.olap.fun.BuiltinFunTable$46.testToggleDrillState2(mondrian.olap.fun.FunUtil$MethodCallTestCase)java.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
[java] at mondrian.olap.fun.FunUtil$MethodCallTestCase.runTest(FunUtil.java:498)
[java] at mondrian.test.Main.run(Main.java:60)
[java] at mondrian.test.Main.runSafe(Main.java:40)
[java] at mondrian.test.Main.main(Main.java:31)
[java] Caused by: junit.framework.ComparisonFailure: expected:<foo> but was:<[Product].[All Products].[Drink].[Alcoholic Beverages], [Product].[All Products].[Drink].[Beverages], [Product].[All Products].[Drink].[Dairy], [Product].[All Products].[Food].[Baked Goods], [Product].[All Products].[Food].[Baking Goods], [Product].[All Products].[Food].[Breakfast Foods], [Product].[All Products].[Food].[Canned Foods], [Product].[All Products].[Food].[Canned Products], [Product].[All Products].[Food].[Dairy], [Product].[All Products].[Food].[Deli], [Product].[All Products].[Food].[Eggs], [Product].[All Products].[Food].[Frozen Foods], [Product].[All Products].[Food].[Meat], [Product].[All Products].[Food].[Produce], [Product].[All Products].[Food].[Seafood], [Product].[All Products].[Food].[Snack Foods], [Product].[All Products].[Food].[Snack Foods].[Snack Foods], [Product].[All Products].[Food].[Snacks], [Product].[All Products].[Food].[Starchy Foods], [Product].[All Products].[Non-Consumable].[Carousel], [Product].[All Products].[Non-Consumable].[Checkout], [Product].[All Products].[Non-Consumable].[Health and Hygiene], [Product].[All Products].[Non-Consumable].[Household], [Product].[All Products].[Non-Consumable].[Periodicals]>
[java] at mondrian.olap.fun.BuiltinFunTable$46.testToggleDrillState2(BuiltinFunTable.java:1665)
[java] ... 20 more
[java] FAILURES!!!
[java] Tests run: 120, Failures: 0, Errors: 1
BUILD SUCCESSFUL
Total time: 35 seconds
How can I solve it?
thanks in advance
Michele Cilfone

jhyde
10-21-2002, 05:37 AM
This output means that 1 test failed out of 120 tests. We ought to fix that test, but I'd say that mondrian was working well enough for most purposes.