[jboss-cvs] JBossAS SVN: r64694 - in projects/microcontainer/trunk/kernel/src: tests/org/jboss/test/kernel/annotations/test/override and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Aug 18 17:26:41 EDT 2007


Author: alesj
Date: 2007-08-18 17:26:41 -0400 (Sat, 18 Aug 2007)
New Revision: 64694

Added:
   projects/microcontainer/trunk/kernel/src/resources/tests/xml-test/org/jboss/test/kernel/annotations/test/override/testLifecycleOverride.xml
   projects/microcontainer/trunk/kernel/src/tests/org/jboss/test/kernel/annotations/test/override/FactoryAnnotationOverrideXMLTestCase.java
Log:
Added missing files.

Added: projects/microcontainer/trunk/kernel/src/resources/tests/xml-test/org/jboss/test/kernel/annotations/test/override/testLifecycleOverride.xml
===================================================================
--- projects/microcontainer/trunk/kernel/src/resources/tests/xml-test/org/jboss/test/kernel/annotations/test/override/testLifecycleOverride.xml	                        (rev 0)
+++ projects/microcontainer/trunk/kernel/src/resources/tests/xml-test/org/jboss/test/kernel/annotations/test/override/testLifecycleOverride.xml	2007-08-18 21:26:41 UTC (rev 64694)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+   <bean name="Tester" class="org.jboss.test.kernel.annotations.support.LifecycleAnnotationTester">
+      <create method="fromXMLCreate"/>
+      <start method="fromXMLStart"/>
+      <stop method="fromXMLStop"/>
+      <destroy method="fromXMLDestroy"/>
+   </bean>
+
+</deployment>

Added: projects/microcontainer/trunk/kernel/src/tests/org/jboss/test/kernel/annotations/test/override/FactoryAnnotationOverrideXMLTestCase.java
===================================================================
--- projects/microcontainer/trunk/kernel/src/tests/org/jboss/test/kernel/annotations/test/override/FactoryAnnotationOverrideXMLTestCase.java	                        (rev 0)
+++ projects/microcontainer/trunk/kernel/src/tests/org/jboss/test/kernel/annotations/test/override/FactoryAnnotationOverrideXMLTestCase.java	2007-08-18 21:26:41 UTC (rev 64694)
@@ -0,0 +1,40 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, 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.kernel.annotations.test.override;
+
+import junit.framework.Test;
+
+/**
+ * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
+ */
+public class FactoryAnnotationOverrideXMLTestCase extends FactoryAnnotationOverrideTestCase
+{
+   public FactoryAnnotationOverrideXMLTestCase(String name) throws Throwable
+   {
+      super(name, true);
+   }
+
+   public static Test suite()
+   {
+      return suite(FactoryAnnotationOverrideXMLTestCase.class);
+   }
+}




More information about the jboss-cvs-commits mailing list