Produced by Araxis Merge on 4/23/2019 12:15:00 PM Central 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 | C:\AraxisMergeCompare\Pri_un\CCRS\CCRS-PMPM-Rcvr-v6.3.0\CCRS-PMPM-Rcvr-v6.3.0\src\test\java\gov\va\ccrs\receiver | ReceiverApplicationTests.java | Wed Mar 20 20:42:30 2019 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\CCRS\CCRS-PMPM-Rcvr-v6.3.0\CCRS-PMPM-Rcvr-v6.3.0\src\test\java\gov\va\ccrs\receiver | ReceiverApplicationTests.java | Wed Apr 17 02:59:54 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 90 |
| 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 | package go v.va.ccrs. receiver; | |
| 2 | ||
| 3 | ||
| 4 | import org .junit.Tes t; | |
| 5 | import org .junit.run ner.RunWit h; | |
| 6 | ||
| 7 | import jav ax.naming. NamingExce ption; | |
| 8 | ||
| 9 | import org .apache.to mcat.dbcp. dbcp2.cpds adapter.Dr iverAdapte rCPDS; | |
| 10 | import org .apache.to mcat.dbcp. dbcp2.data sources.Sh aredPoolDa taSource; | |
| 11 | import org .junit.Bef oreClass; | |
| 12 | import org .springfra mework.boo t.test.con text.Sprin gBootTest; | |
| 13 | import org .springfra mework.moc k.jndi.Sim pleNamingC ontextBuil der; | |
| 14 | import org .springfra mework.tes t.context. junit4.Spr ingRunner; | |
| 15 | ||
| 16 | @RunWith(S pringRunne r.class) | |
| 17 | @SpringBoo tTest | |
| 18 | public cla ss Receive rApplicati onTests { | |
| 19 | ||
| 20 | @T est | |
| 21 | pu blic void contextLoa ds() { | |
| 22 | } | |
| 23 | ||
| 24 | @B eforeClass | |
| 25 | public static vo id init() { | |
| 26 | ||
| 27 | try { | |
| 28 | Simp leNamingCo ntextBuild er builder = new Sim pleNamingC ontextBuil der(); | |
| 29 | Driv erAdapterC PDS cpds = new Drive rAdapterCP DS(); | |
| 30 | cpds .setDriver ("com.micr osoft.sqls erver.jdbc .SQLServer Driver"); | |
| 31 | cpds .setUrl("j dbc:sqlser ver://ccrs devsql01.f avortech.l ocal:1433; databaseNa me=ccrsdb" ); | |
| 32 | cpds .setUser(" ccrs_rw"); | |
| 33 | cpds.setPa ssword(" PII "); | |
| 34 | Shar edPoolData Source dat aSource = new Shared PoolDataSo urce(); | |
| 35 | data Source.set Connection PoolDataSo urce(cpds) ; | |
| 36 | buil der.bind(" java:/comp /env/jdbc/ ccrsDs", d ataSource) ; | |
| 37 | buil der.activa te(); | |
| 38 | } catch (NamingExc eption ex) { | |
| 39 | ex.printSt ackTrace() ; | |
| 40 | } catch (ClassNotF oundExcept ion e) { | |
| 41 | ||
| 42 | e.prin tStackTrac e(); | |
| 43 | } | |
| 44 | } | |
| 45 | ||
| 46 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.