Skip to content

TestIO: cleaned up by using an object to pass the options#6044

Merged
firewave merged 1 commit into
cppcheck-opensource:mainfrom
firewave:testio
Feb 27, 2024
Merged

TestIO: cleaned up by using an object to pass the options#6044
firewave merged 1 commit into
cppcheck-opensource:mainfrom
firewave:testio

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread test/testio.cpp
check(code, dinit(CheckOptions, $.inconclusive = true, $.platform = Platform::Type::Unix64, $.onlyFormatStr = true, $.cpp = cpp));
assertEquals(filename, linenr, emptyString, errout.str());
check(code, true, false, Platform::Type::Win32A, true, cpp);
check(code, dinit(CheckOptions, $.inconclusive = true, $.platform = Platform::Type::Win32A, $.onlyFormatStr = true, $.cpp = cpp));
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why Win32W is missing in these tests.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't remember any reason.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay - will add that in a separate PR.

Comment thread test/testio.cpp
@firewave firewave merged commit e113a38 into cppcheck-opensource:main Feb 27, 2024
@firewave firewave deleted the testio branch February 27, 2024 15:50
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

Successfully merging this pull request may close these issues.

2 participants