[java-identity-provider] branch master updated: IDP-1545 Extebnd blacklisting test

Rod Widdowson rdw at steadingsoftware.com
Fri Feb 21 11:34:23 EST 2020


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=0d82ebe488b72236c688396df767ae1d317fb3db

The following commit(s) were added to refs/heads/master by this push:
       new  0d82ebe   IDP-1545 Extebnd blacklisting test
0d82ebe is described below

commit 0d82ebe488b72236c688396df767ae1d317fb3db
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Feb 21 16:33:20 2020 +0000

    IDP-1545 Extebnd blacklisting test
    
    https://issues.shibboleth.net/jira/browse/IDP-1545
    
    We now prove that the existance of a black listed property in the
    input (to be changed) file doesn't matter
---
 .../java/net/shibboleth/idp/installer/TestPropertiesWithComments.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/idp-installer/src/test/java/net/shibboleth/idp/installer/TestPropertiesWithComments.java b/idp-installer/src/test/java/net/shibboleth/idp/installer/TestPropertiesWithComments.java
index 8c71504..8cc3133 100644
--- a/idp-installer/src/test/java/net/shibboleth/idp/installer/TestPropertiesWithComments.java
+++ b/idp-installer/src/test/java/net/shibboleth/idp/installer/TestPropertiesWithComments.java
@@ -62,7 +62,7 @@ public class TestPropertiesWithComments {
 
 
     @Test public void testReplaceValues() throws FileNotFoundException, IOException {
-        final PropertiesWithComments pwc = new PropertiesWithComments(Set.of("a", "b"));
+        final PropertiesWithComments pwc = new PropertiesWithComments(Set.of("a", "b", "q"));
 
         pwc.load(getInputStream());
 
@@ -81,7 +81,7 @@ public class TestPropertiesWithComments {
         Assert.assertEquals(p.getProperty("p"), "321");
         Assert.assertEquals(p.getProperty("nn"), "123");
         Assert.assertEquals(p.getProperty("yy"), "123321");
-        Assert.assertEquals(p.getProperty("q"), "elephants");
+        Assert.assertEquals(p.getProperty("q"), "elephants"); // "q" was blacklisted to be changed but is OK to be there
         
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list