-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Use local storage chosen by user as cache for images (#241)
* feat: Use local storage chosen by user as cache for fullsize images * refactor: rename FileDownloader * feat: add cache for the thumbnails * fix: imports in SignIn screen * doc: complete documentation of DocumentsManager * test: update tests for the refactoring made for the DocumentManager * fix: add the ability to generate the thumbnail befaore downloading it * test: fix the document upload e2e test * test: fix unit tests * test: remove broken assertion * test: revert timeout for e2e test about document upload * refactor: remove unused functions * style: run ktfckFormat * test: add tests for setSaveDocumentFolder * test: check go back button on document list screen * test: check that image document load * test: disable sonar on AppModules * test: fix test on setSaveDocumentFolder * test: fix broken test on CI * fix: regression for document upload * fix: Missing document in the cache not loading anymore * test: fix e2e tests with new fsUid and id for the example user
- Loading branch information
1 parent
96baa59
commit 6c85393
Showing
28 changed files
with
590 additions
and
733 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,11 +49,6 @@ class TravelCreation { | |
@Inject lateinit var firestore: FirebaseFirestore | ||
@Inject lateinit var auth: FirebaseAuth | ||
|
||
// @Before | ||
// fun setUp() { | ||
// hiltRule.inject() | ||
// } | ||
|
||
@Before | ||
fun setUp() { | ||
hiltRule.inject() | ||
|
@@ -87,7 +82,15 @@ class TravelCreation { | |
|
||
@After | ||
fun tearDown() { | ||
runBlocking { firestore.terminate().await() } | ||
runBlocking { | ||
firestore.terminate().await() | ||
auth.signOut() | ||
auth | ||
.signInWithEmailAndPassword("[email protected]", "password1") | ||
.await() | ||
val uid = auth.currentUser!!.uid | ||
auth.currentUser!!.delete().await() | ||
} | ||
} | ||
|
||
@Test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.