class MockPrinterConfiguration
Set configuration details for how mock state is generated.
MockPrinterConfiguration(mockPackage: (mockedView: Any) -> String = { mockedView ->
val packageName = mockedView::class.qualifiedName!!.substringBeforeLast(".")
"$packageName.mocks"
}, customTypePrinters: List<TypePrinter<*>> = emptyList())
Set configuration details for how mock state is generated. |
val customTypePrinters: List<TypePrinter<*>>
Define functions for generating code for a custom class. |
|
val mockPackage: (mockedView: Any) -> String
Given a MavericksView that we are generating mock states for, returns which package name to use for the generated file. |