toggle menu
Litho
androidJvm
switch theme
search in API
litho-testing
/
com.facebook.litho.testing.testrunner
/
LithoTestRunner
Litho
Test
Runner
open
class
LithoTestRunner
:
RobolectricTestRunner
Members
Constructors
Litho
Test
Runner
Link copied to clipboard
constructor
(
testClass
:
Class
<
out
Any
>
)
Creates a runner to run
testClass
.
Types
Litho
Test
Lifecycle
Link copied to clipboard
open
class
LithoTestLifecycle
:
DefaultTestLifecycle
Local
Configurations
Link copied to clipboard
@
Retention
(
value
=
RetentionPolicy.RUNTIME
)
@
Target
(
value
=
ElementType.TYPE
)
annotation class
LocalConfigurations
Properties
CONFIG_PROPERTIES
Link copied to clipboard
val
CONFIG_PROPERTIES
:
String
=
"robolectric.properties"
test
Class
Link copied to clipboard
val
testClass
:
TestClass
Functions
create
Android
Manifest
Link copied to clipboard
open
fun
createAndroidManifest
(
manifestIdentifier
:
ManifestIdentifier
)
:
AndroidManifest
create
Test
Link copied to clipboard
open
fun
createTest
(
)
:
Any
filter
Link copied to clipboard
open
fun
filter
(
filter
:
Filter
)
get
Config
Link copied to clipboard
open
fun
getConfig
(
method
:
Method
)
:
Config
get
Description
Link copied to clipboard
open
fun
getDescription
(
)
:
Description
run
Link copied to clipboard
open
fun
run
(
notifier
:
RunNotifier
)
set
Scheduler
Link copied to clipboard
open
fun
setScheduler
(
scheduler
:
RunnerScheduler
)
sort
Link copied to clipboard
open
fun
sort
(
sorter
:
Sorter
)
test
Count
Link copied to clipboard
open
fun
testCount
(
)
:
Int