Produced by Araxis Merge on 7/10/2017 1:01:44 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\IV-ehmp_cif\ImagingCommon\main\test\java\gov\va\med\imaging\monitor | DriveLimitSerializationTest.java | Thu Jun 29 17:22:56 2017 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\IV-ehmp_cif\ImagingCommon\main\test\java\gov\va\med\imaging\monitor | DriveLimitSerializationTest.java | Thu Jul 6 15:02:50 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 64 |
| 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 | * | |
| 3 | */ | |
| 4 | package go v.va.med.i maging.mon itor; | |
| 5 | ||
| 6 | import gov .va.med.im aging.Seri alizationD eserializa tion; | |
| 7 | ||
| 8 | import jun it.framewo rk.TestCas e; | |
| 9 | ||
| 10 | /** | |
| 11 | * @author
|
|
| 12 | * | |
| 13 | */ | |
| 14 | public cla ss DriveLi mitSeriali zationTest | |
| 15 | extends Te stCase | |
| 16 | { | |
| 17 | ||
| 18 | pu blic void testSerial ization() | |
| 19 | th rows Drive LimitIniti alizationE xception | |
| 20 | { | |
| 21 | Driv eLimit ori ginal; | |
| 22 | Driv eLimit clo ne; | |
| 23 | Seri alizationD eserializa tion<Drive LimitMemen to> serdes = new Ser ialization Deserializ ation<Driv eLimitMeme nto>(); | |
| 24 | ||
| 25 | orig inal = Dri veLimit.cr eate("c", DriveLimit .LimitType .MONITOR, DriveLimit .LimitStat istic.FREE _SPACE, 0L ); | |
| 26 | Driv eLimitMeme nto origin alMemento = original .getMement o(); | |
| 27 | Driv eLimitMeme nto cloneM emento = s erdes.seri alizeAndDe serialize( originalMe mento); | |
| 28 | clon e = DriveL imit.creat e( cloneMe mento ); | |
| 29 | asse rtEquals(o riginal, c lone); | |
| 30 | } | |
| 31 | ||
| 32 | ||
| 33 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.