Commit Graph

96 Commits

Author SHA1 Message Date
bmarty
3daea29a82 Sync Strings from Localazy 2023-05-29 00:09:47 +00:00
Benoit Marty
54489f6b93 Init the mockked Bitmap only once. 2023-05-23 12:46:05 +02:00
Benoit Marty
a9c47d63e3 Create the mockked Bitmap in the constructor, to remove increased time out. 2023-05-23 12:25:07 +02:00
Jorge Martin Espinosa
882a155f07 Try to fix flaky test by setting a longer timeout in runTest (#442) 2023-05-22 17:52:31 +02:00
Florian Renaud
d79d00fc45 increase test timeout 2023-05-12 15:34:35 +02:00
Florian Renaud
c22d181d8c Remove useless OptIn in tests 2023-05-12 10:05:39 +02:00
bmarty
367b659edc Sync Strings from Localazy 2023-05-08 00:08:48 +00:00
Chris Smith
1d041578f7 Make danger check view changes (#391)
Make danger check view changes

Add a check that if a file with @Preview or @LargeHeightPreview
in it is changed, then the corresponding build file includes
the showkase processor.

Also change the check that prompts about screenshots to use
the same @Preview logic instead of checking for "/layout" in
the path which doesn't work with compose.

Also add missing showkase processors
2023-05-05 08:24:12 +00:00
bmarty
066ee4f43a Sync Strings from Localazy 2023-05-01 00:09:50 +00:00
bmarty
cd5e4458a6 Sync Strings from Localazy 2023-04-24 00:09:54 +00:00
Jorge Martin Espinosa
afd58f1634 Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Benoit Marty
830946e0de Ensure ellipsis char is used (fix lint issue). 2023-04-05 11:44:55 +02:00
Benoit Marty
45cea6cc3b Invoke ./tools/localazy/downloadStrings.sh --all 2023-04-05 11:11:47 +02:00
Jorge Martin Espinosa
0fb061fb2e [Room Details] Implement room details screen (#256)
* Implement Room Details screen

* Add option to create permalink from room id and alias, add share room action
2023-03-29 05:16:27 +00:00
Benoit Marty
c774f7529e [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02:00
Benoit Marty
d449ede86d [Strings] Sync the strings. 2023-03-27 14:36:46 +02:00
Benoit Marty
0ae4b154e9 Cleanup and use indeterminate progress indicator 2023-03-16 16:34:20 +01:00
Benoit Marty
35a45f41ea Fix close error dialog has no effect. 2023-03-16 15:47:10 +01:00
Benoit Marty
30eebe0b2e Change API of BugReporter (make it suspend) 2023-03-16 15:47:10 +01:00
Benoit Marty
b68830faf1 Add explicit dependency to okhttp (was provided by coil), and inject the OkHttpClient to DefaultBugReporter. 2023-03-16 15:31:57 +01:00
ganfra
9d2bb2f776 [Architecture] Fix UT compilation after removing duplicated class 2023-03-09 16:27:24 +01:00
Benoit Marty
699e816328 Remove duplicated Fake class. 2023-03-09 14:16:48 +01:00
ganfra
cf74fadb19 [Architecture] Fix unittest compilation 2023-03-09 11:25:46 +01:00
ganfra
7051bfc14e [Architecture] split all feature modules to api/impl 2023-03-08 16:13:45 +01:00
ganfra
b2c68d555a [Architecture] introduce nodeBuilder concept 2023-03-07 20:31:16 +01:00
ganfra
9d91fb06cc Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +01:00
ganfra
2907189b61 [Architecture] move back java file to the java directory 2023-03-03 18:14:45 +01:00
ganfra
43b304e523 Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00
ganfra
d1cbd907e7 [Architecture] clean up 2023-03-02 18:06:31 +01:00
ganfra
c581f0b383 [Architecture] introduce BackstackNode 2023-03-02 17:55:26 +01:00
Benoit Marty
0b5abc7a73 Move module matrixtest to matrix.test 2023-03-02 17:19:58 +01:00
ganfra
15ed58b756 [Architecture] use FeatureEntryPoint on Preferences 2023-03-02 15:59:25 +01:00
ganfra
da92113e43 [Architecture] Introduce EntryPoint and use createNode for ParentNode too 2023-03-02 12:33:18 +01:00
Benoit Marty
077897a874 Test higher level. 2023-02-14 17:03:02 +01:00
Benoit Marty
41e63173b3 Make @Preview internal.
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
aecc294df9 Add a way to Preview images. 2023-02-14 17:03:02 +01:00
Benoit Marty
d7f569abed Improve coverage of BugReportView. 2023-02-14 17:03:02 +01:00
Benoit Marty
ec687edc2d Extract Provider (and rename them) to their own file and move fixture(s) there. 2023-02-14 17:03:02 +01:00
Benoit Marty
e1b9d1da02 PreviewParameterProvider FTW 2023-02-14 17:03:02 +01:00
Benoit Marty
23c4b9041a Enforce no default value in state. 2023-02-14 17:03:02 +01:00
Benoit Marty
6169323043 Move test data to TestData.kt 2023-02-09 18:41:58 +01:00
Benoit Marty
f07bd1761e Add a test 2023-02-09 18:22:16 +01:00
Benoit Marty
5292fc9fbc More tests for RageshakeDetectionPresenterTest 2023-02-09 15:17:42 +01:00
Benoit Marty
310a8ca8e3 Fix dependency issue. 2023-02-09 12:04:31 +01:00
Benoit Marty
4cb433f79a Add test for RageshakeDetectionPresenter 2023-02-09 10:34:45 +01:00
Benoit Marty
4b7f64dcff Add test for BugReportPresenter 2023-02-08 18:42:17 +01:00
Benoit Marty
fa37224109 Convert ScreenshotHolder to an interface for testing purpose. 2023-02-08 17:25:05 +01:00
Benoit Marty
a2b02fbf9d Convert BugReporter to an interface for testing purpose.
Cannot use `@ContributesBinding(AppScope::class)`, so provide the implementation in AppModule.
2023-02-08 17:19:28 +01:00
Benoit Marty
0f5d6dd035 Add test for CrashDetectionPresenter 2023-02-08 15:23:47 +01:00
Benoit Marty
0aea3d50e5 Convert CrashDataStore to an interface for testing purpose. 2023-02-08 15:11:06 +01:00