Created
November 20, 2019 20:40
-
-
Save elihart/d0ee97cb1ab9dbfb0d0b3fff0fa1d182 to your computer and use it in GitHub Desktop.
HappoTestActivity
This file contains hidden or 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
| class HappoTestActivity : IntegrationTestActivity() { | |
| override fun testCurrentScreen( | |
| mockProvider: MockedFragmentProvider, | |
| fragment: MvRxFragment, | |
| resetView: (onViewReset: (MvRxFragment) -> Unit) -> Unit, | |
| finishedTestingFragment: () -> Unit | |
| ) { | |
| happoViewSnapshotBuilder.snap( | |
| activity = this, | |
| component = mockProvider.fragmentName, | |
| variant = mockProvider.mockData.name | |
| ) | |
| finishedTestingFragment() | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment