The Wayback Machine - https://web.archive.org/web/20221208144210/https://github.com/android/architecture-samples/pull/821
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

Migrate Statistics to Compose #821

Merged
merged 5 commits into from Mar 3, 2022

Conversation

manuelvicnt
Copy link
Contributor

@manuelvicnt manuelvicnt commented Mar 3, 2022

No description provided.

@Test
fun tasks_showsNonEmptyMessage() {
// Given some tasks
val repository = FakeRepository().apply {
Copy link
Contributor

@JoseAlcerreca JoseAlcerreca Mar 3, 2022

Choose a reason for hiding this comment

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

I'm wondering what our recommendation should be here. You can make a case for a unit test that calls the stateless StatisticsContent. It has less coverage but it's much more focused.

@manuelvicnt manuelvicnt merged commit 653a563 into android:dev-compose Mar 3, 2022
1 check passed
@manuelvicnt manuelvicnt deleted the mv/statistics_compose branch Mar 3, 2022
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

2 participants