| | |
| | | public Object[][] createSyntaxTest() throws Exception |
| | | { |
| | | // some config object used later in the test |
| | | Entry strictConfig = new Entry(TestCaseUtils.makeEntry( |
| | | Entry strictConfig = TestCaseUtils.makeEntry( |
| | | "dn: cn=Telephone Number,cn=Syntaxes,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-telephone-number-attribute-syntax", |
| | |
| | | "ds-cfg-enabled: true", |
| | | "ds-cfg-java-class: org.opends.server.schema.TelephoneNumberSyntax", |
| | | "cn: Telephone Number" |
| | | ), null); |
| | | ); |
| | | |
| | | Entry relaxedConfig = new Entry(TestCaseUtils.makeEntry( |
| | | Entry relaxedConfig = TestCaseUtils.makeEntry( |
| | | "dn: cn=Telephone Number,cn=Syntaxes,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-telephone-number-attribute-syntax", |
| | |
| | | "ds-cfg-enabled: true", |
| | | "ds-cfg-java-class: org.opends.server.schema.TelephoneNumberSyntax", |
| | | "cn: Telephone Number" |
| | | ), null); |
| | | ); |
| | | |
| | | // fill this table with tables containing : |
| | | // - the configEntry that must be applied before the test. |