Skip to content

use vm to control update state

Codecov / codecov/patch succeeded Mar 5, 2024 in 1s

0.00% of diff hit (target 0.00%)

View this Pull Request on Codecov

0.00% of diff hit (target 0.00%)

Annotations

Check warning on line 25 in app/src/main/java/com/github/odaridavid/weatherapp/MainViewModel.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/MainViewModel.kt#L24-L25

Added lines #L24 - L25 were not covered by tests

Check warning on line 49 in app/src/main/java/com/github/odaridavid/weatherapp/MainViewModel.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/MainViewModel.kt#L49

Added line #L49 was not covered by tests

Check warning on line 55 in app/src/main/java/com/github/odaridavid/weatherapp/MainViewModel.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/MainViewModel.kt#L53-L55

Added lines #L53 - L55 were not covered by tests

Check warning on line 84 in app/src/main/java/com/github/odaridavid/weatherapp/MainViewModel.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/MainViewModel.kt#L84

Added line #L84 was not covered by tests

Check warning on line 3 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateAppException.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateAppException.kt#L3

Added line #L3 was not covered by tests

Check warning on line 17 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt#L15-L17

Added lines #L15 - L17 were not covered by tests

Check warning on line 21 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt#L20-L21

Added lines #L20 - L21 were not covered by tests

Check warning on line 29 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt#L29

Added line #L29 was not covered by tests

Check warning on line 32 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt#L31-L32

Added lines #L31 - L32 were not covered by tests

Check warning on line 35 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt#L34-L35

Added lines #L34 - L35 were not covered by tests

Check warning on line 39 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt#L39

Added line #L39 was not covered by tests

Check warning on line 46 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt#L43-L46

Added lines #L43 - L46 were not covered by tests

Check warning on line 52 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt#L49-L52

Added lines #L49 - L52 were not covered by tests

Check warning on line 56 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt#L55-L56

Added lines #L55 - L56 were not covered by tests

Check warning on line 60 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt#L59-L60

Added lines #L59 - L60 were not covered by tests

Check warning on line 70 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt#L67-L70

Added lines #L67 - L70 were not covered by tests

Check warning on line 72 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateManager.kt#L72

Added line #L72 was not covered by tests

Check warning on line 7 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateStateFactory.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateStateFactory.kt#L7

Added line #L7 was not covered by tests

Check warning on line 12 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateStateFactory.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateStateFactory.kt#L9-L12

Added lines #L9 - L12 were not covered by tests

Check warning on line 16 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateStateFactory.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateStateFactory.kt#L15-L16

Added lines #L15 - L16 were not covered by tests

Check warning on line 18 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateStateFactory.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateStateFactory.kt#L18

Added line #L18 was not covered by tests

Check warning on line 25 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateStateFactory.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateStateFactory.kt#L25

Added line #L25 was not covered by tests

Check warning on line 41 in app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateStateFactory.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/update/UpdateStateFactory.kt#L41

Added line #L41 was not covered by tests