azure-sdk-for-cpp/sdk/core
Ahson Khan 75d17550f2
Add argument validation to public APIs. Throw or Precondition/assert failure? (#2189)
* Add argument validation to public APIs.

* Add exception to spell check.

* Revert "Add exception to spell check."

This reverts commit be54b614cc1427ddb2f154f5927f4e612a4a1e28.

* Turn invalid arg excetion to a precondition assert for bodystream read.

* User assert in more places within body_stream.

* Update valiation for hashing and bodystream and update tests.

* Update  precondition test for size_t and add null ptr check

* Fix clang formatting.

* Update changelog and fix up the message for size_t validation in hash.

* Address PR feedback.

* More PR feedback.

* Remove unnecessary comment from test.

* Fix clang format.
2021-05-18 20:10:14 -07:00
..
azure-core Add argument validation to public APIs. Throw or Precondition/assert failure? (#2189) 2021-05-18 20:10:14 -07:00
perf Update upper/lower/other casing (#2267) 2021-05-14 12:54:16 -07:00
ci.yml Json unit tests (#1464) 2021-01-27 10:07:12 -08:00
CMakeLists.txt Rename and structure unit test and perf tests (#1706) 2021-02-23 05:55:12 +00:00