protected void verifyAfterLoad(XMLDocument document) { super.verifyAfterLoad(document); // replace global object with one from xml file (with cs pre-populated) rootObject = document.getRootObject(); salesPO1CS = rootObject.getDataObject("sales/purchaseOrder[1]").getChangeSummary(); salesPO2CS = rootObject.getDataObject("sales/purchaseOrder[2]").getChangeSummary(); developmentPO1CS = rootObject.getDataObject("development/purchaseOrder[1]").getChangeSummary(); developmentPO2CS = null; // rootObject.getDataObject("development/purchaseOrder[2]").getChangeSummary(); stock1CS = rootObject.getDataObject("stock[1]").getChangeSummary(); stock2CS = rootObject.getDataObject("stock[2]").getChangeSummary(); stock3CS = rootObject.getDataObject("stock[3]").getChangeSummary(); DataObject itemsDO = rootObject.getDataObject("sales/purchaseOrder[1]/items"); DataObject item1DO = null; // itemsDO.getDataObject("item[1]"); DataObject item1ProductDO = null; // item1DO.getDataObject("product"); DataObject item1ProductPrice1DO = null; // item1ProductDO.getDataObject("price[1]"); DataObject item1ProductPrice2DO = null; // item1ProductDO.getDataObject("price[2]"); assertDeleteDetachUnsetComplexSingleBelowRoot( true, // false, // itemsDO, // item1DO, // item1ProductDO, // item1ProductPrice1DO, // item1ProductPrice2DO); }
public void setUp() { super.setUp(); // watch setup redundancy }