-
Notifications
You must be signed in to change notification settings - Fork 163
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
#389 virtual model properties for mocking accessibility #603
#389 virtual model properties for mocking accessibility #603
Conversation
Verified that @Cpcrook has signed the CLA. Thanks for the pull request! |
@Cpcrook, thank you for this pr! We really appreciate it, we will take a look at this and keep you updated |
Hi @Cpcrook! The team is focused on a release this week for the box-ios-sdk. So, we will review your PR on Thursday of next week and will respond later that day! Thanks again! |
add missing parameters to managers's interfaces add obsolete attribute to managers's interfaces add missing class descriptions to managers's interfaces add virtual keyword to models that were missing it
Hi @Cpcrook! |
I moved all the changes to separate PR because of appveyor issues when building from fork #735. |
Per issue #389 and PR #602 this is the second half of my fix for the referenced issue.
It makes all non-EventSource model class properties virtual so they can be mocked with a mocking framework such as Moq without issue. Combined with #602 this should allow effective mocking of a decent amount of this SDK.
In order to minimize impact to the code base, I decided against implementing interfaces for all of these model classes, as I don't believe there is any significant payoff to doing so as compared to virtual props.