UTBotCpp
UTBotCpp copied to clipboard
incorrect namespace of global variable type
To Reproduce Steps to reproduce the behavior:
- Open the JQ project in IDE
- Use plugin to generate tests
- Run the generated test
Expected behavior Tests are supposed to compiled.
Actual behavior compilation error
Visual proofs (screenshots, logs)
/home/utbot/jq/tests/makefiles/src/../../../tests/src/builtin_dot_c_test.cpp:9:1: error: unknown type name 'OnigEncodingTypeST'; did you mean 'UTBot::OnigEncodingTypeST'?
OnigEncodingTypeST OnigEncodingUTF8;
^~~~~~~~~~~~~~~~~~
UTBot::OnigEncodingTypeST
/home/utbot/jq/tests/makefiles/src/../../../tests/src/builtin_dot_c_test.h:531:8: note: 'UTBot::OnigEncodingTypeST' declared here
struct OnigEncodingTypeST {
^
/home/utbot/jq/tests/makefiles/src/../../../tests/src/builtin_dot_c_test.cpp:10:1: error: unknown type name 'OnigSyntaxType'; did you mean 'UTBot::OnigSyntaxType'?
OnigSyntaxType OnigSyntaxPerl_NG;
^~~~~~~~~~~~~~
UTBot::OnigSyntaxType
Additional context Use types from UTBot Namespace