Benoit Marty
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()'
2 years ago
Benoit Marty
6bb01d640f
Make `@Preview` internal.
...
And exclude class generated by Showkase
2 years ago
Benoit Marty
2ea45a9ee1
Mode test for `ChangeServerView`
2 years ago
Benoit Marty
92d3a1c811
Add a way to Preview images.
2 years ago
Benoit Marty
968f7f80fc
Improve coverage of BugReportView.
2 years ago
Benoit Marty
e120ca7163
Extract Provider (and rename them) to their own file and move fixture(s) there.
2 years ago
Benoit Marty
443076f636
Give the id to AvatarData to be able to compute initial properly.
2 years ago
Benoit Marty
700204df69
Add preview for RoomListTopBar
2 years ago
Benoit Marty
3bd7a79d89
Add PreviewParameterProvider in the template.
2 years ago
Benoit Marty
afe5499158
PreviewParameterProvider FTW
2 years ago
Benoit Marty
fe44c8906d
Add some Preview
2 years ago
Benoit Marty
0f0c001c3c
Enforce no default value in state.
2 years ago
Benoit Marty
9edf715911
Naming convention. View / Content
2 years ago
Benoit Marty
3142b884c5
Move test data to TestData.kt
2 years ago
Benoit Marty
996537a890
Add a test
2 years ago
Benoit Marty
5875de1c51
Rename classes (not a State)
2 years ago
Benoit Marty
a57a6f45bb
Exclude generated classes from code coverage metrics.
2 years ago
Benoit Marty
606cd3efc3
Cleanup and centralize test data.
2 years ago
Benoit Marty
f6afd4de26
Add test for `MessagesPresenter`
2 years ago
Benoit Marty
e4722f43d3
Test reply and edit message
2 years ago
Benoit Marty
059d8ec6ce
More tests for `RageshakeDetectionPresenterTest`
2 years ago
Benoit Marty
1126040032
Add test for `PreferencesRootPresenter`
2 years ago
Benoit Marty
165697a80e
Fix dependency issue.
2 years ago
Benoit Marty
3b4a4694ab
Add test for `RageshakeDetectionPresenter`
2 years ago
Benoit Marty
87b6162965
Cleanup
2 years ago
Benoit Marty
a3348ca71c
Improve coverage for `TimelinePresenter`
2 years ago
Benoit Marty
31eb86ebe4
Add test for `BugReportPresenter`
2 years ago
Benoit Marty
e954dccad9
Convert ScreenshotHolder to an interface for testing purpose.
2 years ago
Benoit Marty
e2b4056493
Convert BugReporter to an interface for testing purpose.
...
Cannot use `@ContributesBinding(AppScope::class)`, so provide the implementation in AppModule.
2 years ago
Benoit Marty
f03e766657
Improve coverage of `TemplatePresenter`
2 years ago
Benoit Marty
48bd5fd48e
Add test for `ActionListPresenter`
2 years ago
Benoit Marty
101ed1f272
Add test for `CrashDetectionPresenter`
2 years ago
Benoit Marty
e8c005de9a
Convert CrashDataStore to an interface for testing purpose.
2 years ago
Benoit Marty
4b48825065
Add test for `RageshakePreferencesPresenter`
2 years ago
Benoit Marty
ef6f1e9f2b
Convert Rageshake to an interface for testing purpose.
2 years ago
Benoit Marty
c4195f64cb
Convert RageshakeDataStore to an interface for testing purpose.
2 years ago
Benoit Marty
f736b48a92
Add test for `MessageComposerPresenter`
2 years ago
ganfra
b487e5f128
Separate eventId and id for TimelineItem.Event
2 years ago
Benoit Marty
333f9e9709
Add test for `TimelinePresenter`
2 years ago
Benoit Marty
58c59efebf
Add test for `LogoutPreferencePresenter`
2 years ago
Benoit Marty
8fb1f2655e
Add test for `LoginRootPresenter`
2 years ago
Benoit Marty
5ca2b475cc
Add test for `ChangeServerPresenter`
2 years ago
Benoit Marty
f02e5d606b
Rename class.
2 years ago
Benoit Marty
6d8e4d9afc
Create FakeLastMessageFormatter
2 years ago
Benoit Marty
ae4237abb5
Create module `dateformatter`
2 years ago
Benoit Marty
c3a7ab1de4
Add test about visible range
2 years ago
Benoit Marty
e4ca3541c3
Test room filtering.
2 years ago
Benoit Marty
feac348c89
Enable `testFixtures` - but not supported by AGP yet, so put files in module `matrixtest`
2 years ago
Benoit Marty
cb158acf00
Fix bug. n+1 items were created.
2 years ago
Benoit Marty
6cd9fe18f9
Test filter effect.
2 years ago