[jboss-cvs] JBossAS SVN: r92073 - in projects/metadata/rar/trunk/src/test/java/org/jboss/test/metadata: xml and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Aug 6 11:32:47 EDT 2009


Author: alex.loubyansky at jboss.com
Date: 2009-08-06 11:32:46 -0400 (Thu, 06 Aug 2009)
New Revision: 92073

Added:
   projects/metadata/rar/trunk/src/test/java/org/jboss/test/metadata/xml/
   projects/metadata/rar/trunk/src/test/java/org/jboss/test/metadata/xml/RarXmlValidationUnitTestCase.java
Log:
added xml validation tests to each metadata subproject

Added: projects/metadata/rar/trunk/src/test/java/org/jboss/test/metadata/xml/RarXmlValidationUnitTestCase.java
===================================================================
--- projects/metadata/rar/trunk/src/test/java/org/jboss/test/metadata/xml/RarXmlValidationUnitTestCase.java	                        (rev 0)
+++ projects/metadata/rar/trunk/src/test/java/org/jboss/test/metadata/xml/RarXmlValidationUnitTestCase.java	2009-08-06 15:32:46 UTC (rev 92073)
@@ -0,0 +1,41 @@
+/*
+  * JBoss, Home of Professional Open Source
+  * Copyright 2005, JBoss Inc., and individual contributors as indicated
+  * by the @authors tag. See the copyright.txt in the distribution for a
+  * full listing of individual contributors.
+  *
+  * This is free software; you can redistribute it and/or modify it
+  * under the terms of the GNU Lesser General Public License as
+  * published by the Free Software Foundation; either version 2.1 of
+  * the License, or (at your option) any later version.
+  *
+  * This software is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+  * Lesser General Public License for more details.
+  *
+  * You should have received a copy of the GNU Lesser General Public
+  * License along with this software; if not, write to the Free
+  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+  */
+package org.jboss.test.metadata.xml;
+
+/**
+ * A XmlValidationUnitTestCase.
+ * 
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class RarXmlValidationUnitTestCase extends XmlValidationUnitTestCase
+{
+   public void setUp() throws Exception
+   {
+      super.setUp();      
+
+      // xml with default namespace
+      exclude("RA15DefaultNS_testDefaultNS.xml");
+      exclude("RA16DefaultNS_testDefaultNS.xml");
+      exclude("JbossRA10DefaultNS_testBasic.xml");
+   }
+}




More information about the jboss-cvs-commits mailing list