Package main

Examples of main.Coverpage


    assertEquals(CoverpageHelper.getDiskPathOutput(), "resources/test.xml");
  }
 
  public void testLoadData()
  {
    Coverpage cover = new Coverpage();
    CoverpageHelper.setDiskPathInput("resources/template.xml");
    CoverpageHelper.loadData(new File("resources/template.xml"));
    cover = CoverpageHelper.getCover();
    assertEquals(cover.getMinititle(), "Technical Report TSSG-YYYY-Area-00001");
    assertEquals(cover.getMininame(), "Behavioural Driven Development");
    assertEquals(cover.getCovertitle(), "Behavioural Driven Development Report");
    assertEquals(cover.getGroup(), "Telecommunications Software and Systems Group (TSSG)");
    assertEquals(cover.getAddress(), "Waterford Institute of Technology, West Campus, Carriganore, Waterford, Ireland");
    assertEquals(cover.getAuthorlist(), "David Kirwan, Some otherguy, And Anotherguy");
    assertEquals(cover.getDate(), "9th January 2012");
    assertEquals(cover.getLegal(), "(C) Waterford Institute of Technology");
    assertEquals(cover.getSynopsis(), "Writing robust software requires constant Test/Behaviour driven development. Best practices suggest writing the tests first, and then the implementation after. This allows a software system to be continually tested, checked and verified to ensure new changes do not break other elements of the system unintentionally.");
  }
View Full Code Here

TOP

Related Classes of main.Coverpage

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.