Package uk.co.purebuy.commerce.businessobjects.importexport.playtrade.call.GetReportStatusCallResult

Examples of uk.co.purebuy.commerce.businessobjects.importexport.playtrade.call.GetReportStatusCallResult.Report


  {
    m_standardcallresult.parseRawXmlResult(TESTXMLDATA);
    assertNotNull("The reports array should not be null",m_standardcallresult.getReports());
    assertEquals("Expected 3 reports from the array",3, m_standardcallresult.getReports().length);
   
    Report firstreport = m_standardcallresult.getReports()[0];
    assertEquals("The reportid is incorrect", "158", firstreport.m_reportid);
    assertEquals("The report start time is incorrect", "12/07/2006 15:18:25", firstreport.m_reportstarttime);
    assertEquals("The report end time is incorrect", "12/07/2006 15:18:31", firstreport.m_reportendtime);
   
    Report secondreport = m_standardcallresult.getReports()[1];
    assertEquals("The reportid is incorrect", "120", secondreport.m_reportid);
    assertEquals("The report start time is incorrect", "12/07/2006 08:47:54", secondreport.m_reportstarttime);
    assertEquals("The report end time is incorrect", "12/07/2006 08:48:03", secondreport.m_reportendtime);
   
  }
View Full Code Here

TOP

Related Classes of uk.co.purebuy.commerce.businessobjects.importexport.playtrade.call.GetReportStatusCallResult.Report

Copyright © 2018 www.massapicom. 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.