
public class DroidiumNativeActivityManager extends Object
AfterDroneInstantiatedBeforeDroneDestroyed| Constructor and Description |
|---|
DroidiumNativeActivityManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllActitiviesForDrone(org.jboss.arquillian.drone.spi.event.AfterDroneInstantiated event)
Adds all activities which are controllable by just instantiated Drone instance into context.
|
void |
removeAllActivitiesForDrone(org.jboss.arquillian.drone.spi.event.BeforeDroneDestroyed event)
Removes mapping from WebDriver instance to be destroyed to activities it can control so after this instance is destroyed
you can not start these activities anymore by activity manager.
|
public void addAllActitiviesForDrone(@Observes
org.jboss.arquillian.drone.spi.event.AfterDroneInstantiated event)
event - public void removeAllActivitiesForDrone(@Observes
org.jboss.arquillian.drone.spi.event.BeforeDroneDestroyed event)
AfterDroneInstantiated
event has to be observed by this class in addAllActitiviesForDrone(AfterDroneInstantiated) method which triggers
putting all activity classes to underlying register once again. This process occurs for method scoped Drones before and
after test method.event - Copyright © 2014 JBoss by Red Hat. All rights reserved.