Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Update CHANGELOG. udpate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xlz-jbleclere committed Jun 4, 2021
1 parent 9363113 commit 8e0266f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
* Mon May 15 2021 Accelize v2.5.3-rc1
* Mon Jun 04 2021 Accelize v2.5.3-rc1
- NEW: Add message to check networking connection in case of Timeout or Retry errors on HTTP request.
- NEW: Call the asynchronous error callback also when an error occurred on an API function call
- NEW: Support new HDK version v6.0.0
- DOC: Update the HDK simulation page

* Mon Apr 7 2021 Accelize v2.5.2
Expand Down
1 change: 1 addition & 0 deletions tests/test_function_arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ def test_drm_manager_get_and_set_bad_arguments(accelize_drm, conf_json, cred_jso
print("Test when bad argument is given to set: PASS")


@pytest.mark.no_parallel
@pytest.mark.aws
def test_c_unittests(accelize_drm, exec_func):
"""Test errors when missing arguments are given to DRM Controller Constructor"""
Expand Down
4 changes: 3 additions & 1 deletion tests/unittests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ static DrmManagerMaker* sDrm = nullptr;

// Test null callback pointers
int test_null_read_callback() {
int ret;
int ret = -1;
if (sDrm->mIsCpp) {
cpp::DrmManager* drm = nullptr;
try {
Expand All @@ -496,6 +496,8 @@ int test_null_read_callback() {
ret = DRM_ErrorCode::DRM_OK;
} catch( const cpp::Exception& e ) {
ret = e.getErrCode();
std::cerr << "EXCEPTION (" << ret << "): " << e.what() << std::endl;

}
if (drm)
delete drm;
Expand Down

0 comments on commit 8e0266f

Please sign in to comment.