Examples of pushChanges()


Examples of org.exoplatform.services.jcr.impl.dataflow.serialization.TesterItemsPersistenceListener.pushChanges()

      root.getNode("rename1/node").setProperty("prop2", "012345");
      root.getNode("rename1/node").setProperty("prop2", "0123456789");
      session.move("/rename1/node", "/rename2/node");
      session.save();

      List<TransactionChangesLog> logs = pListener.pushChanges();

      long expectedDelta = wsQuotaManager.getNodeDataSizeDirectly(testRoot.getPath()) - testRootSize;
      long measuredDelta = calcChangedSize(logs, testRoot.getPath());

      assertEquals(expectedDelta, measuredDelta);
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.