sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-commons-contentdetection] 05/30: SLING-4757 - remove duplicate test
Date Tue, 07 Nov 2017 09:20:45 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.commons.contentdetection-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-contentdetection.git

commit dceeb791927ea03694d28db6a77ad56c0399f974
Author: Bertrand Delacretaz <bdelacretaz@apache.org>
AuthorDate: Mon Jun 1 09:21:14 2015 +0000

    SLING-4757 - remove duplicate test
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/contentdetection@1682845
13f79535-47bb-0310-9956-ffa450edef68
---
 .../contentdetection/internal/FileNameExtractorImplTest.java       | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/test/java/org/apache/sling/commons/contentdetection/internal/FileNameExtractorImplTest.java
b/src/test/java/org/apache/sling/commons/contentdetection/internal/FileNameExtractorImplTest.java
index b7d9f6e..f280dc7 100644
--- a/src/test/java/org/apache/sling/commons/contentdetection/internal/FileNameExtractorImplTest.java
+++ b/src/test/java/org/apache/sling/commons/contentdetection/internal/FileNameExtractorImplTest.java
@@ -33,13 +33,6 @@ public class FileNameExtractorImplTest {
     }
 
     @Test
-    public void testExtractForBackslash() throws Exception {
-        String rawPath = "C:\\Test windows%path\\demo.jpg";
-        String expectedFileName = "demo.jpg";
-        Assert.assertEquals(expectedFileName, fileNameExtractor.extract(rawPath));
-    }
-
-    @Test
     public void testBackslashPath() throws Exception {
         String rawPath = "C:\\Test windows%path\\demo.jpg";
         String expectedFileName = "demo.jpg";

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message