commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COMPRESS-305) Convert all tests to JUnit4 style
Date Tue, 17 Feb 2015 17:42:12 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved COMPRESS-305.
---------------------------
       Resolution: Fixed
    Fix Version/s: 1.10


Skip to content
Using Gmail with screen readers
Back
Remove label
Spam
Delete
Move to
 
Labels
 
More
 
2 of 934
 
svn commit: r1660457 [1/2] - in /commons/proper/compress/trunk/src/test/java/org/apache/commons/compress:
./ archivers/ archivers/ar/ archivers/arj/ archivers/cpio/ archivers/dump/ archivers/sevenz/
archivers/tar/ archivers/zip/ changes/ compressors/ c...
CommSVN
	x
sebb@apache.org
	
17:40 (0 minutes ago)
		
to commits
Author: sebb
Date: Tue Feb 17 17:40:54 2015
New Revision: 1660457

URL: http://svn.apache.org/r1660457
Log:
COMPRESS-305 Convert all tests to JUnit4 style
Convert the AbstractTestCase test cases

Added:
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/LongSymLinkTest.java
Modified:
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/AbstractTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/ArchiveReadTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/ArchiveUtilsTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/ChainingTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/DetectArchiverTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/IOMethodsTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/ArTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/ArchiveOutputStreamTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/CpioTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/DumpTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/JarTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/LongPathTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/SevenZTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/TarTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/ZipTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStreamTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/ar/ArArchiveOutputStreamTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/cpio/CpioArchiveInputStreamTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/cpio/CpioArchiveOutputStreamTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStreamTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/changes/ChangeSetTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/BZip2TestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/DeflateTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/FramedSnappyTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/LZMATestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/Pack200TestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/XZTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/ZTestCase.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/pack200/Pack200UtilsTest.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/snappy/FramedSnappyCompressorInputStreamTest.java


> Convert all tests to JUnit4 style
> ---------------------------------
>
>                 Key: COMPRESS-305
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-305
>             Project: Commons Compress
>          Issue Type: Task
>    Affects Versions: 1.9
>            Reporter: Sebb
>             Fix For: 1.10
>
>
> Most of the tests still use the JUnit3 style, however a large proportion have been converted
to use the JUnit4 style with \@Test annotations.
> It's a bit confusing to have the two styles intermingled.
> There is an AbstractTestCase which has a lot of sub-classes.
> Two its sub-classes also use suite():
> - LongPathTest
> - ArchiveReadTests
> These tests are likely to be the trickiest to convert.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message