Examples of upgradeFileStorage()


Examples of org.apache.roller.weblogger.business.jpa.JPAMediaFileManagerImpl.upgradeFileStorage()

            MediaFileManager mgr = WebloggerFactory.getWeblogger().getMediaFileManager();
            JPAMediaFileManagerImpl mmgr = (JPAMediaFileManagerImpl) mgr;

            assertTrue("Upgrade required", mmgr.isFileStorageUpgradeRequired());

            mmgr.upgradeFileStorage();
            TestUtils.endSession(true);

            assertFalse("Upgrade required", mmgr.isFileStorageUpgradeRequired());

            // now, let's check to see if migration was sucessful
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.