-
-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Object Graph Comparison - ShouldBeEquivalentTo(...) #411
Merged
Commits on Jul 24, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7955d69 - Browse repository at this point
Copy the full SHA 7955d69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d5a22d - Browse repository at this point
Copy the full SHA 5d5a22dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fa54a1 - Browse repository at this point
Copy the full SHA 4fa54a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f89c8bd - Browse repository at this point
Copy the full SHA f89c8bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03a584d - Browse repository at this point
Copy the full SHA 03a584dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cd703a - Browse repository at this point
Copy the full SHA 8cd703aView commit details -
Add IEnumerable comparison logic and unit tests.
This change involves change the datatype of the 'path' variable from IList<T> to IEnumerable<T> to get LINQ functionality (and maybe some better performance due to fewer passes through the lists).
Configuration menu - View commit details
-
Copy full SHA for dc84c95 - Browse repository at this point
Copy the full SHA dc84c95View commit details -
Add child property comparison logic and unit tests.
This introduces the actual recursion into the comparison logic. Some refactoring of code is included to call attention to the places where the object graph path is modified.
Configuration menu - View commit details
-
Copy full SHA for 4001bae - Browse repository at this point
Copy the full SHA 4001baeView commit details -
Add infinite loop detection logic and unit tests.
This introduces a dictionary that keeps track of which objects have previously been (or are currently being) compared. Any new child comparisons will first check this dictionary; if the comparison has already been done between the current objects, then they are simply skipped. This should avoid infinite loop problems. The dictionary is keyed by the actual object being compared, and the values represent a list of objects that the key has been compared against.
Configuration menu - View commit details
-
Copy full SHA for a7e7ddb - Browse repository at this point
Copy the full SHA a7e7ddbView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.