[teiid-commits] teiid SVN: r817 - in trunk/common-internal/src/test: resources and 1 other directory.
teiid-commits at lists.jboss.org
teiid-commits at lists.jboss.org
Tue Apr 21 15:43:28 EDT 2009
Author: tejones
Date: 2009-04-21 15:43:28 -0400 (Tue, 21 Apr 2009)
New Revision: 817
Added:
trunk/common-internal/src/test/resources/BooksWebService_VDB.vdb
Modified:
trunk/common-internal/src/test/java/com/metamatrix/common/vdb/api/TestVDBArchive.java
Log:
TEIID-523 Added test for the setting of the wsdlAvailable flag.
Modified: trunk/common-internal/src/test/java/com/metamatrix/common/vdb/api/TestVDBArchive.java
===================================================================
--- trunk/common-internal/src/test/java/com/metamatrix/common/vdb/api/TestVDBArchive.java 2009-04-21 18:48:10 UTC (rev 816)
+++ trunk/common-internal/src/test/java/com/metamatrix/common/vdb/api/TestVDBArchive.java 2009-04-21 19:43:28 UTC (rev 817)
@@ -37,6 +37,23 @@
/*
+ * Test the setting of the WSDL Defined flag
+ */
+ public void testWSDLVDBArchive() throws Exception {
+
+ FileUtils.copy(UnitTestUtil.getTestDataPath()+"/BooksWebService_VDB.vdb", vdbPath);
+
+ File vdbFile = new File(vdbPath);
+
+ VDBArchive archive = new VDBArchive(vdbFile);
+
+ assertEquals(true, archive.def.hasWSDLDefined());
+
+ archive.close();
+ vdbFile.delete();
+ }
+
+ /*
* Updates based on the File VDB
*/
public void testFileVDBArchive() throws Exception {
Added: trunk/common-internal/src/test/resources/BooksWebService_VDB.vdb
===================================================================
(Binary files differ)
Property changes on: trunk/common-internal/src/test/resources/BooksWebService_VDB.vdb
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the teiid-commits
mailing list