404fc869b0
Repair inconsistent data instead of throwing exception
2017-07-18 21:28:48 -04:00
fe1513bb64
Fix race conditions on SQLiteScoreList
2017-06-10 16:48:53 -04:00
e844390614
Improve performance of repeated getTodayValue calls
2017-05-29 22:22:31 -04:00
57296745b3
Improve performance of CheckmarkButtonView
2017-04-19 14:33:59 -04:00
19e79a8559
Fix failing test
2017-03-20 22:32:53 -04:00
e46fd58664
Fix ImportTest on Nougat
2017-03-17 22:49:52 -04:00
Anirudha Agashe
54a195243d
Fixed failing build
...
Replaced static method to obtain context with appropriate dependency
2017-01-18 12:58:56 -06:00
Anirudha Agashe
4fc30fae53
Remove use of static context from HabitsApplication class ( #224 )
...
Remove static context from application class. Replace static method to obtain context with appropriate dependency. Remove context from controller. Add auto factory to export db task.
2017-01-09 23:09:05 -05:00
b1a06df7f8
Implement automatic sorting for SQLHabitList
2016-11-23 05:58:46 -05:00
0a5677211e
Remove reference to MainActivity
2016-09-24 17:02:30 -04:00
jotran
ec34043041
Add exporting scores and checkmarks files with multiple habits ( #68 ).
...
Add writeMultipleHabits to write a scores file and a checkmarks file
that contains scores and checkmarks of multiple habits.
Add getTimeframe because it was necessary to get the timeframe between
all habits so that row data could be populated correctly for habits that
started before/after other habits.
Move writeCheckmarks to below writeScores since it wasn't called until
after writeScores in writeHabits.
Add getByInterval to ScoreList, MemoryScoreList, and SQLiteScoreList to
get scores between a given interval - simiarly to CheckmarkList.
Add getValues (ScoreList) to get all values between a given timeframe.
Add getNewest to get the newest repetition in a list and to correspond
with getOldest.
Add getDaysBetween to DateUtils to quickly get the number of days
between two timestamps.
Add tests for the new functions.
2016-09-17 09:04:49 -07:00
4d5407a5cc
Fix bug on compute methods that prevented them from recomputing old values
2016-09-16 13:17:52 -04:00
c46fa84135
Fix bug that made it impossible to disable a reminder
2016-09-11 09:18:06 -04:00
16dcc0cbc2
Fix tests
2016-09-11 09:04:39 -04:00
3ad3cf54ec
Add tests for HabitCardView
2016-08-05 07:54:06 -04:00
fc2087fe68
Write tests for ListHabits controller, menu and screen
2016-08-04 21:56:38 -04:00
d0db3359fe
Allow StyledResources to receive a fixed theme for testing
2016-08-03 22:27:49 -04:00
8132188e46
Replace Singleton by AppScope
2016-08-03 07:48:58 -04:00
c262adbe85
Move Preferences to their own package
2016-07-31 08:47:20 -04:00
05aa5b1172
Replace InterfaceUtils theme methods by ThemeSwitcher
2016-07-31 08:42:40 -04:00
938fe3325e
Remove disabled test
2016-07-27 18:13:02 -04:00
237de035bb
Remove remaining static references to app component
2016-07-27 18:09:36 -04:00
ddc85ced0b
Remove waitForTasks
2016-07-27 17:10:07 -04:00
eceb1bfb7d
Remove most static references to app component; fix tests
2016-07-27 17:05:51 -04:00
3b737996e9
Reorganize packages
2016-07-27 00:03:59 -04:00
74f78f0fdf
Improve usage of dagger
2016-07-26 19:26:42 -04:00
15a4a2c002
Refactor reminders; replace int by WeekdayList
2016-07-23 19:19:22 -04:00
d54de9df89
Refactor tasks; break progress bars
2016-07-23 11:45:59 -04:00
94a5db2208
Add view tests
2016-07-22 08:01:44 -04:00
a984467516
Some refactoring; add tests for ListHabitsScreen
2016-07-21 22:48:37 -04:00
d6dacfd24b
Refactor reminder scheduling, add tests
2016-07-20 17:01:24 -04:00
3938ae6fa8
Fix test sizes
2016-07-18 20:57:21 -04:00
77f406dcee
Refactor broadcast receivers and add a public receiver
...
Fixes #6
2016-07-17 17:28:14 -04:00
cf98d1a5c3
AndroidTest: Increase timeout
2016-07-14 11:54:15 -04:00
cc1e56894b
Fix test scripts
2016-07-14 11:30:21 -04:00
8e9f1aa166
Add basic API for the Pebble app
2016-07-11 08:47:00 -04:00
922b234307
Initial implementation of filters
2016-06-29 19:49:19 -04:00
5d61fdd3d0
Write tests for HintView
2016-06-29 10:03:56 -04:00
4ae813e6f9
Restore all widgets
2016-06-28 22:39:24 -04:00
52701666bc
Start refactoring widgets
2016-06-28 12:11:34 -04:00
e899a70eb0
Fix most tests
2016-06-25 05:53:19 -04:00
6ba6d7c8c1
Refactor ShowHabit screen; remove fragment
2016-06-24 14:52:41 -04:00
efd0d1e051
Refactor ShowHabit fragment; break widgets
2016-06-24 08:39:48 -04:00
a11ad6e909
ShowHabit: Refactor score chart
2016-06-22 19:47:16 -04:00
ec4a381d70
Refactor Habit class
2016-06-17 07:29:48 -04:00
b13f2b4228
Create a class for Reminders
2016-06-16 15:19:02 -04:00
14364901ff
Reorganize instrumented tests
2016-06-14 05:46:31 -04:00
440706882b
Move command tests to JVM
2016-06-14 05:30:30 -04:00
9a44774284
Add instrumented unit tests for SQLite lists
2016-06-12 07:55:47 -04:00
2b23b36e36
Move remaining model tests to JVM; simplify SQLite implementation
2016-06-10 18:55:32 -04:00