commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1196424 - /commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/util/EncryptDecryptTest.java
Date Wed, 02 Nov 2011 01:16:42 GMT
Author: ggregory
Date: Wed Nov  2 01:16:42 2011
New Revision: 1196424

URL: http://svn.apache.org/viewvc?rev=1196424&view=rev
Log:
Convert to JUnit 4.

Modified:
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/util/EncryptDecryptTest.java

Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/util/EncryptDecryptTest.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/util/EncryptDecryptTest.java?rev=1196424&r1=1196423&r2=1196424&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/util/EncryptDecryptTest.java
(original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/util/EncryptDecryptTest.java
Wed Nov  2 01:16:42 2011
@@ -16,14 +16,17 @@
  */
 package org.apache.commons.vfs2.util;
 
-import junit.framework.TestCase;
+import static org.junit.Assert.assertEquals;
+
+import org.junit.Test;
 
 /**
  *
  */
-public class EncryptDecryptTest extends TestCase
+public class EncryptDecryptTest
 {
 
+    @Test
     public void testEncryptDecrypt() throws Exception
     {
         String source = "Qryp2!t&tpR59";



Mime
View raw message