You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ev...@apache.org on 2003/05/03 17:51:16 UTC
cvs commit: maven-new/plugins/jelly/src/test/org/apache/maven/plugins/jelly DefaultJellyPluginTest.java
evenisse 2003/05/03 08:51:16
Modified: plugins/jelly/src/test/org/apache/maven/plugins/jelly
DefaultJellyPluginTest.java
Log:
Override tearDown method because PlexusTestCase generate a NullPointerException in tearDown method when container isn't instanciated.
This method will be remove when PlexusTestCase will be updated.
Revision Changes Path
1.3 +15 -1 maven-new/plugins/jelly/src/test/org/apache/maven/plugins/jelly/DefaultJellyPluginTest.java
Index: DefaultJellyPluginTest.java
===================================================================
RCS file: /home/cvs/maven-new/plugins/jelly/src/test/org/apache/maven/plugins/jelly/DefaultJellyPluginTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DefaultJellyPluginTest.java 2 May 2003 09:38:54 -0000 1.2
+++ DefaultJellyPluginTest.java 3 May 2003 15:51:16 -0000 1.3
@@ -60,4 +60,18 @@
}
+ /*
+ * To be removed when Plexus.tearDown will be updated
+ */
+ public void tearDown() throws Exception
+ {
+ try
+ {
+ super.tearDown();
+ System.out.println("We can remove tearDown in DefaultJellyPluginTest. PlexusTestCase is updated");
+ }
+ catch(NullPointerException e)
+ {
+ }
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org