[Plexus-svn] SF.net SVN: plexus:[882] trunk/plexus-graph/src/test/java/com/phoenixst
Status: Alpha
Brought to you by:
rconner
From: <rc...@us...> - 2010-09-15 16:07:33
|
Revision: 882 http://plexus.svn.sourceforge.net/plexus/?rev=882&view=rev Author: rconner Date: 2010-09-15 16:07:22 +0000 (Wed, 15 Sep 2010) Log Message: ----------- beginning to refactor test code, breaking the build Removed Paths: ------------- trunk/plexus-graph/src/test/java/com/phoenixst/junit/ trunk/plexus-graph/src/test/java/com/phoenixst/plexus/StaticGraphTest.java Deleted: trunk/plexus-graph/src/test/java/com/phoenixst/plexus/StaticGraphTest.java =================================================================== --- trunk/plexus-graph/src/test/java/com/phoenixst/plexus/StaticGraphTest.java 2010-09-15 16:02:06 UTC (rev 881) +++ trunk/plexus-graph/src/test/java/com/phoenixst/plexus/StaticGraphTest.java 2010-09-15 16:07:22 UTC (rev 882) @@ -1,62 +0,0 @@ -/* - * $Id$ - * - * Copyright (C) 1994-2005 by Phoenix Software Technologists, - * Inc. and others. All rights reserved. - * - * THIS PROGRAM AND DOCUMENTATION IS PROVIDED UNDER THE TERMS OF THE - * COMMON PUBLIC LICENSE ("AGREEMENT") WHICH ACCOMPANIES IT. ANY - * USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES - * RECIPIENT'S ACCEPTANCE OF THE AGREEMENT. - * - * The license text can also be found at - * http://opensource.org/licenses/cpl.php - */ - -package com.phoenixst.plexus; - -import junit.framework.Test; - - -/** - * A {@link Graph} tester which uses a single static graph, mostly - * for ease of use when testing with beanshell. - * - * @author Ray A. Conner - */ -public class StaticGraphTest -{ - - private static Graph staticGraph = null; - - - private StaticGraphTest() - { - super(); - } - - - public static Graph getGraph() - { - return staticGraph; - } - - - public static void setGraph( Graph graph ) - { - staticGraph = graph; - } - - - public static Test suite() - { - String suiteName; - if( staticGraph instanceof DefaultGraph ) { - suiteName = ""; - } else { - suiteName = staticGraph.toString(); - } - return DefaultGraphTest.suite( staticGraph, suiteName ); - } - -} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |