Produced by Araxis Merge on 4/2/2019 9:49:01 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_JLV 2_7_2_0_0.zip\JLV_Src\jMeadows\src\test\integration\java\gov\va\med\jmeadows\dao\patient | ClinicalRemindersDaoTest.java | Wed Mar 20 21:45:36 2019 UTC |
2 | JLV_JLV 2_7_2_0_0.zip\JLV_Src\jMeadows\src\test\integration\java\gov\va\med\jmeadows\dao\patient | ClinicalRemindersDaoTest.java | Tue Apr 2 13:30:31 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 146 |
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.Clinica lReminder; | |
18 | import gov .va.med.vd s.webservi ce.FreeTex tReport; | |
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 Clinica lReminders DaoTest ex tends DaoB aseTest | |
31 | { | |
32 | privat e Clinical RemindersD ao clinica lReminders Dao; | |
33 | ||
34 | public ClinicalR emindersDa oTest() th rows JMead owsExcepti on | |
35 | { | |
36 | cl inicalRemi ndersDao = new Clini calReminde rsDao(); | |
37 | } | |
38 | ||
39 | @Test | |
40 | public void test GetPatient ClinicalRe minders() | |
41 | { | |
42 | tr y { | |
43 | JMeadows Query qb = setupQuer y(user, pa tient, sta rtDate, en dDate); | |
44 | JMedResu ltCollecti on resultC ollection = clinical RemindersD ao.getPati entClinica lReminders (qb); | |
45 | List<Cli nicalRemin der> remin ders = res ultCollect ion.getCli nicalRemin ders(); | |
46 | assertTr ue(reminde rs.size() > 0); | |
47 | testForB eanMeta(re minders); | |
48 | } catch (JMe adowsExcep tion ex) { | |
49 | fail(ex. getMessage ()); | |
50 | } | |
51 | } | |
52 | ||
53 | @Test | |
54 | public void test GetClinica lReminderD etail() | |
55 | { | |
56 | tr y | |
57 | { | |
58 | JMeadows Query qb = setupQuer y(user, pa tient, sta rtDate, en dDate); | |
59 | List<Cli nicalRemin der> remin ders = cli nicalRemin dersDao.ge tPatientCl inicalRemi nders(qb). getClinica lReminders (); | |
60 | ||
61 | setUp(); | |
62 | ||
63 | qb = set upQuery(us er, patien t, startDa te, endDat e); | |
64 | qb.setIt emId(remin ders.get(0 ).getId()) ; | |
65 | qb.setRe cordSiteCo de(reminde rs.get(0). getSite(). getSiteCod e()); | |
66 | FreeText Report rem inderDetai l = clinic alReminder sDao.getCl inicalRemi nderDetail (qb); | |
67 | assertTr ue(reminde rDetail != null && r eminderDet ail.getRep ortText(). length() > 1); | |
68 | } | |
69 | ca tch(JMeado wsExceptio n ex) | |
70 | { | |
71 | fail(ex. getMessage ()); | |
72 | } | |
73 | } | |
74 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.