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

Promote AbstractFlexContainerTest to commonMain #1574

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Conversation

swankjesse
Copy link
Collaborator

This requires parameterized tests to be manually exploded into their cartesian product.

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Square, Inc.
* Copyright (C) 2023 Square, Inc.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I assume a robot did this? I have no recollection.

Copy link
Collaborator

Choose a reason for hiding this comment

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

If you F6 a file it will update the copyright for some reason.

This requires parameterized tests to be manually exploded into
their cartesian product.
Comment on lines +334 to +337
/** We don't have assume() on kotlin.test. Tests that fail here should be skipped instead. */
private fun assumeTrue(b: Boolean) {
assertTrue(b)
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Delete? And delete call-sites? Presumably you did not create invalid variants when exploding them.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I didn’t, but I want to keep the assume calls around for when we later do burst.

@swankjesse swankjesse merged commit ca76964 into trunk Oct 10, 2023
8 checks passed
@swankjesse swankjesse deleted the jwilson.1010.burst branch October 10, 2023 18:31
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.

3 participants