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/NullTestRunnerContext.java
Modified:
modules/test/trunk/unit/src/main/org/jboss/unit/runner/AbstractTestRunner.java
Log:
removed useless class
Modified: modules/test/trunk/unit/src/main/org/jboss/unit/runner/AbstractTestRunner.java
===================================================================
---
modules/test/trunk/unit/src/main/org/jboss/unit/runner/AbstractTestRunner.java 2007-10-12
14:05:39 UTC (rev 8615)
+++
modules/test/trunk/unit/src/main/org/jboss/unit/runner/AbstractTestRunner.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 <a href="mailto:julien@jboss.org">Julien Viet</a>
Deleted:
modules/test/trunk/unit/src/main/org/jboss/unit/runner/impl/NullTestRunnerContext.java
===================================================================
---
modules/test/trunk/unit/src/main/org/jboss/unit/runner/impl/NullTestRunnerContext.java 2007-10-12
14:05:39 UTC (rev 8615)
+++
modules/test/trunk/unit/src/main/org/jboss/unit/runner/impl/NullTestRunnerContext.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 <a href="mailto:julien@jboss.org">Julien Viet</a>
- * @version $Revision: 1.1 $
- */
-public class NullTestRunnerContext implements TestRunnerContext
-{
-
- /** . */
- private static final NullTestRunnerContext instance = new NullTestRunnerContext();
-
- public static NullTestRunnerContext getInstance()
- {
- return instance;
- }
-
- public Map<String, String> getProperties()
- {
- return Collections.emptyMap();
- }
-
- public TestFilter getFilter()
- {
- return NullFilter.getInstance();
- }
-
- public TestRunnerEventBroadcaster getEventBroadcaster()
- {
- return null;
- }
-}