1 / 23

Design Office Genindexe 2009 – 2010

Design Office Genindexe 2009 – 2010. Emilie Arnault Charles Beauchamps Pauline Beyou. Outline. Introduction Genindexe Specifications UML Design Sequence diagrams Class diagram State diagram JAVA Code JUnit tests Conclusion. Introduction. Genindexe. Veterinarian laboratory

Télécharger la présentation

Design Office Genindexe 2009 – 2010

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Design Office Genindexe2009 – 2010 Emilie Arnault Charles Beauchamps Pauline Beyou

  2. Outline • Introduction • Genindexe • Specifications • UML Design • Sequencediagrams • Class diagram • State diagram • JAVA Code • JUnit tests • Conclusion

  3. Introduction

  4. Genindexe • Veterinarianlaboratory • Genetic tests • Different types of customer • Vets • Farmers • Individuals • Design Office  Design of their LIMS • 1st semester : functionalkernel • 2d semester : Database and HCI

  5. Specifications • Analysis type management • User right management • Customer management • Order management • Billing • Analysis management • Resultsending • Storage management

  6. UML Design Sequencediagrams

  7. Ordercreation

  8. Analysis and order management (end analysis CHECKING)

  9. Class diagram

  10. UML Design State diagram

  11. StateDiagram of analysis

  12. JAVA Code

  13. Elaboratedmethods • Constructors : Order, Invoice • Order.editingInvoice • Calls the Invoiceconstructor • In Parameter • HashMap : <AnalysType, [Unit Price, Quantity]> • Analysis.checkAnalysis • PDF generation • Invoice • Results • Batchestrackingforms

  14. JUnit Tests

  15. Test planning Animal Type Address Internet Account User Details Animal Analysis Type Customer Analysis API-bdd Batch mock tests Order Invoice Global Report Batch TrackingForm

  16. PDF examples

  17. PDF examples

  18. Test example: UserDetails.isAtLeastTest • Aim of the method : to determine if a user has at least the level right of the givenparameter

  19. T : Technician V : Validator I : Interpreter VI : Validator & Interpreter TV : Technician & Validator U : Unauthorized isAtLeast (BioClearranceLvllevel) Boolres := true this.level = V or I or VI or U yes yes level = T Res := false no no this.level = T or I or U yes level = V yes Res := false no no this.level = T or V or TV or U yes yes level = I Res := false no no Return res Throws Exception end

  20. Conclusion

  21. Improvementsneeded • Storage Management • Administrative user right management • E-mail sending • Printing • One test left…

  22. Thankyou for attention

More Related