-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit test coverage to v2 service client (#3137)
* Improve unit test coverages for Devices V2 (#3046) * Add test cases * Add more tests * Add more unit tests * Address comments * Address comments * Address comments * Add unit tests for ConfigurationsClient * remove unused import statements * Add more test cases and address comments * Add a simple message unit test * Npatilsen/improve unit test coverage (#3047) * connection string tests -- connection string to 90+, connection string parser to 85+, sasbuilder to 100 * added clientTwinProperties test * TwinsClient tests up to 92% and 76% * dmcr tests * dcmr part 2 * direct method service request coverage * direct method service request coverage p2 * exponentialretrypolicy * address comments * Improve code coverage DevicesClient V2 (#3073) * Add more unit tests * Address comments * Create new tests * Work in progress * Work in progress * Work in progress * Add more unit tests * Make methods virtual and write more unit test cases * Add more test * Add comment * Rename test case * remove extra line * remove extra line * Address comments * Add comments * Npatilsen improve code coverage 2 (#3063) * iothubserviceclient tests started * iothubservice client part 2 * fixeddelayretrypolicy * extra fixedretry and incrementalretry policy tests * connection properties and sas properties tests * addressed comments * reformatted logic for connection properties hostname * more comments * Fix error (#3078) * added serialized client twins to http response (#3079) * Remove invalid test * Add new unit tests in V2 Devices to improve coverage (#3089) * Add tests for IotHubTokenCredentialProperties and deserialization * Rename tests * work in progress * Work in progress * Work in progress * Add more tests * Added more tests * Fix broken test * Make changes * Make changes * Address comments 1 * Address comments * Address comments * Address comments * Update test method * minor change * add a test * address comments * address comments * Add additional assertion for validation * address comment * fix typo * address comments * remove extra assertions * address comments * Improve code coverage for AMQP Devices V2 (#3099) * Add tests for IotHubTokenCredentialProperties and deserialization * Work in progress * Work in progress * Add more tests * Added more tests * Fix broken test * Make changes * Address comments 1 * Address comments * Address comments * minor change * address comments * address comments * Add additional assertion for validation * remove extra assertions * work in progress * test * work in progress * work in progress * work in progress * Work in progress * Work in progress * Fix * Fix * Fix * Add more tests * Small updates * remove duplicate test file * minor fixes * minor change * Remove unnecessary test case * Address comments * address comments * address pr comments * added subclient test coverage (serviceClient) (#3088) * rebase and digitalTwinsClient tests * digitalTwinsClient bugs fixed * query client tests outlines * query test attempts * scheduled jobs client and retry policy base fix * debugged query client tests * addressed comments p1 * addressed comments p2 * fixes part 2 * fixed retry policy base * fixes p3 * additional comments * made location more realistic * better test names * final comments addressed * Npatilsen/misc files missing tests (#3118) * rebase and digitalTwinsClient tests * digitalTwinsClient bugs fixed * query client tests outlines * query test attempts * scheduled jobs client and retry policy base fix * debugged query client tests * addressed comments p1 * addressed comments p2 * fixes part 2 * fixed retry policy base * new classes p1 * new classes p1 * merge conflict fixes * merge conflict fixes p2 * retry policy base revert * serialize jobrequests * scheduledjobsoptions serialization * queryresponse * addressed comments * addressed comments * nit comments * rebase onto previews/v2 * Delete haproxy.pem * unsealed amqp classes to make mockable * feedback and error fixes * address error message * compiler warning fix * compiler warning fix p2 * fix failing tests --------- Co-authored-by: Sophia Ji Who Choi <[email protected]> Co-authored-by: Sophia Choi <[email protected]>
- Loading branch information
1 parent
72366f2
commit 4a77f6d
Showing
62 changed files
with
5,826 additions
and
186 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.