Merge pull request #15 in MM/mpin-sdk-core from feature/backendless_testing to master
* commit 'ae986820e4781f61fb2a4ea486d6f25e5471d84b': Use pre-recorded backend communication data in unit tests Project: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-sdk-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-sdk-core/commit/99c5a891 Tree: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-sdk-core/tree/99c5a891 Diff: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-sdk-core/diff/99c5a891 Branch: refs/heads/master Commit: 99c5a89192526ac74bb2ae879d7106a182961716 Parents: 5a6c03f ae98682 Author: Slav Klenov <[email protected]> Authored: Fri Oct 14 14:09:27 2016 +0200 Committer: Slav Klenov <[email protected]> Committed: Fri Oct 14 14:09:27 2016 +0200 ---------------------------------------------------------------------- .gitignore | 1 + project/unit_tests/Makefile | 8 +- project/visual_studio_2015/mpin_sdk.sln | 25 +- .../mpin_sdk_test_common.vcxproj | 10 + .../mpin_sdk_test_common.vcxproj.filters | 30 + project/visual_studio_2015/unit_tests.vcxproj | 6 + src/utils.cpp | 18 + src/utils.h | 3 + tests/cmdline_test.cpp | 10 +- tests/common/access_number_thread.cpp | 54 +- tests/common/access_number_thread.h | 13 + tests/common/http_player.cpp | 71 + tests/common/http_player.h | 55 + tests/common/http_recorded_data.cpp | 239 ++ tests/common/http_recorded_data.h | 85 + tests/common/http_recorder.cpp | 82 + tests/common/http_recorder.h | 55 + tests/common/test_context.cpp | 101 + tests/common/test_context.h | 66 + tests/common/test_mpin_sdk.cpp | 124 + tests/common/test_mpin_sdk.h | 56 + tests/contexts/auto_context.cpp | 21 +- tests/contexts/auto_context.h | 8 +- tests/contexts/cmdline_context.cpp | 21 +- tests/contexts/cmdline_context.h | 7 +- tests/unit_tests.cpp | 107 +- tests/unit_tests_recorded_data.json | 2749 ++++++++++++++++++ .../project/visual_studio_2015/hexdump.sln | 28 + .../project/visual_studio_2015/hexdump.vcxproj | 133 + .../visual_studio_2015/hexdump.vcxproj.filters | 13 + tools/hexdump/src/main.cpp | 66 + 31 files changed, 4162 insertions(+), 103 deletions(-) ----------------------------------------------------------------------
