db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Øystein Grøvlen <Oystein.Grov...@Sun.COM>
Subject Re: Running Tests
Date Sun, 02 Jul 2006 17:49:46 GMT
Gokul Soundararajan wrote:

> 1. 1st set related to BaseJDBCTestCase with method assertTrue()
> 2. 2nd set related to BaseJDBCTestCase.java/ScrollResultSetTest.java with
> methods assertEquals(), assertTrue(), and assertFalse()
> 
> These errors seem related. Also, I get the same errors if I build from
> ${derby.home} by running "ant testing". Please see below for the error printouts.

Do you get the errors if you do "ant all"?

> To run the tests, I wrote a script which runs sysinfo first and then the
> cacheService unit test. It doesn't run any tests. I get the error message:
>  Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/derbyTesting/unitTests/harness/UnitTestMain

What happens if you try to run class files in your classpath instead of 
jars?  (i.e, CLASSPATH=$DERBY_HOME/classes)

--
Øystein


Mime
View raw message