| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2012-2014 ForgeRock AS |
| | | * Portions Copyright 2012-2015 ForgeRock AS |
| | | */ |
| | | package org.opends.server.protocols.ldap; |
| | | |
| | |
| | | * |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |
| | | @BeforeClass() |
| | | @BeforeClass |
| | | public void startServer() |
| | | throws Exception |
| | | { |
| | |
| | | * protocol. |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void binaryAttributeAddV3() throws Exception |
| | | { |
| | | //Add a binary attribute both with or without the binary option. |
| | |
| | | * transfer option using a V3 protocol. |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void nonBinaryAttributeAddV3() throws Exception |
| | | { |
| | | String filePath = TestCaseUtils.createTempFile( |
| | |
| | | * V2 protocol. |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void binaryOptionUsingV2() throws Exception |
| | | { |
| | | //Construct a V2 connection. |
| | |
| | | * protocol. |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void binaryModifyV3() throws Exception |
| | | { |
| | | String filePath = TestCaseUtils.createTempFile( |