maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject cvs commit: maven-scm/maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/update SvnUpdateCommandTest.java
Date Mon, 28 Mar 2005 11:17:40 GMT
trygvis     2005/03/28 03:17:40

  Modified:    maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/changelog
                        SvnChangeLogCommandTest.java
               maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/checkin
                        SvnCheckInCommandTest.java
               maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/checkout
                        SvnCheckOutCommandTest.java
               maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/update
                        SvnUpdateCommandTest.java
  Removed:     maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn
                        SvnScmProviderTest.java
               maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/changelog
                        SvnChangeLogConsumerTest.java
  Log:
  o Partially fixing test cases.
  o Removing empty test case.
  
  Revision  Changes    Path
  1.7       +2 -2      maven-scm/maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/changelog/SvnChangeLogCommandTest.java
  
  Index: SvnChangeLogCommandTest.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/changelog/SvnChangeLogCommandTest.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SvnChangeLogCommandTest.java	30 Dec 2004 02:41:23 -0000	1.6
  +++ SvnChangeLogCommandTest.java	28 Mar 2005 11:17:40 -0000	1.7
  @@ -40,7 +40,7 @@
           Date endDate = getDate( 2003, 9, 10, GMT_TIME_ZONE );
   
           testCommandLine( "scm:svn:http://foo.com/svn/trunk", null, startDate, endDate,
  -                         "svn log --non-interactive -v -r \"{2003/09/10 GMT}:{2003/10/10
GMT}\" http://foo.com/svn/trunk" );
  +                         "svn --non-interactive log -v -r \"{2003/09/10 GMT}:{2003/10/10
GMT}\" http://foo.com/svn/trunk" );
       }
   
       // ----------------------------------------------------------------------
  
  
  
  1.5       +5 -5      maven-scm/maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/checkin/SvnCheckInCommandTest.java
  
  Index: SvnCheckInCommandTest.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/checkin/SvnCheckInCommandTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SvnCheckInCommandTest.java	3 Jan 2005 03:19:56 -0000	1.4
  +++ SvnCheckInCommandTest.java	28 Mar 2005 11:17:40 -0000	1.5
  @@ -53,28 +53,28 @@
           throws Exception
       {
           testCommandLine( "scm:svn:http://foo.com/svn/trunk",
  -                         "svn commit --non-interactive " + messageFileString );
  +                         "svn --non-interactive commit " + messageFileString );
       }
   
       public void testCommandLineWithoutTag()
           throws Exception
       {
           testCommandLine( "scm:svn:http://foo.com/svn/trunk",
  -                         "svn commit --non-interactive " + messageFileString );
  +                         "svn --non-interactive commit " + messageFileString );
       }
   
       public void testCommandLineTag()
           throws Exception
       {
           testCommandLine( "scm:svn:anonymous@http://foo.com/svn/trunk",
  -                         "svn commit --non-interactive --username anonymous " + messageFileString
);
  +                         "svn --username anonymous --non-interactive commit " + messageFileString
);
       }
   
       public void testCommandLineWithUsernameAndTag()
           throws Exception
       {
           testCommandLine( "scm:svn:anonymous@http://foo.com/svn/trunk",
  -                         "svn commit --non-interactive --username anonymous " + messageFileString
);
  +                         "svn --username anonymous --non-interactive commit " + messageFileString
);
       }
   
       // ----------------------------------------------------------------------
  
  
  
  1.8       +4 -4      maven-scm/maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/checkout/SvnCheckOutCommandTest.java
  
  Index: SvnCheckOutCommandTest.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/checkout/SvnCheckOutCommandTest.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SvnCheckOutCommandTest.java	4 Jan 2005 09:44:32 -0000	1.7
  +++ SvnCheckOutCommandTest.java	28 Mar 2005 11:17:40 -0000	1.8
  @@ -53,21 +53,21 @@
           throws Exception
       {
           testCommandLine( getScmManager(), "scm:svn:http://foo.com/svn/trunk", null,
  -                         "svn checkout --non-interactive http://foo.com/svn/trunk " + workingDirectory.getName()
);
  +                         "svn --non-interactive checkout http://foo.com/svn/trunk " + workingDirectory.getName()
);
       }
   
       public void testCommandLineWithEmptyRevision()
           throws Exception
       {
           testCommandLine( getScmManager(), "scm:svn:http://foo.com/svn/trunk", "",
  -                         "svn checkout --non-interactive -r  http://foo.com/svn/trunk "
+ workingDirectory.getName() );
  +                         "svn --non-interactive checkout -r  http://foo.com/svn/trunk "
+ workingDirectory.getName() );
       }
   
       public void testCommandLineWithRevision()
           throws Exception
       {
           testCommandLine( getScmManager(), "scm:svn:http://foo.com/svn/trunk", "10",
  -                         "svn checkout --non-interactive -r 10 http://foo.com/svn/trunk
" + workingDirectory.getName() );
  +                         "svn --non-interactive checkout -r 10 http://foo.com/svn/trunk
" + workingDirectory.getName() );
       }
   
       // ----------------------------------------------------------------------
  
  
  
  1.6       +5 -5      maven-scm/maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/update/SvnUpdateCommandTest.java
  
  Index: SvnUpdateCommandTest.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-providers/maven-scm-provider-svn/src/test/java/org/apache/maven/scm/provider/svn/command/update/SvnUpdateCommandTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SvnUpdateCommandTest.java	24 Dec 2004 03:04:48 -0000	1.5
  +++ SvnUpdateCommandTest.java	28 Mar 2005 11:17:40 -0000	1.6
  @@ -34,28 +34,28 @@
           throws Exception
       {
           testCommandLine( "scm:svn:http://foo.com/svn/trunk", "",
  -                         "svn update --non-interactive -r " );
  +                         "svn --non-interactive update -r " );
       }
   
       public void testCommandLineWithoutTag()
           throws Exception
       {
           testCommandLine( "scm:svn:http://foo.com/svn/trunk", null,
  -                         "svn update --non-interactive" );
  +                         "svn --non-interactive update" );
       }
   
       public void testCommandLineTag()
           throws Exception
       {
           testCommandLine( "scm:svn:anonymous@http://foo.com/svn/trunk", "10",
  -                         "svn update --non-interactive -r 10 --username anonymous" );
  +                         "svn --username anonymous --non-interactive update -r 10" );
       }
   
       public void testCommandLineWithUsernameAndTag()
           throws Exception
       {
          testCommandLine( "scm:svn:anonymous@http://foo.com/svn/trunk", "10",
  -                        "svn update --non-interactive -r 10 --username anonymous" );
  +                        "svn --username anonymous --non-interactive update -r 10" );
       }
   
       // ----------------------------------------------------------------------
  
  
  

Mime
View raw message