Test stability: another attempt to have stable connect() behavior
commit46c8482afb0a71c69d261239bd4e04806a31b094
authorAndrey Loskutov <loskutov@gmx.de>
Sun, 5 Jul 2015 11:09:55 +0000 (5 13:09 +0200)
committerAndrey Loskutov <loskutov@gmx.de>
Tue, 7 Jul 2015 19:21:09 +0000 (7 21:21 +0200)
tree433e5ae1d8c264bf56d3e688ce3425afd1e36747
parente003dd221f10a6a2e1bdb60c5cc641bcb0aaf825
Test stability: another attempt to have stable connect() behavior

Refactored ConnectProviderOperation to make it easier to understand and
to be more verbose if it fails to connect. If multiple projects are to
be connected, do not fail entire task if only some of the projects have
issues. RepositoryFinder should also not silently fail during connect if
resource is unknown in workspace.

Change-Id: Ied79b1846495d7662ee40128b1a0edceb55d6860
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/ConnectProviderOperationTest.java
org.eclipse.egit.core/src/org/eclipse/egit/core/internal/CoreText.java
org.eclipse.egit.core/src/org/eclipse/egit/core/internal/coretext.properties
org.eclipse.egit.core/src/org/eclipse/egit/core/op/ConnectProviderOperation.java
org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryFinder.java
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/LocalRepositoryTestCase.java