|
From: Pelle B. <pe...@us...> - 2004-04-17 19:28:31
|
Update of /cvsroot/neuclear/neuclear-id/src/test/org/neuclear/id/verifier In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30148/src/test/org/neuclear/id/verifier Modified Files: VerificationTest.java Log Message: Identity is now fully html based as is the ServiceBuilder. VerifyingReader correctly identifies html files and parses them as such. Targets and Target now parse html link tags AssetBuilder and ExchangeAgentBuilder have been updated to support it and provide html formatted contracts. The Asset.Reader and ExchangeAgent.Reader still need to be updated. Index: VerificationTest.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/test/org/neuclear/id/verifier/VerificationTest.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** VerificationTest.java 20 Jan 2004 17:39:13 -0000 1.11 --- VerificationTest.java 17 Apr 2004 19:28:23 -0000 1.12 *************** *** 31,34 **** --- 31,41 ---- $Id$ $Log$ + Revision 1.12 2004/04/17 19:28:23 pelle + Identity is now fully html based as is the ServiceBuilder. + VerifyingReader correctly identifies html files and parses them as such. + Targets and Target now parse html link tags + AssetBuilder and ExchangeAgentBuilder have been updated to support it and provide html formatted contracts. + The Asset.Reader and ExchangeAgent.Reader still need to be updated. + Revision 1.11 2004/01/20 17:39:13 pelle Further updates to unit tests *************** *** 110,113 **** --- 117,124 ---- } + public final void testSamples() throws IOException, DocumentException, NeuClearException, XMLException { + runDirectoryTest("src/testdata/simple", true); + } + public final void runDirectoryTest(final String path, final boolean wantValid) throws DocumentException, IOException, FileNotFoundException, NeuClearException, XMLException { final File dir = new File(path); *************** *** 119,123 **** filter = new FilenameFilter() { public boolean accept(final File dirf, final String name) { ! return name.endsWith(".id"); } }; --- 130,134 ---- filter = new FilenameFilter() { public boolean accept(final File dirf, final String name) { ! return name.endsWith(".id") || name.endsWith(".xml") || name.endsWith(".html"); } }; |