diff options
author | Mathias Kinzler | 2011-01-26 17:06:18 +0000 |
---|---|---|
committer | Chris Aniszczyk | 2011-02-01 15:51:08 +0000 |
commit | 3e8588f20abf505ed76cf796ba9b4f79e4a38776 (patch) | |
tree | 6cb3f0ba4c64fe99878dcc228b0a03705fb0da3d /org.eclipse.egit.core.test/src | |
parent | 165279cc8f6c20e301cfc7170f4c4e67a6635fdf (diff) | |
download | egit-3e8588f20abf505ed76cf796ba9b4f79e4a38776.tar.gz egit-3e8588f20abf505ed76cf796ba9b4f79e4a38776.tar.xz egit-3e8588f20abf505ed76cf796ba9b4f79e4a38776.zip |
Make PushOperation use JGit API
The PushOperation should use the JGit API instead of the Transport
class directly.
Bug: 334762 (only contributing to it, not complete resolution)
Change-Id: I6e55d96fb7d8d65bae4cc1c10e9bd24acebae54c
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Diffstat (limited to 'org.eclipse.egit.core.test/src')
-rw-r--r-- | org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/PushOperationTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/PushOperationTest.java b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/PushOperationTest.java index 4cd916a415..ccfef66833 100644 --- a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/PushOperationTest.java +++ b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/PushOperationTest.java @@ -231,10 +231,10 @@ public class PushOperationTest extends DualRepositoryTestCase { spec.addURIRefUpdates(remote, refUpdates); PushOperation pop = new PushOperation(repository1.getRepository(), - spec, false, null, 0); + spec, false, 0); pop.run(null); - pop = new PushOperation(repository1.getRepository(), spec, false, null, 0); + pop = new PushOperation(repository1.getRepository(), spec, false, 0); try { pop.run(null); fail("Expected Exception not thrown"); @@ -264,7 +264,7 @@ public class PushOperationTest extends DualRepositoryTestCase { spec.addURIRefUpdates(remote, refUpdates); // now we can construct the push operation PushOperation pop = new PushOperation(repository1.getRepository(), - spec, false, null, 0); + spec, false, 0); return pop; } |