| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Copyright 2006-2009 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.backends.jeb; |
| | | |
| | |
| | | TestCaseUtils.deleteDirectory(tempDir); |
| | | } |
| | | |
| | | @Test |
| | | @Test(enabled=false) |
| | | public void testImportAll() throws Exception |
| | | { |
| | | TestCaseUtils.clearJEBackend(false, beID, null); |
| | |
| | | } |
| | | } |
| | | |
| | | @Test(dependsOnMethods = "testImportAll") |
| | | //@Test(dependsOnMethods = "testImportAll") |
| | | @Test(enabled=false) |
| | | public void testImportPartial() throws Exception |
| | | { |
| | | ArrayList<String> fileList = new ArrayList<String>(); |
| | |
| | | } |
| | | } |
| | | |
| | | @Test(dependsOnMethods = "testImportPartial") |
| | | //@Test(dependsOnMethods = "testImportPartial") |
| | | @Test(enabled=false) |
| | | public void testImportReplaceExisting() throws Exception |
| | | { |
| | | ByteArrayOutputStream rejectedEntries = new ByteArrayOutputStream(); |
| | |
| | | } |
| | | } |
| | | |
| | | @Test(dependsOnMethods = "testImportReplaceExisting") |
| | | //@Test(dependsOnMethods = "testImportReplaceExisting") |
| | | @Test(enabled=false) |
| | | public void testImportNoParent() throws Exception |
| | | { |
| | | ByteArrayOutputStream rejectedEntries = new ByteArrayOutputStream(); |
| | |
| | | assertTrue(rejectedEntries.toString().contains("uid=user.446,dc=importtest1,dc=com")); |
| | | } |
| | | |
| | | @Test(dependsOnMethods = "testImportReplaceExisting") |
| | | //@Test(dependsOnMethods = "testImportReplaceExisting") |
| | | @Test(enabled=false) |
| | | public void testImportAppend() throws Exception |
| | | { |
| | | LDIFImportConfig importConfig = new LDIFImportConfig(homeDirName + File.separator + "top.ldif"); |
| | |
| | | } |
| | | } |
| | | |
| | | @Test(dependsOnMethods = "testImportPartial") |
| | | //@Test(dependsOnMethods = "testImportPartial") |
| | | @Test(enabled=false) |
| | | public void testImportNotReplaceExisting() throws Exception |
| | | { |
| | | ByteArrayOutputStream rejectedEntries = new ByteArrayOutputStream(); |
| | |
| | | assertTrue(rejectedEntries.toString().contains("uid=user.446,dc=importtest1,dc=com")); |
| | | } |
| | | |
| | | @Test(dependsOnMethods = "testImportPartial") |
| | | //@Test(dependsOnMethods = "testImportPartial") |
| | | @Test(enabled=false) |
| | | public void testImportSkip() throws Exception |
| | | { |
| | | ArrayList<DN> excludeBranches = new ArrayList<DN>(); |