[Nodal-cvs] j-test/src/test/storage/http TestHttpRepository.java,1.1,1.2
Status: Pre-Alpha
Brought to you by:
leei
From: Lee I. <le...@us...> - 2005-01-08 00:54:59
|
Update of /cvsroot/nodal/j-test/src/test/storage/http In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1818/src/test/storage/http Modified Files: TestHttpRepository.java Log Message: Reflect IOException throws from Repository and Document access. Index: TestHttpRepository.java =================================================================== RCS file: /cvsroot/nodal/j-test/src/test/storage/http/TestHttpRepository.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TestHttpRepository.java 3 Oct 2004 19:42:26 -0000 1.1 --- TestHttpRepository.java 8 Jan 2005 00:54:50 -0000 1.2 *************** *** 9,12 **** --- 9,14 ---- package test.storage.http; + import java.io.IOException; + import org.nodal.Nodal; import org.nodal.Repository; *************** *** 14,18 **** import org.nodal.model.Node; import org.nodal.model.NodeContent; ! import org.nodal.nav.Path.Failure; import junit.framework.TestCase; --- 16,20 ---- import org.nodal.model.Node; import org.nodal.model.NodeContent; ! import org.nodal.nav.Path; import junit.framework.TestCase; *************** *** 54,58 **** NodeContent content2 = doc2Root.content(); assertTrue (content2 != null); ! } catch (Failure e) { fail(); } --- 56,62 ---- NodeContent content2 = doc2Root.content(); assertTrue (content2 != null); ! } catch (Path.Failure e) { ! fail(); ! } catch (IOException e) { fail(); } |