Produced by Araxis Merge on 8/1/2019 1:42:44 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | JLV_2_8_0_0_0_July_2019.zip\JLV_2_8_0_0_0_July_2019\jMeadows\src\test\integration\java\gov\va\med\jmeadows\dao\patient | AppointmentsDaoTest.java | Mon Jul 8 19:18:52 2019 UTC |
2 | JLV_2_8_0_0_0_July_2019.zip\JLV_2_8_0_0_0_July_2019\jMeadows\src\test\integration\java\gov\va\med\jmeadows\dao\patient | AppointmentsDaoTest.java | Wed Jul 31 18:41:37 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 144 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | /** | |
2 | * Janus 4 .0 (c) | |
3 | * Copyrig ht (c) 201 1 Hawaii R esource Gr oup LLC. A ll Rights Reserved. | |
4 | * Develop ed for the Pacific T elehealth & Technolo gy Hui and the Pacif ic Joint I nformation Technolog y Center | |
5 | * Contrib utors: | |
6 | * Hon orable Sen ator Danie l K. Inouy e | |
7 | * VA Pacific Is lands Heal th Care Sy stem | |
8 | * Tri pler Army Medical Ce nter | |
9 | */ | |
10 | ||
11 | ||
12 | package go v.va.med.j meadows.da o.patient; | |
13 | ||
14 | import gov .va.med.jm eadows.com mon.JMeado wsExceptio n; | |
15 | import gov .va.med.jm eadows.dao .beans.JMe adowsQuery ; | |
16 | import gov .va.med.jm eadows.dao .beans.JMe dResultCol lection; | |
17 | import gov .va.med.vd s.webservi ce.Encount er; | |
18 | import gov .va.med.vd s.webservi ce.Patient Appointmen ts; | |
19 | import org .junit.Tes t; | |
20 | ||
21 | import jav a.util.Lis t; | |
22 | ||
23 | import sta tic org.ju nit.Assert .assertTru e; | |
24 | import sta tic org.ju nit.Assert .fail; | |
25 | ||
26 | /** | |
27 | * | |
28 | * @author DNS | |
29 | */ | |
30 | public cla ss Appoint mentsDaoTe st extends DaoBaseTe st | |
31 | { | |
32 | privat e Appointm entsDao ap ptsDao; | |
33 | ||
34 | public Appointme ntsDaoTest () throws JMeadowsEx ception | |
35 | { | |
36 | ap ptsDao = n ew Appoint mentsDao() ; | |
37 | } | |
38 | ||
39 | @Test | |
40 | public void test GetPatient Appointmen ts() | |
41 | { | |
42 | tr y | |
43 | { | |
44 | JMeadows Query qb = setupQuer y(user, pa tient, sta rtDate, en dDate); | |
45 | JMedResu ltCollecti on resultC ollection = apptsDao .getPatien tAppointme nts(qb); | |
46 | List<Pat ientAppoin tments> ap pts = resu ltCollecti on.getAppo intments() ; | |
47 | assertTr ue(appts.s ize() > 0) ; | |
48 | testForB eanMeta(ap pts); | |
49 | } | |
50 | ca tch (JMead owsExcepti on ex) | |
51 | { | |
52 | fail(ex. getMessage ()); | |
53 | } | |
54 | } | |
55 | ||
56 | @Test | |
57 | public void test GetPatient Encounters () | |
58 | { | |
59 | tr y | |
60 | { | |
61 | JMeadows Query qb = setupQuer y(user, pa tient, sta rtDate, en dDate); | |
62 | JMedResu ltCollecti on resultC ollection = apptsDao .getPatien tEncounter s(qb); | |
63 | List<Enc ounter> en counters = resultCol lection.ge tEncounter s(); | |
64 | assertTr ue(encount ers.size() > 0); | |
65 | testForB eanMeta(en counters); | |
66 | } | |
67 | ca tch (JMead owsExcepti on ex) | |
68 | { | |
69 | fail(ex. getMessage ()); | |
70 | } | |
71 | } | |
72 | ||
73 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.