| | |
| | | |
| | | import org.forgerock.opendj.ldap.ByteStringBuilder; |
| | | import org.opends.server.tools.dsreplication.ReplicationCliMain; |
| | | import org.opends.server.tools.makeldif.MakeLDIF; |
| | | import org.opends.server.tools.status.StatusCli; |
| | | import org.testng.annotations.AfterMethod; |
| | | import org.testng.annotations.BeforeMethod; |
| | |
| | | } |
| | | |
| | | @Test(dataProvider = "invalidArgs") |
| | | public void testMakeLDIF(final String[] args) |
| | | { |
| | | assertToolFailsWithUsage(MakeLDIF.main(args, outStream, errStream)); |
| | | } |
| | | |
| | | @Test(dataProvider = "invalidArgs") |
| | | public void testManageAccount(final String[] args) |
| | | { |
| | | assertToolFailsWithUsage(ManageAccount.main(args, false, outStream, errStream)); |