The Open Anzo Project

Semantic Application Middleware

Ticket #36 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

fix TestUpdates for hsql

Reported by: jpbetz Assigned to: mroy
Priority: major Milestone: 3.0 milestone1
Component: openanzo Version: 3.0
Keywords: regression hsql Cc:

Description (Last modified by mroy)

When run as part of the regressions (uncomment TestUpdates?.java in anzo-test/pom.xml) get the below failure. Please checkin anzo-test/pom.xml with test enabled once hsql issues are resolved.

junit.framework.AssertionFailedError: null
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertFalse(Assert.java:34)
	at junit.framework.Assert.assertFalse(Assert.java:41)
	at org.openanzo.test.client.TestUpdates.testNotification1(TestUpdates.java:1250)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:228)
	at junit.framework.TestSuite.run(TestSuite.java:223)
	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:314)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:907)

Change History

10/06/07 17:20:57 changed by jpbetz

(In [462]) addresses #16 and #34 and #35 and #36 reviewer: lee

Fix big mess. r461 should have broken build but not all regressions tests were being run. This commit increases the amount of regressions tests we run. For regression tests that we cannot run I have opened tickets (#34, #35, #36). Also fixed bug in my code that should have caused build to fail: dataType for count was xsd:int, not xsd:integer. Lastly, sneek in proper hash code stuff for GroupByProjection?.

10/15/07 13:08:09 changed by mroy

  • milestone changed from 2.5beta1 to 2.5beta2.

defer to beta2

10/18/07 17:25:18 changed by jpbetz

  • milestone changed from 2.5beta2 to 3.0 milestone1.

Milestone 2.5beta2 deleted

11/05/07 00:18:53 changed by jpbetz

  • version changed from 2.5 to 3.0.

11/15/07 14:44:51 changed by jpbetz

Assigning to mroy to review and close.

01/29/08 09:46:59 changed by mroy

  • status changed from new to closed.
  • resolution set to fixed.
  • description changed.
Copyright © 2007 - 2008 OpenAnzo.org