Commit Graph

6 Commits

Author SHA1 Message Date
Ulysse Widmer 095525f701 minor refactor and updt some versions in gradle 2020-03-31 11:11:02 +02:00
Ulysse Widmer 827db70972 modified concerned tests to replace swipe calls 2020-03-30 19:31:36 +02:00
Wv5twkFEKh54vo4tta9yu7dHa3 20c5ff4ee0
First use login flow (#44)
* transform profile activity into fragment

* Implement swipeable tabs

* Ask for login on first start, add API endpoints, change profile to show the user's profile

* Add tests

* delete test for now

* Adapt test to changes (no more profile from drawer)

* Add unit test for api

* Add test for profile, refactor to allow testing, add exception to security policy to allow tests

* Adapt test to new situation

* Fix typo due to change

* refactor somewhat

* remove unused function

* remove test dependent on network

* update test

* remove test

Co-authored-by: Ulysse Widmer <ulysse.widmer@epfl.ch>
2020-03-13 11:48:45 +01:00
Ulysse Widmer de314dc9de
Implements swipe motion & fragmentalize (#41)
* implements swipe motion

add a new class to implement swipe motion
add the swipe right from home page to display settings
passed the homepage in a fragment

* transform profile activity into fragment

transformed profile activity and layout into fragment
linked it with a swipe motion

* refactor settings drawer tests

* added more tests and refactored some files

* added animations to the sliding of the swipe motion
2020-03-12 22:23:25 +01:00
Joachim Dunant 191a499a04 Added tests for the settings UI 2020-03-12 17:36:57 +01:00
Joachim Dunant 26427d5377 Added tests for settings 2020-03-08 20:41:01 +01:00