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

Test Exporter Descriptions and IDs #2566

Merged
merged 6 commits into from
Jul 29, 2019

Conversation

RichardTea
Copy link
Contributor

Add unit test to ensure all registered Exporters have a description that makes sense

Also changes the Exporter ID of Assimp JSON format from "json" to "assjson", as json is a rather common extension that is almost certainly going to be used by something else.

"json" is a very vague exporter ID, change to "assjson"

Add a unit test to ensure all exporter have unique IDs
and that they all have an ID, description and extension
EXPECT_* triggers sign compare error with literal 0 and unsigned
Use 0u literal with size_t
@kimkulling
Copy link
Member

Good catch, I was unsure if I shall use assjson or just json. So I started with json. Makes sense to swithc to assimpjson from my point of view.

RichardTea and others added 2 commits July 26, 2019 22:17
Full fix for assimp#2557

These macros should be all-caps.
Correct the cmakelists
@RichardTea
Copy link
Contributor Author

Just realised that this reverted panquez' fix for issue #2557
I've now done the consistent fix for that issue by capitalising in the CMakeLists

@kimkulling kimkulling merged commit 1d565b0 into assimp:master Jul 29, 2019
@kimkulling
Copy link
Member

Merged, thanks a lot for the contribution!

@RichardTea RichardTea deleted the test_exporter_ids branch July 29, 2019 11:28
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