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

UTBot don't decorate struct field [BUG] #465

Closed
ladisgin opened this issue Sep 15, 2022 · 2 comments · Fixed by #470
Closed

UTBot don't decorate struct field [BUG] #465

ladisgin opened this issue Sep 15, 2022 · 2 comments · Fixed by #470
Assignees
Labels
bug Something isn't working verified Bug fix is verified

Comments

@ladisgin
Copy link
Member

Description
UTBot don't decorate struct field

To Reproduce
Steps to reproduce the behavior:

  1. Generate tests for equals from c-example/lib/keywords/keywords_dot_c_test.cpp
  2. Try run tests

Expected behavior
Test passed

Actual behavior
Compilation error

Visual proofs (screenshots, logs)

TEST(regression, equals_test_1)
{
    _Bool actual = equals({
        .public = 0L,
        .private = 0L
    });
    EXPECT_EQ(true, actual);
}
@ladisgin ladisgin added the bug Something isn't working label Sep 15, 2022
@korifey korifey moved this to Todo in UTBot C/C++ Sep 15, 2022
@alexey-utkin alexey-utkin moved this from Todo to In Progress in UTBot C/C++ Sep 21, 2022
ladisgin pushed a commit that referenced this issue Sep 23, 2022
* UTBot don't decorate struct field [BUG] #465
@ladisgin ladisgin linked a pull request Oct 4, 2022 that will close this issue
@ladisgin
Copy link
Member Author

ladisgin commented Oct 4, 2022

#470

@ladisgin ladisgin closed this as completed Oct 4, 2022
Repository owner moved this from In Progress to Done in UTBot C/C++ Oct 4, 2022
@tyuldashev
Copy link
Collaborator

This specific problem fixed but there are other similar problems like #534 and #535

@tyuldashev tyuldashev added the verified Bug fix is verified label Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working verified Bug fix is verified
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants