Commit Graph

28 Commits

Author SHA1 Message Date
Kirill Kamakin
0586776a3e Fix image loader duplicating slashes 2021-11-27 12:34:37 +03:00
Kirill Kamakin
339f8327de Implement URL input format checks 2021-11-27 12:27:25 +03:00
Kirill Kamakin
20c19fd644 Move RoomTypeConverters to util 2021-11-27 00:17:18 +03:00
Kirill Kamakin
91078de1a7 Replace PagingSource factory with Google's impl 2021-11-26 19:39:44 +03:00
Kirill Kamakin
808e1ce359 Map auth errors to internal representation 2021-11-21 17:27:22 +03:00
Kirill Kamakin
dd9c302729 Reuse OkHttp instance 2021-11-20 22:23:51 +03:00
Kirill Kamakin
70c0df1cf7 Fix ConcurrentModificationException in RecipePagingSourceFactory
It seems that it is possible to launch several coroutines on same
main thread of application. That's why it is possible to launch both
invoke and invalidate at the same time even though they are marked as
synchronized. To fix the issue this commit uses a concurrent collection
instead of synchronization.
2021-11-20 21:13:26 +03:00
Kirill Kamakin
965b488eb4 Move shared test classes to root package 2021-11-20 21:09:12 +03:00
Kirill Kamakin
4b817ba404 Add disclaimer fragment 2021-11-20 18:43:33 +03:00
Kirill Kamakin
5866584d14 Replace "Mealie" with "Mealient" everywhere 2021-11-20 13:44:07 +03:00
Kirill Kamakin
dd33004c6f Add loadRecipeInfo tests 2021-11-20 00:43:00 +03:00
Kirill Kamakin
2f825361cd Add saveRecipeInfo tests 2021-11-20 00:07:01 +03:00
Kirill Kamakin
7ebe89adfc Implement loading and saving full recipe info 2021-11-17 20:44:14 +03:00
Kirill Kamakin
de6ca65b19 Rename RecipeEntity to RecipeSummaryEntity 2021-11-17 19:34:45 +03:00
Kirill Kamakin
c2129c763e Implement proper loading of recipe summaries 2021-11-16 22:41:21 +03:00
Kirill Kamakin
7e1576e8f6 Implement logout feature 2021-11-14 11:51:31 +03:00
Kirill Kamakin
698d93b351 Implement observing authentication statuses 2021-11-14 10:27:45 +03:00
Kirill Kamakin
a8e91522fd Add saveRecipes tests 2021-11-13 20:49:27 +03:00
Kirill Kamakin
4b9b0593ed Set manifest for tests 2021-11-13 19:25:12 +03:00
Kirill Kamakin
4c8fdad38e Add RoomTypeConverters tests 2021-11-13 19:03:25 +03:00
Kirill Kamakin
0ff9afa4c6 Add OkHttpBuilder tests 2021-11-13 19:03:13 +03:00
Kirill Kamakin
0398a6403e Add AuthRepoImpl tests 2021-11-13 17:49:43 +03:00
Kirill Kamakin
22d19b4c04 Extract generic test code 2021-11-13 17:49:35 +03:00
Kirill Kamakin
4bb6c97c9d Implement testing auth storage impl 2021-11-13 15:09:37 +03:00
Kirill Kamakin
603504f7fe Implement BaseTest 2021-11-13 15:09:37 +03:00
Kirill Kamakin
c94fff2864 Remove example tests 2021-11-13 15:09:37 +03:00
Kirill Kamakin
c9bf25d5ea Add AuthDataSourceImplTest test 2021-11-13 15:09:37 +03:00
Kirill Kamakin
8bae6205b9 Initial commit
This commit contains Fragment + ViewModel template from Android Studio
2021-11-13 15:09:26 +03:00