maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r683424 - /maven/scm/trunk/maven-scm-api/src/test/java/org/apache/maven/scm/ScmFileSetTest.java
Date Wed, 06 Aug 2008 21:54:15 GMT
Author: bentmann
Date: Wed Aug  6 14:54:14 2008
New Revision: 683424

URL: http://svn.apache.org/viewvc?rev=683424&view=rev
Log:
o Removed duplicate test methods

Modified:
    maven/scm/trunk/maven-scm-api/src/test/java/org/apache/maven/scm/ScmFileSetTest.java

Modified: maven/scm/trunk/maven-scm-api/src/test/java/org/apache/maven/scm/ScmFileSetTest.java
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-api/src/test/java/org/apache/maven/scm/ScmFileSetTest.java?rev=683424&r1=683423&r2=683424&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-api/src/test/java/org/apache/maven/scm/ScmFileSetTest.java (original)
+++ maven/scm/trunk/maven-scm-api/src/test/java/org/apache/maven/scm/ScmFileSetTest.java Wed
Aug  6 14:54:14 2008
@@ -56,22 +56,6 @@
         return filename.substring( getBasedir().length(), filename.length() );
     }
 
-    public void testExcludes()
-        throws IOException
-    {
-        ScmFileSet fileSet = new ScmFileSet( new File( getBasedir() ), "**/**", "**/target/**"
);
-
-        File[] files = fileSet.getFiles();
-
-        for ( int i = 0; i < files.length; ++i )
-        {
-            if ( removeBasedir( files[i].getAbsolutePath() ).indexOf( "target" ) != -1 )
-            {
-                fail( "Found excludes in file set: " + files[i] );
-            }
-        }
-    }
-
     public void testFilesListExcludes()
         throws IOException
     {
@@ -90,14 +74,6 @@
         }
     }
 
-    public void testExcludes2()
-        throws IOException
-    {
-        ScmFileSet fileSet = new ScmFileSet( new File( getBasedir() ), "**/scmfileset/**",
"**/target/**" );
-
-        assertEquals( 2, fileSet.getFileList().size() );
-    }
-
     public void testFilesListExcludes2()
         throws IOException
     {
@@ -106,14 +82,6 @@
         assertEquals( 2, fileSet.getFileList().size() );
     }
 
-    public void testNoExcludes()
-        throws IOException
-    {
-        ScmFileSet fileSet = new ScmFileSet( new File( getBasedir() ), "src/**/scmfileset/**"
);
-
-        assertEquals( 2, fileSet.getFileList().size() );
-    }
-
     public void testFilesListNoExcludes()
         throws IOException
     {



Mime
View raw message