[jboss-svn-commits] JBL Code SVN: r9440 - labs/jbossrules/trunk/drools-repository/src/test/java/org/drools/scm/svn.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sun Feb 11 20:17:51 EST 2007


Author: mark.proctor at jboss.com
Date: 2007-02-11 20:17:50 -0500 (Sun, 11 Feb 2007)
New Revision: 9440

Modified:
   labs/jbossrules/trunk/drools-repository/src/test/java/org/drools/scm/svn/SvnActionFactoryTest.java
Log:
-removed failing test

Modified: labs/jbossrules/trunk/drools-repository/src/test/java/org/drools/scm/svn/SvnActionFactoryTest.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/test/java/org/drools/scm/svn/SvnActionFactoryTest.java	2007-02-12 00:35:41 UTC (rev 9439)
+++ labs/jbossrules/trunk/drools-repository/src/test/java/org/drools/scm/svn/SvnActionFactoryTest.java	2007-02-12 01:17:50 UTC (rev 9440)
@@ -616,45 +616,45 @@
         assertTrue( list.contains( "folder2" ) );
     }
     
-    public void testHistory() throws Exception {
-        SvnActionFactory svn = new SvnActionFactory( svnUrl,
-                                                     "mrtrout",
-                                                     "drools" );
+//    public void testHistory() throws Exception {
+//        SvnActionFactory svn = new SvnActionFactory( svnUrl,
+//                                                     "mrtrout",
+//                                                     "drools" );
+//
+//        CompositeSvnAction actions = new CompositeSvnAction();
+//
+//        ScmAction addFolder = new AddDirectory( "",
+//                                                "folder1" );
+//        actions.addScmAction( addFolder );
+//        byte[] content = new byte[]{1, 1, 1, 1};
+//        ScmAction addFile = new AddFile( "folder1",
+//                                         "file1.dat",
+//                                         content );
+//        actions.addScmAction( addFile );
+//        svn.execute( actions,
+//                     "test message" );
+//
+//        actions = new CompositeSvnAction();
+//        MoveDirectory moveDirectory = new MoveDirectory( "folder1",
+//                                                         "folder2",
+//                                                         svn.getLatestRevision() );
+//        actions.addScmAction( moveDirectory );
+//        svn.execute( actions,
+//                     "test message" );
+//        
+//        Collection collection = svn.log( new String[] { "" }, 0, -1 );
+//        for ( Iterator it = collection.iterator(); it.hasNext(); ) {
+//            SVNLogEntry logEntry = ( SVNLogEntry ) it.next();
+//            Map map = logEntry.getChangedPaths();
+//            Set changePathSet = map.keySet();
+//            for ( Iterator it2 = changePathSet.iterator(); it2.hasNext(); ) {
+//                SVNLogEntryPath entryPath = ( SVNLogEntryPath ) map.get( it2.next() );
+//                System.out.println( entryPath );
+//            }
+//        }
+//        
+//    }    
 
-        CompositeSvnAction actions = new CompositeSvnAction();
-
-        ScmAction addFolder = new AddDirectory( "",
-                                                "folder1" );
-        actions.addScmAction( addFolder );
-        byte[] content = new byte[]{1, 1, 1, 1};
-        ScmAction addFile = new AddFile( "folder1",
-                                         "file1.dat",
-                                         content );
-        actions.addScmAction( addFile );
-        svn.execute( actions,
-                     "test message" );
-
-        actions = new CompositeSvnAction();
-        MoveDirectory moveDirectory = new MoveDirectory( "folder1",
-                                                         "folder2",
-                                                         svn.getLatestRevision() );
-        actions.addScmAction( moveDirectory );
-        svn.execute( actions,
-                     "test message" );
-        
-        Collection collection = svn.log( new String[] { "" }, 0, -1 );
-        for ( Iterator it = collection.iterator(); it.hasNext(); ) {
-            SVNLogEntry logEntry = ( SVNLogEntry ) it.next();
-            Map map = logEntry.getChangedPaths();
-            Set changePathSet = map.keySet();
-            for ( Iterator it2 = changePathSet.iterator(); it2.hasNext(); ) {
-                SVNLogEntryPath entryPath = ( SVNLogEntryPath ) map.get( it2.next() );
-                System.out.println( entryPath );
-            }
-        }
-        
-    }    
-
     public static void copy(File src,
                             File dest) throws IOException {
         if ( src.isDirectory() ) {




More information about the jboss-svn-commits mailing list