Skip to content
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

Add mocking constructors to TransactionalBatchOperationResult #1050

Merged
merged 5 commits into from
Nov 27, 2019
Merged

Add mocking constructors to TransactionalBatchOperationResult #1050

merged 5 commits into from
Nov 27, 2019

Conversation

joshlang
Copy link
Contributor

Pull Request Template

Description

#1048

Mocking constructors were missing from TransactionalBatchOperationResult. Probably by accident. This pull request adds them back in.

Other public classes in this project support mocking. It's also consistent with guidance here: https://azure.github.io/azure-sdk/dotnet_introduction.html

Type of change

  • New feature (non-breaking change which adds functionality)

Closing issues

closes #1048

Assignee

Please add yourself as the assignee

Projects

Please add relevant projects so this issue can be properly tracked.

…nged private -> protected ctor in TransactionalBatchOperationResult. This allows for Mocks, consistent with the other public classes.
abhijitpai
abhijitpai previously approved these changes Nov 24, 2019
@j82w
Copy link
Contributor

j82w commented Nov 25, 2019

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@msftclas
Copy link

msftclas commented Nov 25, 2019

CLA assistant check
All CLA requirements met.

…nsactionalBatchOperationResult<T> are mockable.
ealsur
ealsur previously approved these changes Nov 25, 2019
@ealsur
Copy link
Member

ealsur commented Nov 25, 2019

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

j82w
j82w previously approved these changes Nov 25, 2019
@kirankumarkolli
Copy link
Member

@joshlang can you please resolve conflicts?

@joshlang joshlang dismissed stale reviews from kirankumarkolli, j82w, and ealsur via 6b80c87 November 27, 2019 00:35
@joshlang
Copy link
Contributor Author

@joshlang can you please resolve conflicts?

Sure. Done. I made the presumption that it'll make it into 3.5.0.

@j82w
Copy link
Contributor

j82w commented Nov 27, 2019

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@kirankumarkolli kirankumarkolli merged commit 445b7ea into Azure:master Nov 27, 2019
@kirankumarkolli
Copy link
Member

Thanks alot @joshlang for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TransactionalBatchOperationResult is missing a mocking constructor.
6 participants