You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ep...@apache.org on 2006/05/09 03:02:21 UTC
svn commit: r405251 -
/maven/plugins/trunk/maven-assembly-plugin/src/test/java/org/apache/maven/plugin/assembly/AssemblyMojoTest.java
Author: epunzalan
Date: Mon May 8 18:02:18 2006
New Revision: 405251
URL: http://svn.apache.org/viewcvs?rev=405251&view=rev
Log:
Reverting previous commit since the mojo is throwing an unexpected exception so it IS better to report it as a test exception
Modified:
maven/plugins/trunk/maven-assembly-plugin/src/test/java/org/apache/maven/plugin/assembly/AssemblyMojoTest.java
Modified: maven/plugins/trunk/maven-assembly-plugin/src/test/java/org/apache/maven/plugin/assembly/AssemblyMojoTest.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-assembly-plugin/src/test/java/org/apache/maven/plugin/assembly/AssemblyMojoTest.java?rev=405251&r1=405250&r2=405251&view=diff
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/test/java/org/apache/maven/plugin/assembly/AssemblyMojoTest.java (original)
+++ maven/plugins/trunk/maven-assembly-plugin/src/test/java/org/apache/maven/plugin/assembly/AssemblyMojoTest.java Mon May 8 18:02:18 2006
@@ -443,15 +443,10 @@
}
public void testFileSetDirectoryDoesntExist()
+ throws Exception
{
- try
- {
- executeMojo( "fileSet-doesnt-exist-plugin-config.xml" );
- }
- catch ( Exception e )
- {
- fail( "Should not throw an exception on an empty assembly" );
- }
+ executeMojo( "fileSet-doesnt-exist-plugin-config.xml" );
+ assertTrue( true );
}
private AssemblyMojo getMojo( String pluginXml )