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: model tests check generation into multiple files #283

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

y-marion
Copy link
Collaborator

@y-marion y-marion commented Apr 25, 2024

This changes the ModelGeneratorTest so that it checks all files that would normally be generated.
Removes the old Models.kt file and replaces it with the single files

as discussed in #282 this is the first commit which replaces the test checking the single Models.kt file with a test which checks all model files which would normally be generated.

The issue can be seen in src/test/resources/examples/nestedPolymorphicModels/models/[FirstLevelChild.kt, RootType.kt, SecondLevelChild1.kt, SecondLevelChild2.kt]

This changes the ModelGeneratorTest so that it checks all files that
would normally be generated.
Removes the old Models.kt file and replaces it with the single files
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