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 | DocumentDaoTest.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 | DocumentDaoTest.java | Tue Apr 2 13:30:31 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 106 |
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.jm eadows.dao .beans.Pat ientDocume nt; | |
18 | import org .junit.Tes t; | |
19 | ||
20 | import jav a.util.Lis t; | |
21 | ||
22 | import sta tic org.ju nit.Assert .assertTru e; | |
23 | import sta tic org.ju nit.Assert .fail; | |
24 | ||
25 | /** | |
26 | * | |
27 | * @author DNS | |
28 | */ | |
29 | public cla ss Documen tDaoTest e xtends Dao BaseTest | |
30 | { | |
31 | privat e Document Dao docume ntDao; | |
32 | ||
33 | public DocumentD aoTest() t hrows JMea dowsExcept ion | |
34 | { | |
35 | do cumentDao = new Docu mentDao(); | |
36 | } | |
37 | ||
38 | @Test | |
39 | public void getG etPatientD ocuments() | |
40 | { | |
41 | tr y { | |
42 | JMeadows Query qb = setupQuer y(user, pa tient, sta rtDate, en dDate); | |
43 | ||
44 | qb.setIn cludeDoDDa ta(true); | |
45 | JMedResu ltCollecti on resultC ollection = document Dao.getPat ientDocume nts(qb); | |
46 | List<Pat ientDocume nt> notes = resultCo llection.g etDocument s(); | |
47 | assertTr ue(notes.s ize() > 0) ; | |
48 | testForB eanMeta(no tes); | |
49 | } catch (JMe adowsExcep tion ex) { | |
50 | fail(ex. getMessage ()); | |
51 | } | |
52 | } | |
53 | ||
54 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.