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

Feat: Native SDK unit tests support framework #219

Closed
wants to merge 4 commits into from

Conversation

parag-pv
Copy link
Contributor

JSON engine with validator
Temporary mock transport
Dependency updates

@rdkcmf-jenkins
Copy link

b'## Copyright scan failure
Commit: ca3cdcd
Report detail: https://gist.github.com/rdkcmf-jenkins/96c2fcd08b623a3f32e8e0969be02d81'

@rdkcmf-jenkins
Copy link

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/firebolt-openrpc/219/rdkcentral/firebolt-openrpc

  • Commit: ca3cdcd

Report detail: gist'

@rdkcmf-jenkins
Copy link

b'## WARNING: A Blackduck scan failure has been waived

A prior failure has been upvoted

  • Upvote reason: ok

  • Commit: ca3cdcd
    '

template <typename RESPONSE>
Firebolt::Error MockResponse(WPEFramework::Core::JSONRPC::Message &message, RESPONSE &response)
{
std::cout << "Inside JSON engine MockResponse function" << std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This debug log can be removed.

// template <typename RESPONSE>
void MockRequest(const WPEFramework::Core::JSONRPC::Message* message)
{
std::cout << "Inside JSON engine MockRequest function" << std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This debug log can be removed.

@@ -0,0 +1,1087 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please go through and add comments to this file to explain the functionality. I'm looking specifically for:

  • Function definitions
  • Explanations of major code sections

@parag-pv
Copy link
Contributor Author

Since this PR is outdated, moved changes to #222 which is based off of latest next branch. All review comments in this PR are addressed under the new PR (review comments fix commit)

Closing this PR

@parag-pv parag-pv closed this Sep 30, 2024
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.

4 participants