From portal-commits at lists.jboss.org Sat Oct 20 10:17:56 2007 Content-Type: multipart/mixed; boundary="===============6719315009127997747==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r8723 - in modules/test/trunk/unit/src: resources/test/org/jboss/test/unit/sample and 1 other directory. Date: Sat, 20 Oct 2007 10:17:56 -0400 Message-ID: --===============6719315009127997747== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: julien(a)jboss.com Date: 2007-10-20 10:17:56 -0400 (Sat, 20 Oct 2007) New Revision: 8723 Added: modules/test/trunk/unit/src/main/org/jboss/test/unit/sample/TestDriver2.= java Modified: modules/test/trunk/unit/src/resources/test/org/jboss/test/unit/sample/f1= .xml Log: adding use case for simple test case executed Copied: modules/test/trunk/unit/src/main/org/jboss/test/unit/sample/TestDri= ver2.java (from rev 8722, modules/test/trunk/unit/src/main/org/jboss/test/u= nit/sample/TestDriver1.java) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/test/trunk/unit/src/main/org/jboss/test/unit/sample/TestDriver2= .java (rev 0) +++ modules/test/trunk/unit/src/main/org/jboss/test/unit/sample/TestDriver2= .java 2007-10-20 14:17:56 UTC (rev 8723) @@ -0,0 +1,49 @@ +/*************************************************************************= ***** + * JBoss, a division of Red Hat = * + * Copyright 2006, Red Hat Middleware, LLC, 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.unit.sample; + +import org.jboss.unit.TestId; +import org.jboss.unit.driver.AbstractTestDriver; +import org.jboss.unit.driver.DriverCommand; +import org.jboss.unit.driver.DriverResponse; +import org.jboss.unit.driver.response.EndTestResponse; +import org.jboss.unit.info.TestInfo; +import org.jboss.unit.info.impl.SimpleTestCaseInfo; + +/** + * @author Julien Viet + * @version $Revision: 1.1 $ + */ +public class TestDriver2 extends AbstractTestDriver +{ + + public TestInfo getInfo() + { + return new SimpleTestCaseInfo("test"); + } + + public DriverResponse invoke(TestId id, DriverCommand command) + { + return new EndTestResponse(); + } +} \ No newline at end of file Modified: modules/test/trunk/unit/src/resources/test/org/jboss/test/unit/sa= mple/f1.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/test/trunk/unit/src/resources/test/org/jboss/test/unit/sample/f= 1.xml 2007-10-20 13:59:49 UTC (rev 8722) +++ modules/test/trunk/unit/src/resources/test/org/jboss/test/unit/sample/f= 1.xml 2007-10-20 14:17:56 UTC (rev 8723) @@ -27,4 +27,7 @@ + + + --===============6719315009127997747==--