This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 8194f48  [NETBEANS-283] private_key in libs.git module should be 
renamed (#426)
8194f48 is described below

commit 8194f48d4e71d1519aa31a6e4bb194ddeeba91cb
Author: Geertjan Wielenga <geertjan.wiele...@oracle.com>
AuthorDate: Tue Feb 20 09:37:25 2018 +0100

    [NETBEANS-283] private_key in libs.git module should be renamed (#426)
---
 libs.git/test/unit/data/{private_key => testing_key}           |  0
 .../unit/src/org/netbeans/libs/git/jgit/ConnectionTest.java    | 10 +++++-----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libs.git/test/unit/data/private_key 
b/libs.git/test/unit/data/testing_key
similarity index 100%
rename from libs.git/test/unit/data/private_key
rename to libs.git/test/unit/data/testing_key
diff --git 
a/libs.git/test/unit/src/org/netbeans/libs/git/jgit/ConnectionTest.java 
b/libs.git/test/unit/src/org/netbeans/libs/git/jgit/ConnectionTest.java
index 15bf14a..0d62f1e 100644
--- a/libs.git/test/unit/src/org/netbeans/libs/git/jgit/ConnectionTest.java
+++ b/libs.git/test/unit/src/org/netbeans/libs/git/jgit/ConnectionTest.java
@@ -251,12 +251,12 @@ public class ConnectionTest extends AbstractGitTestCase {
 
             @Override
             public String getIdentityFile (String uri, String prompt) {
-                return new File(getDataDir(), "private_key").getAbsolutePath();
+                return new File(getDataDir(), "testing_key").getAbsolutePath();
             }
             
             @Override
             public char[] getPassphrase (String uri, String prompt) {
-                assertTrue("Expected passphrase prompt for private_key, was " 
+ prompt, prompt.contains(new File(getDataDir(), 
"private_key").getAbsolutePath()));
+                assertTrue("Expected passphrase prompt for testing_key, was " 
+ prompt, prompt.contains(new File(getDataDir(), 
"testing_key").getAbsolutePath()));
                 return "qwerty".toCharArray();
             }
         });
@@ -286,12 +286,12 @@ public class ConnectionTest extends AbstractGitTestCase {
 
                 @Override
                 public String getIdentityFile (String uri, String prompt) {
-                    return new File(getDataDir(), 
"private_key").getAbsolutePath();
+                    return new File(getDataDir(), 
"testing_key").getAbsolutePath();
                 }
 
                 @Override
                 public char[] getPassphrase (String uri, String prompt) {
-                    assertTrue("Expected passphrase prompt for private_key, 
was " + prompt, prompt.contains(new File(getDataDir(), 
"private_key").getAbsolutePath()));
+                    assertTrue("Expected passphrase prompt for testing_key, 
was " + prompt, prompt.contains(new File(getDataDir(), 
"testing_key").getAbsolutePath()));
                     return "qwerty".toCharArray();
                 }
             });
@@ -332,7 +332,7 @@ public class ConnectionTest extends AbstractGitTestCase {
 
             @Override
             public String getIdentityFile (String uri, String prompt) {
-                return new File(getDataDir(), "private_key").getAbsolutePath();
+                return new File(getDataDir(), "testing_key").getAbsolutePath();
             }
             
             @Override

-- 
To stop receiving notification emails like this one, please contact
geert...@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to