317318319320321322323324325326327
FolderData f2 = new FolderData(); f2.setName("f2"); f2.setParent(f1); f2.setWebsite(testWeblog); bmgr.saveFolder(f2); FolderData f3 = new FolderData(); f3.setName("f3"); f3.setParent(f2); f3.setWebsite(testWeblog);
323324325326327328329330331332333
FolderData f3 = new FolderData(); f3.setName("f3"); f3.setParent(f2); f3.setWebsite(testWeblog); bmgr.saveFolder(f3); TestUtils.endSession(true); } catch (RollerException e) { TestUtils.endSession(true); log.error(e);
364365366367368369370371372373374
FolderData f1 = new FolderData(); f1.setName("f1"); f1.setParent(root); f1.setWebsite(testWeblog); bmgr.saveFolder(f1); // first child folder FolderData f2 = new FolderData(); f2.setName("f2"); f2.setParent(f1);
371372373374375376377378379380381
// first child folder FolderData f2 = new FolderData(); f2.setName("f2"); f2.setParent(f1); f2.setWebsite(testWeblog); bmgr.saveFolder(f2); TestUtils.endSession(true); // child folder with same name as first f3 = new FolderData();
380381382383384385386387388389390
// child folder with same name as first f3 = new FolderData(); f3.setName("f2"); f3.setParent(f1); f3.setWebsite(testWeblog); bmgr.saveFolder(f3); TestUtils.endSession(true); } catch (RollerException e) { exception = true; }