Commented distruptive test
This commit is contained in:
parent
6df9da4567
commit
a2b7311ba0
|
@ -450,7 +450,8 @@ public class ContextManagementTest extends ContextTest {
|
||||||
return all;
|
return all;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
/*
|
||||||
|
// @Test
|
||||||
public void deleteAll() throws Exception {
|
public void deleteAll() throws Exception {
|
||||||
ContextTest.setContextByName(PARENT_DEFAULT_TEST_SCOPE);
|
ContextTest.setContextByName(PARENT_DEFAULT_TEST_SCOPE);
|
||||||
List<Context> all = getAll();
|
List<Context> all = getAll();
|
||||||
|
@ -459,12 +460,13 @@ public class ContextManagementTest extends ContextTest {
|
||||||
logger.trace(ElementMapper.marshal(context));
|
logger.trace(ElementMapper.marshal(context));
|
||||||
List<IsParentOf> children = context.getChildren();
|
List<IsParentOf> children = context.getChildren();
|
||||||
if(children==null || children.size()==0) {
|
if(children==null || children.size()==0) {
|
||||||
delete(context);
|
// delete(context);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
all = getAll();
|
all = getAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testGetAll() throws Exception {
|
public void testGetAll() throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue