Commit Graph

598 Commits

Author SHA1 Message Date
Benoit Marty
7a3a4ca026 Add StringPreviewParameterProvider 2023-02-14 17:03:02 +01:00
Benoit Marty
e1b9d1da02 PreviewParameterProvider FTW 2023-02-14 17:03:02 +01:00
Benoit Marty
2a04cd3983 Create RootStatePreviewParameter 2023-02-14 17:03:02 +01:00
Benoit Marty
395d432220 Add some Preview 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
2a0f636250 Remove dead code 2023-02-14 17:03:02 +01:00
Benoit Marty
dae699b81f Naming convention. View / Content 2023-02-14 17:03:02 +01:00
Benoit Marty
78a83c0592 Merge pull request #73 from vector-im/feature/bma/moreTests
More tests
2023-02-14 17:01:28 +01:00
Benoit Marty
600a9d3d58 Merge pull request #80 from vector-im/sync-strings
Sync strings
2023-02-14 10:39:05 +01:00
bmarty
34f62f392c Import strings from Element Android 2023-02-14 06:06:21 +00:00
Benoit Marty
07653de84b Merge pull request #79 from vector-im/sync-strings
Sync strings
2023-02-10 08:53:42 +01:00
bmarty
6600131113 Import strings from Element Android 2023-02-10 06:06:37 +00:00
Benoit Marty
beb9df262d Global coverage is now 45.7 🚀 2023-02-09 18:43:17 +01:00
Benoit Marty
6169323043 Move test data to TestData.kt 2023-02-09 18:41:58 +01:00
Benoit Marty
173f768301 Exclude Node classes from code coverage metrics. 2023-02-09 18:28:05 +01:00
Benoit Marty
4b8c03fc31 Add rule for minimum test coverage on States 2023-02-09 18:23:28 +01:00
Benoit Marty
f07bd1761e Add a test 2023-02-09 18:22:16 +01:00
Benoit Marty
e03ef8c338 Rename classes (not a State) 2023-02-09 18:21:25 +01:00
Benoit Marty
ce0ed5226d Exclude generated classes from code coverage metrics. 2023-02-09 18:09:03 +01:00
Benoit Marty
a0e56426c4 Cleanup and centralize test data. 2023-02-09 17:44:20 +01:00
Benoit Marty
bc862d1668 Update coverage thresholds 2023-02-09 17:13:32 +01:00
Benoit Marty
ad62a613cc Add test for MessagesPresenter 2023-02-09 16:12:22 +01:00
Benoit Marty
e375454f28 Test reply and edit message 2023-02-09 15:19:32 +01:00
Benoit Marty
5292fc9fbc More tests for RageshakeDetectionPresenterTest 2023-02-09 15:17:42 +01:00
Benoit Marty
23f206f7f2 Add test for RootPresenter 2023-02-09 12:30:53 +01:00
Benoit Marty
af5277f5cc Add test for PreferencesRootPresenter 2023-02-09 12:19:04 +01:00
Benoit Marty
310a8ca8e3 Fix dependency issue. 2023-02-09 12:04:31 +01:00
Benoit Marty
dfe50f4257 Merge pull request #78 from vector-im/sync-strings
Sync strings
2023-02-09 10:47:33 +01:00
Benoit Marty
e2de9d0410 Less verbose provider. 2023-02-09 10:43:37 +01:00
Benoit Marty
4cb433f79a Add test for RageshakeDetectionPresenter 2023-02-09 10:34:45 +01:00
Benoit Marty
2a425fc94c Cleanup 2023-02-09 09:52:34 +01:00
Benoit Marty
8bcc2209a3 Improve coverage for TimelinePresenter 2023-02-09 09:52:03 +01:00
bmarty
279f9c0b2f Import strings from Element Android 2023-02-09 06:06:20 +00: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
2c19ee6f8e Improve coverage of TemplatePresenter 2023-02-08 16:05:21 +01:00
Benoit Marty
50c70d10c8 Add test for ActionListPresenter 2023-02-08 16:01:49 +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
Benoit Marty
c683426ce4 Add test for RageshakePreferencesPresenter 2023-02-08 15:06:39 +01:00
Benoit Marty
4e25e97976 Convert Rageshake to an interface for testing purpose. 2023-02-08 14:44:00 +01:00
Benoit Marty
67201a1af9 Convert RageshakeDataStore to an interface for testing purpose. 2023-02-08 14:34:00 +01:00
Benoit Marty
8ed858351b Add test for MessageComposerPresenter 2023-02-08 09:56:55 +01:00
Benoit Marty
77a5eef6fd Merge pull request #76 from vector-im/sync-strings
Sync strings
2023-02-08 08:45:02 +01:00
bmarty
6e80aee5cd Import strings from Element Android 2023-02-08 06:06:17 +00:00
Benoit Marty
da90d1312c fix path 2023-02-07 22:13:39 +01:00
Benoit Marty
d0977d0108 Add test for TimelinePresenter 2023-02-07 18:32:00 +01:00
Benoit Marty
97a9dc1dff Add test for LogoutPreferencePresenter 2023-02-07 17:47:38 +01:00
Benoit Marty
7d161730c0 Add test for LoginRootPresenter 2023-02-07 17:35:46 +01:00