| | |
| | | package com.forgerock.opendj.ldap.tools; |
| | | |
| | | import static org.fest.assertions.Assertions.*; |
| | | |
| | | import static com.forgerock.opendj.ldap.tools.ToolsMessages.*; |
| | | |
| | | import java.io.ByteArrayOutputStream; |
| | |
| | | import org.testng.annotations.DataProvider; |
| | | import org.testng.annotations.Test; |
| | | |
| | | import com.forgerock.opendj.util.StaticUtils; |
| | | |
| | | @SuppressWarnings("javadoc") |
| | | public class MakeLDIFTestCase extends ToolsTestCase { |
| | | |
| | |
| | | |
| | | assertThat(err.toString("UTF-8")).contains(Utils.wrapText(expectedErrOutput, Utils.MAX_LINE_WIDTH)); |
| | | } finally { |
| | | StaticUtils.closeSilently(outStream, errStream); |
| | | org.forgerock.util.Utils.closeSilently(outStream, errStream); |
| | | } |
| | | } |
| | | |