| | |
| | | @Test |
| | | public void testEnsureValidSyntaxOIDs() |
| | | { |
| | | TreeSet<String> invalidOIDs = new TreeSet<String>(); |
| | | TreeSet<String> invalidOIDs = new TreeSet<>(); |
| | | |
| | | Schema schema = DirectoryServer.getSchema(); |
| | | for (Syntax as : schema.getSyntaxes().values()) |
| | |
| | | @Test |
| | | public void testEnsureValidMatchingRuleOIDs() |
| | | { |
| | | TreeSet<String> invalidOIDs = new TreeSet<String>(); |
| | | TreeSet<String> invalidOIDs = new TreeSet<>(); |
| | | |
| | | Schema schema = DirectoryServer.getSchema(); |
| | | for (MatchingRule mr : schema.getMatchingRules().values()) |
| | |
| | | public void testEnsureValidAttributeTypeOIDs() |
| | | throws Exception |
| | | { |
| | | TreeSet<String> invalidOIDs = new TreeSet<String>(); |
| | | TreeSet<String> invalidOIDs = new TreeSet<>(); |
| | | |
| | | String buildRoot = System.getProperty(TestCaseUtils.PROPERTY_BUILD_ROOT); |
| | | File schemaDir = new File(new File(buildRoot, "resource"), "schema"); |
| | |
| | | public void testEnsureValidObjectClassOIDs() |
| | | throws Exception |
| | | { |
| | | TreeSet<String> invalidOIDs = new TreeSet<String>(); |
| | | TreeSet<String> invalidOIDs = new TreeSet<>(); |
| | | |
| | | String buildRoot = System.getProperty(TestCaseUtils.PROPERTY_BUILD_ROOT); |
| | | File schemaDir = new File(new File(buildRoot, "resource"), "schema"); |
| | |
| | | public void testEnsureValidNameFormOIDs() |
| | | throws Exception |
| | | { |
| | | TreeSet<String> invalidOIDs = new TreeSet<String>(); |
| | | TreeSet<String> invalidOIDs = new TreeSet<>(); |
| | | |
| | | String buildRoot = System.getProperty(TestCaseUtils.PROPERTY_BUILD_ROOT); |
| | | File schemaDir = new File(new File(buildRoot, "resource"), "schema"); |