You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2016/06/02 22:09:17 UTC

[32/50] maven git commit: Removing redundant test

Removing redundant test

This closes #85


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/cfaee84a
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/cfaee84a
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/cfaee84a

Branch: refs/heads/slf4j-gossip
Commit: cfaee84adf44c53e7a169ddaf11e16308708cb88
Parents: 12a1eb2
Author: August Shi <aw...@illinois.edu>
Authored: Fri May 27 17:52:55 2016 -0500
Committer: Michael Osipov <mi...@apache.org>
Committed: Sat May 28 11:12:08 2016 +0200

----------------------------------------------------------------------
 .../apache/maven/cli/transfer/FileSizeFormatTest.java    | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/cfaee84a/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
----------------------------------------------------------------------
diff --git a/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java b/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
index 394c7ed..a870411 100644
--- a/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
+++ b/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
@@ -257,16 +257,7 @@ public class FileSizeFormatTest {
     }
 
     @Test
-    public void testProgressedSizeWithZeroSize()
-    {
-         FileSizeFormat format = new FileSizeFormat( Locale.ENGLISH );
-
-         long _0_bytes = 0L;
-         assertEquals( "0 B", format.formatProgress( _0_bytes, _0_bytes ) );
-    }
-
-    @Test
-    public void testProgressedSizeZeroAndSizeZero()
+    public void testProgressedBothZero()
     {
          FileSizeFormat format = new FileSizeFormat( Locale.ENGLISH );