Commit Graph

  • bbe7ea99e1 Renaming Benoit Marty 2023-02-14 11:49:55 +01:00
  • 3537120a53 Extract AggregatedReaction to its own file. Benoit Marty 2023-02-14 11:49:27 +01:00
  • 53c8d3ff7c Add Preview for timeline items. Benoit Marty 2023-02-14 11:34:27 +01:00
  • 3cde7d5356 Better to use INSTRUCTION. Benoit Marty 2023-02-14 10:58:13 +01:00
  • 03aa2a606e Add *deactivated* rule to check code coverage of Views. Benoit Marty 2023-02-14 10:46:08 +01:00
  • 49db996988 Add limited test for HtmlDocument. If we add html strings, there is an error when rendering the preview: java.lang.NoSuchMethodError: 'java.lang.String org.jsoup.nodes.Element.normalName()' Benoit Marty 2023-02-14 10:44:55 +01:00
  • a418d31fd6 Run test in parallel. Benoit Marty 2023-02-13 18:16:13 +01:00
  • 6bb01d640f Make @Preview internal. Benoit Marty 2023-02-13 18:11:41 +01:00
  • 00ce51cade showkase version upgrade to 1.0.0-beta17 Should fix multiple @Preview annotations issue and make us allow set preview to internal. Benoit Marty 2023-02-10 00:22:07 +01:00
  • 2ea45a9ee1 Mode test for ChangeServerView Benoit Marty 2023-02-13 15:38:27 +01:00
  • 92d3a1c811 Add a way to Preview images. Benoit Marty 2023-02-13 15:18:22 +01:00
  • 968f7f80fc Improve coverage of BugReportView. Benoit Marty 2023-02-13 11:57:40 +01:00
  • e120ca7163 Extract Provider (and rename them) to their own file and move fixture(s) there. Benoit Marty 2023-02-13 11:23:30 +01:00
  • 41965a8bcc Typo Benoit Marty 2023-02-13 10:33:27 +01:00
  • 443076f636 Give the id to AvatarData to be able to compute initial properly. Benoit Marty 2023-02-13 10:06:30 +01:00
  • b439109d05 Enable Showkase for matrixui Benoit Marty 2023-02-10 22:07:39 +01:00
  • 700204df69 Add preview for RoomListTopBar Benoit Marty 2023-02-10 21:51:32 +01:00
  • 3bd7a79d89 Add PreviewParameterProvider in the template. Benoit Marty 2023-02-10 17:24:30 +01:00
  • 6d7e7833a4 Add StringPreviewParameterProvider Benoit Marty 2023-02-10 17:20:35 +01:00
  • afe5499158 PreviewParameterProvider FTW Benoit Marty 2023-02-10 17:10:35 +01:00
  • f6c371e533 Create RootStatePreviewParameter Benoit Marty 2023-02-10 16:32:36 +01:00
  • fe44c8906d Add some Preview Benoit Marty 2023-02-10 16:05:11 +01:00
  • 0f0c001c3c Enforce no default value in state. Benoit Marty 2023-02-10 15:22:16 +01:00
  • a77479ed05 Remove dead code Benoit Marty 2023-02-10 14:57:50 +01:00
  • 9edf715911 Naming convention. View / Content Benoit Marty 2023-02-10 13:44:47 +01:00
  • 7f0755e8ec Merge pull request #73 from vector-im/feature/bma/moreTests Benoit Marty 2023-02-14 17:01:28 +01:00
  • 456ef500c2 Merge branch 'develop' into michaelk/upload_nightly_to_browserstack Michael Kaye 2023-02-14 09:58:20 +00:00
  • 48662c22f7 Merge pull request #80 from vector-im/sync-strings Benoit Marty 2023-02-14 10:39:05 +01:00
  • c9df2619da Import strings from Element Android bmarty 2023-02-14 06:06:21 +00:00
  • d83e224fd1 Rename custom ID in line with iOS name Michael Kaye 2023-02-10 10:59:01 +00:00
  • 9245db136d Merge pull request #79 from vector-im/sync-strings Benoit Marty 2023-02-10 08:53:42 +01:00
  • a04908819a Import strings from Element Android bmarty 2023-02-10 06:06:37 +00:00
  • 4475265403 Global coverage is now 45.7 🚀 Benoit Marty 2023-02-09 18:43:17 +01:00
  • 3142b884c5 Move test data to TestData.kt Benoit Marty 2023-02-09 18:41:58 +01:00
  • 285ae6083b Exclude Node classes from code coverage metrics. Benoit Marty 2023-02-09 18:28:05 +01:00
  • 5e842dd683 Add rule for minimum test coverage on States Benoit Marty 2023-02-09 18:23:28 +01:00
  • 996537a890 Add a test Benoit Marty 2023-02-09 18:22:16 +01:00
  • 5875de1c51 Rename classes (not a State) Benoit Marty 2023-02-09 18:21:25 +01:00
  • a57a6f45bb Exclude generated classes from code coverage metrics. Benoit Marty 2023-02-09 18:09:03 +01:00
  • 606cd3efc3 Cleanup and centralize test data. Benoit Marty 2023-02-09 17:44:15 +01:00
  • ce482a29bc Update coverage thresholds Benoit Marty 2023-02-09 17:13:32 +01:00
  • f6afd4de26 Add test for MessagesPresenter Benoit Marty 2023-02-09 16:12:22 +01:00
  • e4722f43d3 Test reply and edit message Benoit Marty 2023-02-09 15:19:32 +01:00
  • 059d8ec6ce More tests for RageshakeDetectionPresenterTest Benoit Marty 2023-02-09 14:27:48 +01:00
  • afbae0a15d Add test for RootPresenter Benoit Marty 2023-02-09 12:30:53 +01:00
  • 1126040032 Add test for PreferencesRootPresenter Benoit Marty 2023-02-09 12:19:04 +01:00
  • 165697a80e Fix dependency issue. Benoit Marty 2023-02-09 12:04:31 +01:00
  • 18d592166b Merge pull request #78 from vector-im/sync-strings Benoit Marty 2023-02-09 10:47:33 +01:00
  • 987d4d6c08 Less verbose provider. Benoit Marty 2023-02-09 10:43:37 +01:00
  • 3b4a4694ab Add test for RageshakeDetectionPresenter Benoit Marty 2023-02-09 10:34:45 +01:00
  • 87b6162965 Cleanup Benoit Marty 2023-02-09 09:52:34 +01:00
  • a3348ca71c Improve coverage for TimelinePresenter Benoit Marty 2023-02-09 09:52:03 +01:00
  • bed290a376 Import strings from Element Android bmarty 2023-02-09 06:06:20 +00:00
  • 31eb86ebe4 Add test for BugReportPresenter Benoit Marty 2023-02-08 18:42:17 +01:00
  • e954dccad9 Convert ScreenshotHolder to an interface for testing purpose. Benoit Marty 2023-02-08 17:25:05 +01:00
  • e2b4056493 Convert BugReporter to an interface for testing purpose. Cannot use @ContributesBinding(AppScope::class), so provide the implementation in AppModule. Benoit Marty 2023-02-08 16:15:12 +01:00
  • f03e766657 Improve coverage of TemplatePresenter Benoit Marty 2023-02-08 16:05:21 +01:00
  • 48bd5fd48e Add test for ActionListPresenter Benoit Marty 2023-02-08 16:01:49 +01:00
  • 101ed1f272 Add test for CrashDetectionPresenter Benoit Marty 2023-02-08 15:23:47 +01:00
  • e8c005de9a Convert CrashDataStore to an interface for testing purpose. Benoit Marty 2023-02-08 15:11:06 +01:00
  • 4b48825065 Add test for RageshakePreferencesPresenter Benoit Marty 2023-02-08 15:06:39 +01:00
  • 67f8f29ad4 On nightly build, additionally upload a copy to browserstack for automation. Michael Kaye 2023-02-08 13:21:12 +00:00
  • ef6f1e9f2b Convert Rageshake to an interface for testing purpose. Benoit Marty 2023-02-08 14:36:48 +01:00
  • c4195f64cb Convert RageshakeDataStore to an interface for testing purpose. Benoit Marty 2023-02-08 14:30:19 +01:00
  • f736b48a92 Add test for MessageComposerPresenter Benoit Marty 2023-02-08 09:56:55 +01:00
  • b2d18a1867 Merge pull request #76 from vector-im/sync-strings Benoit Marty 2023-02-08 08:45:02 +01:00
  • 4696364605 Import strings from Element Android bmarty 2023-02-08 06:06:17 +00:00
  • 21084c26b2 fix path Benoit Marty 2023-02-07 22:13:39 +01:00
  • e7897ece21 Change some tracing config but still not working properly (need investigation with rust team) ganfra 2023-02-07 19:48:54 +01:00
  • 98ed021438 Fix slidingSync being slow ganfra 2023-02-07 19:48:20 +01:00
  • b487e5f128 Separate eventId and id for TimelineItem.Event ganfra 2023-02-07 19:47:49 +01:00
  • 333f9e9709 Add test for TimelinePresenter Benoit Marty 2023-02-07 18:32:00 +01:00
  • 58c59efebf Add test for LogoutPreferencePresenter Benoit Marty 2023-02-07 17:47:38 +01:00
  • 8fb1f2655e Add test for LoginRootPresenter Benoit Marty 2023-02-07 17:34:22 +01:00
  • 5ca2b475cc Add test for ChangeServerPresenter Benoit Marty 2023-02-07 16:57:33 +01:00
  • 41a5d599fa Add link to the plugin documentation. Benoit Marty 2023-02-07 16:32:24 +01:00
  • d02744bc17 Kover: add verify rules: global and for Presenters Benoit Marty 2023-02-07 15:57:18 +01:00
  • f02e5d606b Rename class. Benoit Marty 2023-02-07 10:30:05 +01:00
  • 190d20acbe Fix test: also inject timezone to avoid relying on the system timezone. Benoit Marty 2023-02-07 09:53:26 +01:00
  • 34bcba1712 Rename artifact Benoit Marty 2023-02-07 09:47:56 +01:00
  • 058b789930 Running kover run the tests, no need to do it twice. Benoit Marty 2023-02-07 09:42:21 +01:00
  • 6099fe5df7 Add test for DefaultLastMessageFormatter Benoit Marty 2023-02-06 21:52:28 +01:00
  • 6d8e4d9afc Create FakeLastMessageFormatter Benoit Marty 2023-02-06 21:05:06 +01:00
  • ae4237abb5 Create module dateformatter Benoit Marty 2023-02-06 18:09:18 +01:00
  • c3a7ab1de4 Add test about visible range Benoit Marty 2023-02-06 17:52:29 +01:00
  • e4ca3541c3 Test room filtering. Benoit Marty 2023-02-06 17:41:35 +01:00
  • feac348c89 Enable testFixtures - but not supported by AGP yet, so put files in module matrixtest Benoit Marty 2023-02-06 16:27:19 +01:00
  • cb158acf00 Fix bug. n+1 items were created. Benoit Marty 2023-02-06 15:59:13 +01:00
  • 6cd9fe18f9 Test filter effect. Benoit Marty 2023-02-06 12:59:14 +01:00
  • d722495dab Fix first test. Benoit Marty 2023-02-06 12:42:49 +01:00
  • b4f7030ec9 Cleanup Benoit Marty 2023-02-06 12:39:36 +01:00
  • ff5a3cd86c Fix detekt issue Benoit Marty 2023-02-07 10:34:45 +01:00
  • 6eb8b243cd Merge pull request #74 from vector-im/sync-strings Benoit Marty 2023-02-07 09:54:16 +01:00
  • bd807b1745 Import strings from Element Android bmarty 2023-02-07 06:06:11 +00:00
  • 7da7ce5a99 Timeline: quickly integreate sender profile ganfra 2023-02-06 20:52:42 +01:00
  • 1a47722a85 Timeline : Handle day separator ganfra 2023-02-06 20:19:00 +01:00
  • d181983c01 Merge pull request #72 from vector-im/sync-strings Benoit Marty 2023-02-06 10:10:37 +01:00
  • b8a237303d Import strings from Element Android bmarty 2023-02-04 06:06:06 +00:00
  • 6f05698a6a Second try. Benoit Marty 2023-02-03 17:21:39 +01:00
  • 3c6b0cd6d2 Add some screenshots Benoit Marty 2023-02-03 17:18:06 +01:00