From d2ffb3eb61ac14df25d56086bb36b544890bb69e Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 27 Jun 2011 16:42:54 +0000
Subject: [PATCH] Fix OPENDJ-217: Unpredictable failures during schema validation using SDK
---
opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/schema/SchemaBuilderTest.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/schema/SchemaBuilderTest.java b/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/schema/SchemaBuilderTest.java
index 1aa4537..e2374cb 100644
--- a/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/schema/SchemaBuilderTest.java
+++ b/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/schema/SchemaBuilderTest.java
@@ -46,7 +46,7 @@
* Tests that schema validation resolves dependencies between parent/child
* attribute types regardless of the order in which they were added.
*/
- @Test(enabled = false)
+ @Test
public void testAttributeTypeDependenciesChildThenParent()
{
final Schema schema = new SchemaBuilder(Schema.getCoreSchema())
@@ -85,7 +85,7 @@
/**
* Tests that attribute types must have a syntax or a superior.
*/
- @Test(enabled = false, expectedExceptions = LocalizedIllegalArgumentException.class)
+ @Test(expectedExceptions = LocalizedIllegalArgumentException.class)
public void testAttributeTypeNoSuperiorNoSyntax()
{
new SchemaBuilder(Schema.getCoreSchema()).addAttributeType(
@@ -98,7 +98,7 @@
* Tests that schema validation handles validation failures for superior
* attribute types regardless of the order.
*/
- @Test(enabled = false)
+ @Test
public void testAttributeTypeSuperiorFailureChildThenParent()
{
final Schema schema = new SchemaBuilder(Schema.getCoreSchema())
@@ -233,7 +233,7 @@
* Tests that schema validation handles validation failures for superior
* object classes regardless of the order.
*/
- @Test(enabled = false)
+ @Test
public void testObjectClassSuperiorFailureChildThenParent()
{
final Schema schema = new SchemaBuilder(Schema.getCoreSchema())
--
Gitblit v1.10.0