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

Change INSTANTIATE_TEST_CASE_P to SUITE_P #651

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

fulldecent
Copy link
Contributor

@fulldecent fulldecent commented Dec 14, 2024

This changes the INSTANTIATE_TEST_CASE_P macro to INSTANTIATE_TEST_SUITE_P as the C testing framework we use googletest, deprecated the CASE macros in their v1.10.0 release.

Original description:

Remove unused param to fix warnings.

Bump bazel testing to fix warnings.

All for C implementation.

@drinckes
Copy link
Contributor

IIUC this is wanting to make a breaking change the existing C API?

I'd suggest you create an issue so that you can explain why you want to make this change and we'll see if anyone chimes in.

@fulldecent
Copy link
Contributor Author

Created at #666

@drinckes
Copy link
Contributor

You need to remove the breaking API change to OLC_Encode, OLC_EncodeDefault, OLC_Shorten and OLC_RecoverNearest. I'm not going to approve that, certainly without a significant discussion and without seeing support from other people.

The change to INSTANTIATE_TEST_CASE_P looks good.

@fulldecent
Copy link
Contributor Author

Thanks. Squashed, rebased, trimmed.

@drinckes drinckes changed the title Bump bazel and c testing Change INSTANTIATE_TEST_CASE_P to SUITE_P Jan 8, 2025
@drinckes drinckes added the c label Jan 8, 2025
@drinckes drinckes merged commit 4b5d02f into google:main Jan 8, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants