From portal-commits at lists.jboss.org Fri Oct 12 10:06:36 2007 Content-Type: multipart/mixed; boundary="===============4293500400206785997==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r8616 - in modules/test/trunk/unit/src/main/org/jboss/unit/runner: impl and 1 other directory. Date: Fri, 12 Oct 2007 10:06:35 -0400 Message-ID: --===============4293500400206785997== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: julien(a)jboss.com Date: 2007-10-12 10:06:35 -0400 (Fri, 12 Oct 2007) New Revision: 8616 Removed: modules/test/trunk/unit/src/main/org/jboss/unit/runner/impl/NullTestRunn= erContext.java Modified: modules/test/trunk/unit/src/main/org/jboss/unit/runner/AbstractTestRunne= r.java Log: removed useless class Modified: modules/test/trunk/unit/src/main/org/jboss/unit/runner/AbstractTe= stRunner.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/unit/runner/AbstractTestRunn= er.java 2007-10-12 14:05:39 UTC (rev 8615) +++ modules/test/trunk/unit/src/main/org/jboss/unit/runner/AbstractTestRunn= er.java 2007-10-12 14:06:35 UTC (rev 8616) @@ -22,10 +22,8 @@ *************************************************************************= *****/ package org.jboss.unit.runner; = -import org.jboss.unit.runner.event.TestRunnerEventBroadcasterSupport; import org.jboss.unit.runner.event.EndRunnerEvent; import org.jboss.unit.runner.event.StartRunnerEvent; -import org.jboss.unit.runner.impl.NullTestRunnerContext; = /** * @author Julien Viet Deleted: modules/test/trunk/unit/src/main/org/jboss/unit/runner/impl/NullTe= stRunnerContext.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/unit/runner/impl/NullTestRun= nerContext.java 2007-10-12 14:05:39 UTC (rev 8615) +++ modules/test/trunk/unit/src/main/org/jboss/unit/runner/impl/NullTestRun= nerContext.java 2007-10-12 14:06:35 UTC (rev 8616) @@ -1,62 +0,0 @@ -/*************************************************************************= ***** - * 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.unit.runner.impl; - -import org.jboss.unit.runner.filter.NullFilter; -import org.jboss.unit.runner.TestRunnerContext; -import org.jboss.unit.runner.TestFilter; -import org.jboss.unit.runner.TestRunnerEventBroadcaster; - -import java.util.Map; -import java.util.Collections; - -/** - * @author Julien Viet - * @version $Revision: 1.1 $ - */ -public class NullTestRunnerContext implements TestRunnerContext -{ - - /** . */ - private static final NullTestRunnerContext instance =3D new NullTestRun= nerContext(); - - public static NullTestRunnerContext getInstance() - { - return instance; - } - - public Map getProperties() - { - return Collections.emptyMap(); - } - - public TestFilter getFilter() - { - return NullFilter.getInstance(); - } - - public TestRunnerEventBroadcaster getEventBroadcaster() - { - return null; - } -} --===============4293500400206785997==--