Commit Graph

146 Commits

Author SHA1 Message Date
Roland Geider
4cdd51d8b9 Add test for repetition and weight unit form widgets 2022-01-23 20:04:18 +01:00
Roland Geider
e1dd862425 Fix tests 2022-01-20 19:35:27 +01:00
Roland Geider
8947129653 Recreate mocks and generated files 2022-01-20 11:18:44 +01:00
Roland Geider
eaa49951a0 Fix exercises_detail_widget_test.dart 2022-01-18 18:05:08 +01:00
Roland Geider
613a2a41db Fix import 2022-01-18 17:18:05 +01:00
Roland Geider
d0b2c992af Fix import path 2022-01-15 13:09:15 +01:00
Roland Geider
2d5f5162ad Recreate generated files 2022-01-15 13:05:35 +01:00
Roland Geider
2119c26ad3 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	.github/workflows/ci.yml
#	lib/models/exercises/comment.g.dart
#	lib/models/exercises/exercise.g.dart
#	lib/models/exercises/image.g.dart
#	lib/models/measurements/measurement_entry.g.dart
#	lib/models/nutrition/ingredient_weight_unit.g.dart
#	lib/models/nutrition/log.g.dart
#	lib/models/workouts/day.g.dart
#	lib/models/workouts/session.g.dart
#	lib/models/workouts/workout_plan.g.dart
#	lib/providers/exercises.dart
#	pubspec.lock
#	pubspec.yaml
#	test/utils.dart
#	test/workout/gym_mode_screen_test.dart
2022-01-15 12:58:02 +01:00
Github-actions
ab885b1145 Automatic linting 2021-11-10 14:19:52 +00:00
Roland Geider
d8b7d45291 Upgrade dependencies and recreate generated files 2021-11-10 15:16:25 +01:00
Roland Geider
e5bd9e901f Add workaround for the AndroidMetadata checks
The metaDataAsMap method doesn't work during tests and throws a null check
error. A better solution should be implemented when possible.
2021-11-08 10:55:16 +01:00
Roland Geider
498a43f292 Test min application version check in auth provider 2021-11-08 09:42:32 +01:00
Roland Geider
9429899973 Organize tests in own folders 2021-11-08 09:42:32 +01:00
Roland Geider
025c9393cd Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	test/base_provider_test.mocks.dart
#	test/gallery_screen_test.mocks.dart
#	test/measurements/measurement_categories_screen_test.mocks.dart
#	test/measurements/measurement_provider_test.mocks.dart
#	test/nutritional_plan_form_test.mocks.dart
#	test/workout_form_test.mocks.dart
#	test/workout_set_form_test.mocks.dart
2021-11-03 20:28:06 +01:00
Roland Geider
89fa03de83 Fix typo in filename 2021-10-28 18:03:26 +02:00
Roland Geider
ff0e675860 Some refactoring for last used ingredients
It's easier to just use the already existing meal items rather than create
new logs that have the same infos.
2021-10-28 18:00:18 +02:00
Github-actions
e23937981d Automatic linting 2021-10-28 09:47:48 +00:00
Roland Geider
ea8eada7ac Commit generated mock files 2021-10-28 11:43:44 +02:00
Roland Geider
c593086692 Mark meal ID in logs as optional 2021-10-24 22:14:00 +02:00
Roland Geider
2d8d864f27 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	lib/main.dart
#	lib/models/exercises/exercise.dart
#	lib/providers/exercises.dart
#	lib/providers/nutrition.dart
#	lib/widgets/exercises/exercises.dart
#	lib/widgets/workouts/forms.dart
#	lib/widgets/workouts/gym_mode.dart
#	pubspec.lock
#	test/base_provider_test.mocks.dart
#	test/gallery_screen_test.mocks.dart
#	test/gym_mode_screen_test.dart
#	test/measurements/measurement_categories_screen_test.mocks.dart
#	test/measurements/measurement_provider_test.mocks.dart
#	test/nutritional_plan_form_test.mocks.dart
#	test/workout_form_test.mocks.dart
#	test/workout_set_form_test.dart
#	test/workout_set_form_test.mocks.dart
2021-10-16 12:40:01 +02:00
Marvin M
2bc2d472d0 unnecessary_await_in_return 2021-10-08 15:11:45 +02:00
Marvin M
9d479e89b0 const_constructors
info: Prefer const with constant constructors. prefer_const_constructors
2021-10-07 20:40:09 +02:00
Marvin M
c2e881c139 Minor changes 2021-10-07 18:50:33 +02:00
Roland Geider
dae1e39ea7 Merge pull request #89 from ThilinaTCH/master
Allow user to give meals a description #70
2021-10-03 21:54:27 +02:00
Thilina Herath
7da45e93f7 test: update meal tests to include name property 2021-10-03 11:19:08 +08:00
Github-actions
1a84fec097 Automatic linting 2021-10-02 10:58:18 +00:00
Marvin M
45a2a5f857 Fixes pt 1 2021-10-01 17:18:17 +02:00
Thilina Herath
d6eb3deda7 Allow user to give meals a description #70
Add name field to meal form
2021-09-30 21:22:28 +08:00
Roland Geider
9773e4d9fa Load variation IDs from the server 2021-09-16 16:09:19 +02:00
Roland Geider
3bded2384b Fix tests 2021-09-15 16:08:50 +02:00
Yair Chen
b11fcda216 create unit tests fro findByFilters and generate mocks 2021-09-15 16:46:04 +03:00
Roland Geider
e62b03e8a8 Further work on reworking the exercise provider 2021-09-13 20:52:08 +02:00
Roland Geider
d01c9196cd Add language models for exercise translations 2021-09-13 11:56:17 +02:00
Roland Geider
99bf19fd6f Start refactoring exercise provider and models 2021-09-13 09:05:43 +02:00
Github-actions
19d079569a Automatic linting 2021-09-09 19:18:53 +00:00
Roland Geider
829f152734 Merge master 2021-09-07 17:37:20 +02:00
Roland Geider
8543652581 Merge branch 'master' into feature/measurements
# Conflicts:
#	lib/screens/dashboard.dart
#	test/base_provider_test.mocks.dart
#	test/gallery_screen_test.mocks.dart
#	test/nutritional_plan_form_test.mocks.dart
#	test/workout_form_test.mocks.dart
#	test/workout_set_form_test.mocks.dart
2021-09-07 17:03:15 +02:00
Roland Geider
3874a49fe0 Add measurement entries in the dashboard calendar 2021-09-06 18:33:54 +02:00
Roland Geider
c704f561db Show entries graph in the category overview 2021-09-06 18:08:07 +02:00
Roland Geider
376ad83000 Add first version of tests for measurement screens 2021-09-01 18:07:59 +02:00
Github-actions
d0f5139c56 Automatic linting 2021-09-01 14:23:38 +00:00
Roland Geider
6bb9ef4354 Update test
The date can now only be entered via the datepicker
2021-09-01 16:21:55 +02:00
Roland Geider
4a2e9c5e57 Re-create mocks 2021-09-01 16:13:07 +02:00
Roland Geider
b2195d4f55 Allow deleting and editing entries 2021-08-29 22:34:30 +02:00
Roland Geider
c9838ad8f5 Fix the tests 2021-08-28 22:16:29 +02:00
Roland Geider
93b159b3b9 Show chart with measurement entries values in detail view 2021-08-28 22:07:54 +02:00
ton-An
89e0060ff5 (MeasurementProvider) Fixed error handling
MeasurementProvider
(Edited)
- Fixed error handling
- implemented findEntryById and findCategoryById

MeasurementCategory
(Added)
- findEntryById()
2021-08-26 14:41:26 +02:00
Roland Geider
6cbe164ec8 Merge remote-tracking branch 'origin/feature/measurements' into feature/measurements
# Conflicts:
#	lib/models/measurements/measurement_entry.g.dart
2021-08-25 21:34:22 +02:00
Roland Geider
a2673fe764 Merge branch 'master' into feature/measurements
# Conflicts:
#	pubspec.lock
2021-08-25 16:52:15 +02:00
ton-An
7f5a8c1e2f Removed unnecessary tests 2021-08-25 16:28:08 +02:00