mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noël Rouvignac
17.11.2015 14f94c13789b8ace4eae258b5f1d64494518f9c3
opendj-server-legacy/src/test/java/org/opends/server/plugins/EntryUUIDPluginTestCase.java
@@ -26,7 +26,7 @@
 */
package org.opends.server.plugins;
import static org.assertj.core.api.Assertions.*;
import java.io.ByteArrayInputStream;
import java.util.ArrayList;
@@ -49,8 +49,6 @@
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
/**
 * This class defines a set of tests for the
 * org.opends.server.plugins.EntryUUIDPlugin class.
@@ -274,7 +272,7 @@
         DirectoryServer.getPluginConfigManager().getRegisteredPlugin(dn);
    plugin.doLDIFImport(importConfig, e);
    assertNotNull(e.getAttribute("entryuuid"));
    assertThat(e.getAttribute("entryuuid")).isNotEmpty();
  }
@@ -315,7 +313,7 @@
         DirectoryServer.getPluginConfigManager().getRegisteredPlugin(dn);
    plugin.doLDIFImport(importConfig, e);
    assertNotNull(e.getAttribute("entryuuid"));
    assertThat(e.getAttribute("entryuuid")).isNotEmpty();
  }
@@ -334,7 +332,7 @@
                                      "objectClass: top",
                                      "objectClass: device",
                                      "cn: test");
    assertNotNull(e.getAttribute("entryuuid"));
    assertThat(e.getAttribute("entryuuid")).isNotEmpty();
  }
@@ -356,7 +354,6 @@
                                      "objectClass: device",
                                      "cn: test",
                                      "entryUUID: " + UUID.randomUUID());
    assertNotNull(e.getAttribute("entryuuid"));
    assertThat(e.getAttribute("entryuuid")).isNotEmpty();
  }
}