| | |
| | | "test-property"); |
| | | localBuilder.setBaseDN(baseDN); |
| | | DNPropertyDefinition propertyDef = localBuilder.getInstance(); |
| | | propertyDef.validateValue(DN.valueOf(valueToValidate), PropertyDefinitionsOptions.NO_VALIDATION_OPTIONS); |
| | | propertyDef.validateValue(DN.valueOf(valueToValidate)); |
| | | } |
| | | |
| | | @Test(dataProvider = "illegalValues", expectedExceptions = PropertyException.class) |
| | |
| | | "test-property"); |
| | | localBuilder.setBaseDN(baseDN); |
| | | DNPropertyDefinition propertyDef = localBuilder.getInstance(); |
| | | propertyDef.validateValue(DN.valueOf(valueToValidate), PropertyDefinitionsOptions.NO_VALIDATION_OPTIONS); |
| | | propertyDef.validateValue(DN.valueOf(valueToValidate)); |
| | | } |
| | | |
| | | @Test(dataProvider = "legalValues") |
| | |
| | | "test-property"); |
| | | localBuilder.setBaseDN(baseDN); |
| | | DNPropertyDefinition propertyDef = localBuilder.getInstance(); |
| | | propertyDef.decodeValue(valueToValidate, PropertyDefinitionsOptions.NO_VALIDATION_OPTIONS); |
| | | propertyDef.decodeValue(valueToValidate); |
| | | } |
| | | |
| | | @Test(dataProvider = "illegalValues", expectedExceptions = PropertyException.class) |
| | |
| | | "test-property"); |
| | | localBuilder.setBaseDN(baseDN); |
| | | DNPropertyDefinition propertyDef = localBuilder.getInstance(); |
| | | propertyDef.decodeValue(valueToValidate, PropertyDefinitionsOptions.NO_VALIDATION_OPTIONS); |
| | | propertyDef.decodeValue(valueToValidate); |
| | | } |
| | | } |