| Package | Description |
|---|---|
| org.javarosa.test |
| Modifier and Type | Method and Description |
|---|---|
Scenario |
Scenario.createNewRepeat()
Creates a new repeat group instance.
|
Scenario |
Scenario.createNewRepeat(String xPath)
Creates a new repeat group instance in the group corresponding
to the provided xPath reference
|
static Scenario |
Scenario.init(File formFile)
Initializes the Scenario with the form at the provided path
|
static Scenario |
Scenario.init(FormDef formDef) |
static Scenario |
Scenario.init(String formFileName)
Initializes the Scenario with provided form filename.
|
static Scenario |
Scenario.init(String formName,
XFormsElement form)
Initializes the Scenario using a form defined using the DSL in XFormsElement
|
static Scenario |
Scenario.init(String formName,
XFormsElement form,
Function<FormDef,FormEntryController> controllerSupplier) |
Scenario |
Scenario.onDagEvent(Consumer<Event> callback)
Sets a callback that will be called every time there's a DAG event
|
Scenario |
Scenario.removeRepeat(String xPath)
Removes the repeat instance corresponding to the provided reference
|
Scenario |
Scenario.serializeAndDeserializeForm()
Returns a new Scenario instance using a new form obtained by
serializing and deserializing the form being used by this instance.
|
Scenario |
Scenario.serializeAndDeserializeInstance(XFormsElement form) |
Copyright © 2025. All rights reserved.