Package org.exoplatform.services.jcr.impl.backup

Examples of org.exoplatform.services.jcr.impl.backup.DataRestore.restore()


      assertEquals(node2DataSize, wsQuotaManager.getNodeDataSize("/testRoot/test2"));
      assertEquals(node1Quota, wsQuotaManager.getNodeQuota("/testRoot/test1"));
      assertEquals(node2Quota, wsQuotaManager.getNodeQuota("/testRoot/test2"));

      restorer.clean();
      restorer.restore();

      assertEquals(dbQuotaManager.getRepositoryDataSize(), repDataSize);
      assertEquals(wsDataSize, wsQuotaManager.getWorkspaceDataSize());
      assertEquals(node1DataSize, wsQuotaManager.getNodeDataSize("/testRoot/test1"));
      assertEquals(node2DataSize, wsQuotaManager.getNodeDataSize("/testRoot/test2"));
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.