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 | ProviderUserProfileTest.java | Mon Jul 8 18:58:46 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 | ProviderUserProfileTest.java | Wed Jul 31 23:50:15 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 174 |
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 2 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 | * Ho norable Se nator Dani el K. Inou ye | |
7 | * VA Pacific I slands Hea lth Care S ystem | |
8 | * Tr ipler Army Medical C enter | |
9 | */ | |
10 | ||
11 | package go v.va.med.j meadows.da o.provider ; | |
12 | ||
13 | import gov .va.med.jm eadows.com mon.JMeado wsExceptio n; | |
14 | import gov .va.med.jm eadows.dao .beans.Ieh rUserProfi le; | |
15 | import gov .va.med.jm eadows.dao .patient.D aoBaseTest ; | |
16 | import gov .va.med.jm eadows.web service.JM eadowsData ; | |
17 | import org .junit.Tes t; | |
18 | ||
19 | import jav ax.managem ent.JMExce ption; | |
20 | ||
21 | import sta tic org.ju nit.Assert .fail; | |
22 | ||
23 | /** | |
24 | * Created with Inte lliJ IDEA. | |
25 | * User: DNS | |
26 | * Date: 9 /6/12 | |
27 | * Time: 8 :50 AM | |
28 | * To chan ge this te mplate use File | Se ttings | F ile Templa tes. | |
29 | */ | |
30 | public cla ss Provide rUserProfi leTest ext ends DaoBa seTest | |
31 | { | |
32 | public ProviderU serProfile Test() thr ows JMExce ption | |
33 | { | |
34 | su per(); | |
35 | } | |
36 | ||
37 | @Test | |
38 | public void test GetIehrUse rProfile() | |
39 | { | |
40 | tr y | |
41 | { | |
42 | JMeadows Data jData = new JMe adowsData( ); | |
43 | ||
44 | // Fill in the sma rt card ID and Agenc y strings | |
45 | IehrUser Profile us erProfile = jData.ge tIehrUserP rofile("", "", "test @emailAddr ess.com"); | |
46 | ||
47 | if( user Profile != null ) | |
48 | { | |
49 | // Only un comment fo r debuggin g purpose, code belo w is picke d up as fo rtify issu e | |
50 | // lo gger.debug ( "Loc ID: " + userP rofile.get LocID() ); | |
51 | // lo gger.debug ( "Prov ID : " + user Profile.ge tProvID() ); | |
52 | // lo gger.debug ( "cfg: " + userProf ile.getCfg () ); | |
53 | // lo gger.debug ( "flags: " + userPr ofile.getF lags() ); | |
54 | // lo gger.debug ( "Smart c ard ID: " + userProf ile.getSma rtCardID() ); | |
55 | // lo gger.debug ( "Smart c ard Agency : " + user Profile.ge tSmartCard Agency() ) ; | |
56 | } | |
57 | } | |
58 | ca tch (JMead owsExcepti on ex) | |
59 | { | |
60 | fail(ex. getMessage ()); | |
61 | } | |
62 | } | |
63 | ||
64 | @Test | |
65 | public void test SetIehrUse rProfile() | |
66 | { | |
67 | tr y | |
68 | { | |
69 | JMeadows Data jData = new JMe adowsData( ); | |
70 | IehrUser Profile us erProfile = new Iehr UserProfil e(); | |
71 | ||
72 | // Fill in the str ings in th e user pro file to up date DB | |
73 | userProf ile.setLoc ID(""); | |
74 | userProf ile.setDbU serID(""); | |
75 | userProf ile.setCfg (""); | |
76 | userProf ile.setFla gs(""); | |
77 | userProf ile.setSma rtCardID(" "); | |
78 | userProf ile.setSma rtCardAgen cy(""); | |
79 | userProf ile.setSub jectDN("") ; | |
80 | ||
81 | jData.se tIehrUserP rofile(use rProfile); | |
82 | } | |
83 | ca tch (JMead owsExcepti on ex) | |
84 | { | |
85 | fail(ex. getMessage ()); | |
86 | } | |
87 | } | |
88 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.