| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | protected Syntax getRule() |
| | | { |
| | | return Schema.getCoreSchema().getSyntax(SYNTAX_LDAP_SYNTAX_OID); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | @DataProvider(name = "acceptableValues") |
| | | public Object[][] createAcceptableValues() |
| | | { |
| | |
| | | { |
| | | "( 2.5.4.3 DESC 'full syntax description' " |
| | | + "X-9EN ('this' 'is' 'a' 'test'))", false }, |
| | | { |
| | | "( 2.5.4.3 DESC 'full syntax description' " |
| | | + "(X-name 'this", false }, |
| | | { |
| | | "( 2.5.4.3 DESC 'full syntax description' " |
| | | + "(X-name 'this'", false }, |
| | | { |
| | | "( 2.5.4.3 DESC 'full syntax description' " |
| | | + "Y-name 'this')", false }, |
| | | { |
| | | "( 2.5.4.3 DESC 'full syntax description' " |
| | | + "X-name 'this' 'is')", false }, |
| | | { "( 2.5.4.3 DESC 'full syntax description' " + "X-name )", |
| | | { "( 2.5.4.3 DESC 'full syntax description' " + "(X-name 'this", false }, |
| | | { "( 2.5.4.3 DESC 'full syntax description' " + "(X-name 'this'", false }, |
| | | { "( 2.5.4.3 DESC 'full syntax description' " + "Y-name 'this')", false }, |
| | | { "( 2.5.4.3 DESC 'full syntax description' " + "X-name 'this' 'is')", |
| | | false }, |
| | | { "( 2.5.4.3 DESC 'full syntax description' " + "X-name )", false }, |
| | | { |
| | | "( 2.5.4.3 DESC 'full syntax description' " |
| | | + "X- ('this' 'is' 'a' 'test'))", false }, |
| | |
| | | { |
| | | "( 2.5.4.3 DESC 'full syntax description' " |
| | | + "X-a-_eN_- ('this' 'is' 'a' 'test'))", true }, |
| | | { |
| | | "( 2.5.4.3 DESC 'full syntax description' " |
| | | + "X-name ('this'))", true }, |
| | | { |
| | | "( 2.5.4.3 DESC 'full syntax description' " |
| | | + "X-name 'this')", true }, |
| | | { "( 2.5.4.3 DESC 'full syntax description' " + "X-name ('this'))", |
| | | true }, |
| | | { "( 2.5.4.3 DESC 'full syntax description' " + "X-name 'this')", true }, |
| | | { |
| | | "( 2.5.4.3 DESC 'full syntax description' " |
| | | + "X-name 'this' X-name-a 'test')", true }, |
| | |
| | | { "2.5.4.3 DESC 'syntax description' )", false }, |
| | | { "(2.5.4.3 DESC 'syntax description' ", false }, }; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | protected Syntax getRule() |
| | | { |
| | | return Schema.getCoreSchema().getSyntax(SYNTAX_LDAP_SYNTAX_OID); |
| | | } |
| | | } |