diff options
Diffstat (limited to 'tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/CVSTestSetup.java')
-rw-r--r-- | tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/CVSTestSetup.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/CVSTestSetup.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/CVSTestSetup.java index bff8c3eaf..789269652 100644 --- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/CVSTestSetup.java +++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/CVSTestSetup.java @@ -168,18 +168,18 @@ public class CVSTestSetup extends TestSetup { } protected CVSRepositoryLocation setupRepository(String location) throws CVSException { - - // Give some info about which repository the tests are running with - System.out.println("Connecting to: " + location); // Validate that we can connect, also creates and caches the repository location. This // is important for the UI tests. CVSRepositoryLocation repository = (CVSRepositoryLocation)CVSProviderPlugin.getPlugin().getRepository(location); - //CVSRepositoryLocation repository = CVSRepositoryLocation.fromString(location); + + // Give some info about which repository the tests are running with + System.out.println("Connecting to: " + repository.toString()); + try { repository.validateConnection(new NullProgressMonitor()); } catch (CVSException e) { - System.out.println("Unable to connect to remote repository: " + repository.getLocation()); + System.out.println("Unable to connect to remote repository: " + repository.toString()); throw e; } |