Produced by Araxis Merge on 8/1/2019 1:42:45 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\provider | ProviderNotesDaoTest.java | Mon Jul 8 19:18:56 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\provider | ProviderNotesDaoTest.java | Wed Jul 31 18:41:37 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 152 |
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.provider ; | |
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 .patient.D aoBaseTest ; | |
17 | import gov .va.med.jm eadows.dao .provider. ProviderNo tesDao; | |
18 | import gov .va.med.vd s.webservi ce.Progres sNote; | |
19 | import gov .va.med.vh ahon.commo n.Utils; | |
20 | import org .junit.Tes t; | |
21 | ||
22 | import jav a.util.Lis t; | |
23 | ||
24 | import sta tic org.ju nit.Assert .assertTru e; | |
25 | import sta tic org.ju nit.Assert .fail; | |
26 | ||
27 | /** | |
28 | * | |
29 | * @author DNS | |
30 | */ | |
31 | public cla ss Provide rNotesDaoT est extend s DaoBaseT est | |
32 | { | |
33 | privat e Provider NotesDao n otesDao; | |
34 | ||
35 | public ProviderN otesDaoTes t() throws JMeadowsE xception | |
36 | { | |
37 | su per(); | |
38 | no tesDao = n ew Provide rNotesDao( ); | |
39 | } | |
40 | ||
41 | @Test | |
42 | public void test GetProvide rUnsignedN otes() | |
43 | { | |
44 | tr y | |
45 | { | |
46 | startDat e.set(2011 , 2, 1); | |
47 | endDate. set(2011, 3, 1); | |
48 | ||
49 | JMeadows Query qb = setupQuer y(user, pa tient, sta rtDate, en dDate); | |
50 | ||
51 | //mockPr oviderBase dQuery(qb. getUser(), "1620211" , "258"); | |
52 | List<Pro gressNote> unsignedN otes = not esDao.getP roviderUns ignedNotes (qb); | |
53 | assertTr ue(unsigne dNotes.siz e() > 0); | |
54 | logger.d ebug("# of Unsigned Notes: " + unsignedN otes.size( )); | |
55 | testForP roviderBea nMeta(unsi gnedNotes) ; | |
56 | for(Prog ressNote p n : unsign edNotes) | |
57 | { | |
58 | logg er.debug(" NoteId: " + pn.getNo teId()); | |
59 | logg er.debug(" PatientId: " + pn.ge tPatientId ()); | |
60 | logg er.debug(" PatientNam e: " + pn. getPatient Name()); | |
61 | logg er.debug(" NoteDate: " + Utils. formatDisp layDate(pn .getNoteDa te())); | |
62 | logg er.debug(" NoteType: " + pn.get NoteType() ); | |
63 | logg er.debug(" NoteTitle: " + pn.ge tNoteTitle ()); | |
64 | logg er.debug(" NoteStatus : " + pn.g etStatus() ); | |
65 | if(E RROR_MSG_C ONNECTION_ UNAVAILABL E.equalsIg noreCase(p n.getNoteT ype())) | |
66 | { | |
67 | fail("Data fetch fai led..."); | |
68 | } | |
69 | logg er.debug(" ---"); | |
70 | } | |
71 | } | |
72 | ca tch (JMead owsExcepti on ex) | |
73 | { | |
74 | fail(ex. getMessage ()); | |
75 | } | |
76 | } | |
77 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.