Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the object differ for use in tests. #2643.
This enables reliable tests that serialization / deserialization perfectly restores a Graph. In some ways this simplifies the differ, but it also ensures that it performs a very deep recursive comparison of almost every object. Also added tests that can compare two references to the same object, which provide strong evidence that the differ actually works.
- Loading branch information
Showing
12 changed files
with
441 additions
and
354 deletions.
There are no files selected for viewing
10 changes: 0 additions & 10 deletions
10
src/main/java/org/opentripplanner/common/diff/DiffPrinter.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 0 additions & 71 deletions
71
src/main/java/org/opentripplanner/common/diff/GenericDiffConfig.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.