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

Nested bag can't be parsed #87

Open
dzvancuks opened this issue Jun 20, 2024 · 0 comments
Open

Nested bag can't be parsed #87

dzvancuks opened this issue Jun 20, 2024 · 0 comments

Comments

@dzvancuks
Copy link

Based on bags.robot tests

*** Test Cases ***
Bag with nested bag
    Bag message client
    u8     element       1
    u8     element2      42
    u8     element3      1
    u8     first         12
    u8     second        55
    Client sends message
    Bag message server with minimums with nested bag
    ${msg}=    Server receives message    # Unable to decode bag value.

*** Keywords ***
Bag message client
    New message   ConditionalExample   Example    header:messageType:0xb0b0

Bag message server with minimums with nested bag
    New message   ConditionalExample   Example    header:messageType:0xb0b0
    Start bag    intBag
    case   1      u8    foo    42
    case   1-2    u8    bar    1
    case   *      Nested bag
    End bag

Nested bag
   Start bag    intBag
   case   1      u8    first
   case   1      u8    second     55
   End bag
==============================================================================
Tests                                                                         
==============================================================================
Tests.Test                                                                    
==============================================================================
Bag with nested bag                                                   | FAIL |
Unable to decode bag value.
------------------------------------------------------------------------------
Tests.Test                                                            | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
Tests                                                                 | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
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

No branches or pull requests

1 participant