directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cp...@apache.org
Subject [36/43] directory-fortress-core git commit: added valid value to test data
Date Thu, 06 Oct 2016 17:49:53 GMT
added valid value to test data


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/4ddd79a2
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/4ddd79a2
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/4ddd79a2

Branch: refs/heads/master
Commit: 4ddd79a28436b20a06529405fbdde65bb6adc346
Parents: 7df3235
Author: clp207 <clp207@psu.edu>
Authored: Wed Aug 24 15:31:24 2016 -0400
Committer: clp207 <clp207@psu.edu>
Committed: Wed Aug 24 15:31:24 2016 -0400

----------------------------------------------------------------------
 .../directory/fortress/core/impl/PermTestData.java  | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/4ddd79a2/src/test/java/org/apache/directory/fortress/core/impl/PermTestData.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/directory/fortress/core/impl/PermTestData.java b/src/test/java/org/apache/directory/fortress/core/impl/PermTestData.java
index 8624b55..d18398c 100755
--- a/src/test/java/org/apache/directory/fortress/core/impl/PermTestData.java
+++ b/src/test/java/org/apache/directory/fortress/core/impl/PermTestData.java
@@ -2781,7 +2781,8 @@ public class PermTestData extends TestCase
     		"TPASET1AttributeName1", /* NAME */
     		"true", /* REQUIRED */
     		"string", /* DATA_TYPE */
-    		"EQUALS" /* COMPARISON_OPERATOR */
+    		"EQUALS", /* COMPARISON_OPERATOR */
+    		"literal:value" /* VALID_VALUE */
     	}
     };
 
@@ -2791,13 +2792,15 @@ public class PermTestData extends TestCase
     		"TPASET2AttributeName1", /* NAME */
     		"true", /* REQUIRED */
     		"string", /* DATA_TYPE */
-    		"EQUALS" /* COMPARISON_OPERATOR */
+    		"EQUALS", /* COMPARISON_OPERATOR */
+    		"literal:value" /* VALID_VALUE */
     	},
     	{
     		"TPASET2AttributeName2", /* NAME */
     		"false", /* REQUIRED */
     		"int", /* DATA_TYPE */
-    		"EQUALS" /* COMPARISON_OPERATOR */
+    		"EQUALS", /* COMPARISON_OPERATOR */
+    		"literal:value" /* VALID_VALUE */
     	}
     };
     
@@ -2807,13 +2810,15 @@ public class PermTestData extends TestCase
     		"TPASET2AttributeName3", /* NAME */
     		"true", /* REQUIRED */
     		"string", /* DATA_TYPE */
-    		"EQUALS" /* COMPARISON_OPERATOR */
+    		"EQUALS", /* COMPARISON_OPERATOR */
+    		"literal:value" /* VALID_VALUE */
     	},
     	{
     		"TPASET2AttributeName4", /* NAME */
     		"false", /* REQUIRED */
     		"int", /* DATA_TYPE */
-    		"EQUALS" /* COMPARISON_OPERATOR */
+    		"EQUALS", /* COMPARISON_OPERATOR */
+    		"literal:value" /* VALID_VALUE */
     	}
     };
     
@@ -2823,6 +2828,7 @@ public class PermTestData extends TestCase
         permAttr.setAttributeName(pa[0]);
         permAttr.setDataType(pa[2]);
         permAttr.setDefaultOperator(ComparisonOperator.valueOf(pa[3]).name());
+        permAttr.getValidValues().add(pa[4]);
         return permAttr;
     }
     


Mime
View raw message