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-local/src/test/java/org/apache/maven/scm/provider/local/repository LocalRepositoryTest.java
Date Fri, 29 Oct 2004 12:01:03 GMT
trygvis     2004/10/29 05:01:03

  Modified:    maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local/command/checkin
                        LocalCheckInCommandTest.java
               maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local/repository
                        LocalRepositoryTest.java
  Log:
  
  
  Revision  Changes    Path
  1.2       +2 -2      maven-scm/maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local/command/checkin/LocalCheckInCommandTest.java
  
  Index: LocalCheckInCommandTest.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local/command/checkin/LocalCheckInCommandTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LocalCheckInCommandTest.java	29 Oct 2004 11:52:03 -0000	1.1
  +++ LocalCheckInCommandTest.java	29 Oct 2004 12:01:03 -0000	1.2
  @@ -53,7 +53,7 @@
   
           try
           {
  -            scmManager.checkOut( makeScmRepository( "scm:local:src/test/repositories:"
+ module ), getWorkingDirectory(), "my-tag" );
  +            scmManager.checkOut( makeScmRepository( "scm:local:src/test/repository:" +
module ), getWorkingDirectory(), "my-tag" );
   
               fail( "Expected ScmException" );
           }
  
  
  
  1.3       +6 -6      maven-scm/maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local/repository/LocalRepositoryTest.java
  
  Index: LocalRepositoryTest.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local/repository/LocalRepositoryTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LocalRepositoryTest.java	26 Oct 2004 12:45:28 -0000	1.2
  +++ LocalRepositoryTest.java	29 Oct 2004 12:01:03 -0000	1.3
  @@ -31,7 +31,7 @@
       public void testExistingRepository()
   		throws Exception
   	{
  -        ScmRepository repository = getScmManager().makeScmRepository( "scm:local:src/test/repositories:test-repo"
);
  +        ScmRepository repository = getScmManager().makeScmRepository( "scm:local:src/test/repository:test-repo"
);
   
           assertNotNull( repository );
   
  @@ -47,7 +47,7 @@
   
           LocalScmProviderRepository local = (LocalScmProviderRepository) providerRepository;
   
  -        assertEquals( getTestFile( "src/test/repositories" ).getAbsolutePath(), local.getRoot()
);
  +        assertEquals( getTestFile( "src/test/repository" ).getAbsolutePath(), local.getRoot()
);
   
           assertEquals( "test-repo", local.getModule() );
   	}
  @@ -87,7 +87,7 @@
       {
           try
           {
  -            getScmManager().makeScmRepository( "scm:local:src/test/repositories" );
  +            getScmManager().makeScmRepository( "scm:local:src/test/repository" );
   
               fail( "Expected ScmRepositoryException." );
           }
  @@ -98,7 +98,7 @@
   
           try
           {
  -            getScmManager().makeScmRepository( "scm:local:src/test/repositories:" );
  +            getScmManager().makeScmRepository( "scm:local:src/test/repository:" );
   
               fail( "Expected ScmRepositoryException." );
           }
  @@ -114,7 +114,7 @@
       {
           try
           {
  -            getScmManager().makeScmRepository( "scm:local:src/test/repositories:non-existing-module"
);
  +            getScmManager().makeScmRepository( "scm:local:src/test/repository:non-existing-module"
);
   
               fail( "Expected ScmRepositoryException." );
           }
  
  
  

Mime
View raw message