Skip to content

Commit

Permalink
update test error messages for new xsd schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Tay committed Jun 21, 2015
1 parent 2ce0d6b commit 578e419
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"Element 'resource': [facet 'minLength'] The value has a length of '4'; this underruns the allowed " .
"minimum length of '8'.",
"Element 'resource': [facet 'pattern'] The value 'One:' is not accepted by the " .
"pattern '[A-Z]+[a-z0-9]{1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"pattern '([A-Z]+[a-z0-9]{1,}){1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"Element 'resource': 'One:' is not " . "a valid value of the atomic type 'typeAclResourceId'."
],
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
'</resources></acl></config>',
[
"Element 'resource', attribute 'id': [facet 'pattern'] The value 'test_Value::show_toolbar' is " .
"not accepted by the pattern '[A-Z]+[a-z0-9]{1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"not accepted by the pattern '([A-Z]+[a-z0-9]{1,}){1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"Element 'resource', attribute 'id': 'test_Value::show_toolbar' is not a valid value of the atomic type " .
"'typeId'.",
"Element 'resource', attribute 'id': Warning: No precomputed value available, " .
Expand All @@ -62,7 +62,7 @@
'</resources></acl></config>',
[
"Element 'resource', attribute 'id': [facet 'pattern'] The value 'Test_value::show_toolbar' is not " .
"accepted by the pattern '[A-Z]+[a-z0-9]{1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"accepted by the pattern '([A-Z]+[a-z0-9]{1,}){1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"Element 'resource', attribute 'id': 'Test_value::show_toolbar' is not a valid value of the atomic type " .
"'typeId'.",
"Element 'resource', attribute 'id': Warning: No precomputed value available, " .
Expand All @@ -75,7 +75,7 @@
'</resources></acl></config>',
[
"Element 'resource', attribute 'id': [facet 'pattern'] The value 'M@#$%^*_Value::show_toolbar' is not " .
"accepted by the pattern '[A-Z]+[a-z0-9]{1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"accepted by the pattern '([A-Z]+[a-z0-9]{1,}){1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"Element 'resource', attribute 'id': 'M@#$%^*_Value::show_toolbar' " .
"is not a valid value of the atomic type " .
"'typeId'.",
Expand All @@ -89,7 +89,7 @@
'</resources></acl></config>',
[
"Element 'resource', attribute 'id': [facet 'pattern'] The value '_Value::show_toolbar' is not " .
"accepted by the pattern '[A-Z]+[a-z0-9]{1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"accepted by the pattern '([A-Z]+[a-z0-9]{1,}){1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"Element 'resource', attribute 'id': '_Value::show_toolbar' " .
"is not a valid value of the atomic type 'typeId'.",
"Element 'resource', attribute 'id': " .
Expand All @@ -102,7 +102,7 @@
'</acl></config>',
[
"Element 'resource', attribute 'id': [facet 'pattern'] The value 'Value_::show_toolbar' is not " .
"accepted by the pattern '[A-Z]+[a-z0-9]{1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"accepted by the pattern '([A-Z]+[a-z0-9]{1,}){1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"Element 'resource', attribute 'id': 'Value_::show_toolbar' " .
"is not a valid value of the atomic type 'typeId'.",
"Element 'resource', attribute 'id': " .
Expand All @@ -115,7 +115,7 @@
'</resources></acl></config>',
[
"Element 'resource', attribute 'id': [facet 'pattern'] The value 'Test_value:show_toolbar' is not " .
"accepted by the pattern '[A-Z]+[a-z0-9]{1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"accepted by the pattern '([A-Z]+[a-z0-9]{1,}){1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"Element 'resource', attribute 'id': 'Test_value:show_toolbar' is not a valid value of the atomic " .
"type 'typeId'.",
"Element 'resource', attribute 'id': " .
Expand All @@ -127,7 +127,7 @@
'<?xml version="1.0"?><config><acl><resources><resource id="Test_Value::"/></resources>' . '</acl></config>',
[
"Element 'resource', attribute 'id': [facet 'pattern'] The value 'Test_Value::' is not accepted by " .
"the pattern '[A-Z]+[a-z0-9]{1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"the pattern '([A-Z]+[a-z0-9]{1,}){1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"Element 'resource', attribute 'id': 'Test_Value::' is not a valid value of the atomic type 'typeId'.",
"Element 'resource', attribute 'id': " .
"Warning: No precomputed value available, the value was either invalid " .
Expand Down

0 comments on commit 578e419

Please sign in to comment.