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

Add mavericks VM factory function to the list of VM factories #92

Merged
merged 1 commit into from Oct 2, 2022

Conversation

mrmans0n
Copy link
Contributor

@mrmans0n mrmans0n commented Oct 2, 2022

No description provided.

@@ -16,7 +16,7 @@ class ComposeViewModelInjectionCheckTest {
private val rule = ComposeViewModelInjectionCheck(Config.empty)

@ParameterizedTest
@ValueSource(strings = ["viewModel", "weaverViewModel", "hiltViewModel"])
@ValueSource(strings = ["viewModel", "weaverViewModel", "hiltViewModel", "injectedViewModel", "mavericksViewModel"])
fun `passes when a weaverViewModel is used as a default param`(viewModel: String) {
Copy link
Contributor

Choose a reason for hiding this comment

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

you can probably make use
val vmNames = arrayOf("viewModel", "weaverViewModel", "hiltViewModel", "injectedViewModel", "mavericksViewModel")
if you want to avoid some of this boilerplate in all the tests

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea this is getting old pretty fast

@mrmans0n mrmans0n merged commit eb07123 into main Oct 2, 2022
@mrmans0n mrmans0n deleted the nacho/mavericks-vm-support branch October 2, 2022 16:41
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.

None yet

3 participants