[Plexus-svn] SF.net SVN: plexus:[885] trunk/plexus-graph
Status: Alpha
Brought to you by:
rconner
|
From: <rc...@us...> - 2010-09-15 21:12:28
|
Revision: 885
http://plexus.svn.sourceforge.net/plexus/?rev=885&view=rev
Author: rconner
Date: 2010-09-15 21:12:21 +0000 (Wed, 15 Sep 2010)
Log Message:
-----------
I was wrong, there's another way to do a pseudo-suite in JUnit4.
Changed the surefire plugin to also run inner classes named Test*
Modified Paths:
--------------
trunk/plexus-graph/pom.xml
Removed Paths:
-------------
trunk/plexus-graph/src/test/java/com/phoenixst/plexus/util/UtilSuite.java
Modified: trunk/plexus-graph/pom.xml
===================================================================
--- trunk/plexus-graph/pom.xml 2010-09-15 21:00:23 UTC (rev 884)
+++ trunk/plexus-graph/pom.xml 2010-09-15 21:12:21 UTC (rev 885)
@@ -74,6 +74,19 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.6</version>
+ <configuration>
+ <includes>
+ <include>**/Test*.java</include>
+ <include>**/*Test.java</include>
+ <include>**/*$Test*.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
Deleted: trunk/plexus-graph/src/test/java/com/phoenixst/plexus/util/UtilSuite.java
===================================================================
--- trunk/plexus-graph/src/test/java/com/phoenixst/plexus/util/UtilSuite.java 2010-09-15 21:00:23 UTC (rev 884)
+++ trunk/plexus-graph/src/test/java/com/phoenixst/plexus/util/UtilSuite.java 2010-09-15 21:12:21 UTC (rev 885)
@@ -1,34 +0,0 @@
-/*
- * $Id$
- *
- * Copyright (C) 1994-2010 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.util;
-
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-
-
-/**
- * Suite for all the tests in this package.
- *
- * @author rconner
- */
-@RunWith( Suite.class )
-@Suite.SuiteClasses( {
- SingletonGraphTest.TestNull.class,
- SingletonGraphTest.TestInteger.class } )
-public class UtilSuite
-{
- // This class merely exists to hold the JUnit annotations.
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|