-
Notifications
You must be signed in to change notification settings - Fork 22
RDK-59038: Improve L1 test coverage #176
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
Merged
+5,062
−8,264
Merged
Changes from 19 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
583f077
RDK-59059: Modify native platform instead of ci
dharshini555 391a535
Update profileTest.cpp
dharshini555 8d7473f
Change native-platform container instead of ci
dharshini555 86cae7d
Update L1-tests.yml
dharshini555 951ae62
Update test code
dharshini555 7a11f09
Merge branch 'develop' into topic/RDK-59038
dharshini555 1ff1e0a
Update test cases to increase line coverage
dharshini555 7259802
Update test cases to improve line coverage
dharshini555 60bf06a
Remove rbus files from test dir as it is available by default in nati…
dharshini555 971950e
Update new binaries in run_ut.sh script
dharshini555 aeb7901
Merge branch 'develop' into topic/RDK-59038
dharshini555 5b5ff0b
Update TelemetryBusMsgSender.cpp
dharshini555 1d796d3
Fix formatting errors
dharshini555 5c4b7c8
Update TelemetryBusMsgSender.cpp
dharshini555 f531243
Update TelemetryBusMsgSender.cpp
dharshini555 aeeeb93
Update TelemetryBusMsgSender.cpp
dharshini555 e794f2d
Update ccspinterfaceTest.cpp
dharshini555 0bcc965
Update ccspinterfaceTest.cpp
dharshini555 a7a3b58
Update dcautilTest.cpp
dharshini555 bc71978
Improve L1 test coverage
dharshini555 e55e20f
Resolve crash issues
dharshini555 81ffb83
Update t2markersTest.cpp
dharshini555 6b883ff
Update code-coverage.yml
dharshini555 1ca9661
Update profileTest.cpp
dharshini555 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| /* | ||
| * Copyright 2020 Comcast Cable Communications Management, LLC | ||
|
Check failure on line 2 in source/test/bulkdata/datamodelMock.cpp
|
||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
| #include <stdbool.h> | ||
| #include <cjson/cJSON.h> | ||
| #include "test/bulkdata/datamodelMock.h" | ||
|
|
||
|
|
||
|
|
||
| // Mock Method | ||
| extern "C" void __wrap_ReportProfiles_ProcessReportProfilesBlob(cJSON *profiles_root, bool rprofiletypes) | ||
| { | ||
| if (!g_datamodelMock) | ||
| { | ||
| return; | ||
| } | ||
| return g_datamodelMock->ReportProfiles_ProcessReportProfilesBlob(profiles_root, rprofiletypes); | ||
| } | ||
|
|
||
| extern "C" void __wrap_ReportProfiles_ProcessReportProfilesMsgPackBlob(char *msgpack_blob, int msgpack_blob_size) | ||
| { | ||
| if (!g_datamodelMock) | ||
| { | ||
| return; | ||
| } | ||
| return g_datamodelMock->ReportProfiles_ProcessReportProfilesMsgPackBlob(msgpack_blob, msgpack_blob_size); | ||
| } | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.