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

MessagesAction Update to also handle non-actionable messages without failing #168

Merged
merged 17 commits into from
Feb 7, 2025

add unit test for message item dismissed action

db62fcc
Select commit
Loading
Failed to load commit list.
Merged

MessagesAction Update to also handle non-actionable messages without failing #168

add unit test for message item dismissed action
db62fcc
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Feb 7, 2025 in 1s

49.51% of diff hit (target 40.80%)

View this Pull Request on Codecov

49.51% of diff hit (target 40.80%)

Annotations

Check warning on line 214 in app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/HomeViewModel.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/HomeViewModel.kt#L214

Added line #L214 was not covered by tests

Check warning on line 261 in app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/HomeViewModel.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/HomeViewModel.kt#L261

Added line #L261 was not covered by tests

Check warning on line 305 in app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/HomeViewModel.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/HomeViewModel.kt#L301-L305

Added lines #L301 - L305 were not covered by tests

Check warning on line 33 in app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/data/models/UiState.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/data/models/UiState.kt#L33

Added line #L33 was not covered by tests

Check warning on line 40 in app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/data/models/UiState.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/data/models/UiState.kt#L40

Added line #L40 was not covered by tests

Check warning on line 335 in app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/screen/HomeScreen.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/screen/HomeScreen.kt#L335

Added line #L335 was not covered by tests

Check warning on line 343 in app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/screen/HomeScreen.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/bluetooth/screen/HomeScreen.kt#L339-L343

Added lines #L339 - L343 were not covered by tests

Check warning on line 12 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageAction.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageAction.kt#L12

Added line #L12 was not covered by tests

Check warning on line 18 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageAction.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageAction.kt#L17-L18

Added lines #L17 - L18 were not covered by tests

Check warning on line 70 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L70

Added line #L70 was not covered by tests

Check warning on line 74 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L74

Added line #L74 was not covered by tests

Check warning on line 78 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L78

Added line #L78 was not covered by tests

Check warning on line 85 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L80-L85

Added lines #L80 - L85 were not covered by tests

Check warning on line 91 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L87-L91

Added lines #L87 - L91 were not covered by tests

Check warning on line 97 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L93-L97

Added lines #L93 - L97 were not covered by tests

Check warning on line 127 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L127

Added line #L127 was not covered by tests

Check warning on line 142 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L142

Added line #L142 was not covered by tests

Check warning on line 147 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L145-L147

Added lines #L145 - L147 were not covered by tests

Check warning on line 151 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L149-L151

Added lines #L149 - L151 were not covered by tests

Check warning on line 153 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L153

Added line #L153 was not covered by tests

Check warning on line 188 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L187-L188

Added lines #L187 - L188 were not covered by tests

Check warning on line 195 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L194-L195

Added lines #L194 - L195 were not covered by tests

Check warning on line 203 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L199-L203

Added lines #L199 - L203 were not covered by tests

Check warning on line 205 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L205

Added line #L205 was not covered by tests

Check warning on line 216 in app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/kotlin/edu/stanford/bdh/engagehf/messages/MessageItem.kt#L212-L216

Added lines #L212 - L216 were not covered by tests