I'm trying to run a single test class manually:

  java -cp $CP \
        org.junit.runner.JUnitCore \
        org.dspace.authenticate.IPMatcherTest

and it blows up when trying to load the registries, apparently because
there are no tables into which to load them.  I've dug around a bit
and can't see how the test h2 database gets created.  AbstractUnitTest
seems to assume that this is already done.  Duuuh, what am I missing?

(Working on DS-642 and thought I may as well test IPMatcher by
learning to build a JUnit test suite.  We need one for it anyway.)

-- 
Mark H. Wood, Lead System Programmer   [email protected]
Asking whether markets are efficient is like asking whether people are smart.

Attachment: pgpBfjtWd4lmj.pgp
Description: PGP signature

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to