Support for UMF Componenets Model Components Root with name as integr…#224
Draft
niranjanivivek wants to merge 1 commit into
Draft
Support for UMF Componenets Model Components Root with name as integr…#224niranjanivivek wants to merge 1 commit into
niranjanivivek wants to merge 1 commit into
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
1cd6590 to
c566827
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
c566827 to
a9c04e4
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
a9c04e4 to
95eecb1
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
amrutasali
reviewed
Jun 8, 2026
| @@ -0,0 +1,560 @@ | |||
| package transformer | |||
Contributor
There was a problem hiding this comment.
The test is not part of transformer package. Also it should be part of testapp.test binary(sepaate from the main transformer infra test)
Please use the following :
//go:build testapp
// +build testapp
package transformer_test
Contributor
Author
There was a problem hiding this comment.
Thank you for the comment. I will check internally and update.
…ated-circuit Signed-off-by: Niranjani Vivek <niranjaniv@google.com>
95eecb1 to
ddf0a00
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Support for UMF Componenets Model Components Root with name as integrated circuit
UT Test Result:
=== RUN TestCompRoot_ComponentTypeString
--- PASS: TestCompRoot_ComponentTypeString (0.00s)
=== RUN TestCompRoot_ValidICName
=== RUN TestCompRoot_ValidICName/Fails_HasPrefix_check
=== RUN TestCompRoot_ValidICName/Fails_len(sp)<2_check(Prefix_matches_exactly,but_nothing_follows)
=== RUN TestCompRoot_ValidICName/Fails_Atoi_check(Suffix_is_not_a_valid_integer)
=== RUN TestCompRoot_ValidICName/Fails_Atoi_check(Suffix_is_not_a_valid_integer)#1
=== RUN TestCompRoot_ValidICName/Passes_all_checks_(Valid_IC_name)
--- PASS: TestCompRoot_ValidICName (0.00s)
--- PASS: TestCompRoot_ValidICName/Fails_HasPrefix_check (0.00s)
--- PASS: TestCompRoot_ValidICName/Fails_len(sp)<2_check(Prefix_matches_exactly,but_nothing_follows) (0.00s)
--- PASS: TestCompRoot_ValidICName/Fails_Atoi_check(Suffix_is_not_a_valid_integer) (0.00s)
--- PASS: TestCompRoot_ValidICName/Fails_Atoi_check(Suffix_is_not_a_valid_integer)#1 (0.00s)
--- PASS: TestCompRoot_ValidICName/Passes_all_checks_(Valid_IC_name) (0.00s)
=== RUN TestCompRoot_GetCompTypeByName
--- PASS: TestCompRoot_GetCompTypeByName (0.00s)
=== RUN TestCompRoot_GetCompType_ErrorCases
--- PASS: TestCompRoot_GetCompType_ErrorCases (0.00s)
=== RUN TestCompRoot_GetPfmRootObject
--- PASS: TestCompRoot_GetPfmRootObject (0.00s)
=== RUN TestCompRoot_GetPfmRootObject_Success
--- PASS: TestCompRoot_GetPfmRootObject_Success (0.00s)
=== RUN TestCompRoot_GetSysComponentsWithUnknownComponentType
--- PASS: TestCompRoot_GetSysComponentsWithUnknownComponentType (0.00s)
=== RUN TestCompRoot_Subscribe_pfm_components_xfmr
=== RUN TestCompRoot_Subscribe_pfm_components_xfmr/Early_Exit_-Key_is_empty(Requesting_ALL_components)
=== RUN TestCompRoot_Subscribe_pfm_components_xfmr/Early_Exit_-Key_contains__sensor
--- PASS: TestCompRoot_Subscribe_pfm_components_xfmr (0.00s)
--- PASS: TestCompRoot_Subscribe_pfm_components_xfmr/Early_Exit-Key_is_empty(Requesting_ALL_components) (0.00s)
--- PASS: TestCompRoot_Subscribe_pfm_components_xfmr/Early_Exit_-_Key_contains__sensor (0.00s)
=== RUN TestCompRoot_GetAllTableEntries
=== RUN TestCompRoot_GetAllTableEntries/Coverage:_Empty_table_name_exits_early
=== RUN TestCompRoot_GetAllTableEntries/Coverage:_Empty_key_exits_early
=== RUN TestCompRoot_GetAllTableEntries/Coverage:_DB_execution_failure_bubbles_up
=== RUN TestCompRoot_GetAllTableEntries/Check_valid_case
--- PASS: TestCompRoot_GetAllTableEntries (0.00s)
--- PASS: TestCompRoot_GetAllTableEntries/Coverage:_Empty_table_name_exits_early (0.00s)
--- PASS: TestCompRoot_GetAllTableEntries/Coverage:_Empty_key_exits_early (0.00s)
--- PASS: TestCompRoot_GetAllTableEntries/Coverage:_DB_execution_failure_bubbles_up (0.00s)
--- PASS: TestCompRoot_GetAllTableEntries/Check_valid_case (0.00s)
=== RUN TestCompRoot_FillICInfo
=== RUN TestCompRoot_FillICInfo/Coverage:_Path_matches_COMP_exactly
=== RUN TestCompRoot_FillICInfo/Coverage:_Path_matches_COMP_ST_exactly
=== RUN TestCompRoot_FillICInfo/Coverage:_Path_has_COMP_ST_prefix_but_hits_switch_default
=== RUN TestCompRoot_FillICInfo/Coverage:_Path_doesn't_match_either_condition
--- PASS: TestCompRoot_FillICInfo (0.00s)
--- PASS: TestCompRoot_FillICInfo/Coverage:_Path_matches_COMP_exactly (0.00s)
--- PASS: TestCompRoot_FillICInfo/Coverage:_Path_matches_COMP_ST_exactly (0.00s)
--- PASS: TestCompRoot_FillICInfo/Coverage:_Path_has_COMP_ST_prefix_but_hits_switch_default (0.00s)
--- PASS: TestCompRoot_FillICInfo/Coverage:_Path_doesn't_match_either_condition (0.00s)
=== RUN TestCompRoot_DbToYang_pfm_components_xfmr
=== RUN TestCompRoot_DbToYang_pfm_components_xfmr/Coverage:_Unsupported_request_URI_triggers_early_exit_error
=== RUN TestCompRoot_DbToYang_pfm_components_xfmr/Coverage:_Successful_execution_path_calls_downstream_getSysComponents
--- PASS: TestCompRoot_DbToYang_pfm_components_xfmr (0.00s)
--- PASS: TestCompRoot_DbToYang_pfm_components_xfmr/Coverage:_Unsupported_request_URI_triggers_early_exit_error (0.00s)
--- PASS: TestCompRoot_DbToYang_pfm_components_xfmr/Coverage:_Successful_execution_path_calls_downstream_getSysComponents (0.00s)
=== RUN TestCompRoot_CompTypeToFuncCall
=== RUN TestCompRoot_CompTypeToFuncCall/Invalid_Component_Type_returns_error
=== RUN TestCompRoot_CompTypeToFuncCall/Valid_CompTypeIC_path
--- PASS: TestCompRoot_CompTypeToFuncCall (0.00s)
--- PASS: TestCompRoot_CompTypeToFuncCall/Invalid_Component_Type_returns_error (0.00s)
--- PASS: TestCompRoot_CompTypeToFuncCall/Valid_CompTypeIC_path (0.00s)
=== RUN TestCompRoot_CreateCompAndFuncCall_Success
=== RUN TestCompRoot_CreateCompAndFuncCall_Success/Successful_component_creation_and_execution_for_default_type
--- PASS: TestCompRoot_CreateCompAndFuncCall_Success (0.00s)
--- PASS: TestCompRoot_CreateCompAndFuncCall_Success/Successful_component_creation_and_execution_for_default_type (0.00s)
=== RUN TestCompRoot_Subscribe_pfm_components_xfmr_TranslateExists
--- PASS: TestCompRoot_Subscribe_pfm_components_xfmr_TranslateExists (0.00s)
=== RUN TestCompRoot_Subscribe_pfm_components_xfmr_TranslateSubscribe
--- PASS: TestCompRoot_Subscribe_pfm_components_xfmr_TranslateSubscribe (0.00s)
=== RUN TestCompRoot_TranslateExistsInvalidKey
--- PASS: TestCompRoot_TranslateExistsInvalidKey (0.00s)
=== RUN TestCompRoot_TranslateExistsValidKey
--- PASS: TestCompRoot_TranslateExistsValidKey (0.00s)
=== RUN TestCompRoot_TranslateSubscribeValidKey
--- PASS: TestCompRoot_TranslateSubscribeValidKey (0.00s)
PASS