use of com.taobao.weex.ui.WXRenderManager in project weex-example by KalicyZhou.
the class WXDomStatementTest method setUp.
@Before
public void setUp() throws Exception {
WXSDKEngine.initialize(RuntimeEnvironment.application, new InitConfig.Builder().build());
ShadowLooper looper = WXBridgeManagerTest.getLooper();
looper.idle();
ShadowLooper.runUiThreadTasksIncludingDelayedTasks();
instance = WXSDKInstanceTest.createInstance();
rednerManager = new WXRenderManager();
//
rednerManager.registerInstance(instance);
stmt = new WXDomStatement(instance.getInstanceId(), rednerManager);
}
use of com.taobao.weex.ui.WXRenderManager in project weex-example by KalicyZhou.
the class WXBridgeManagerTest method setUp.
@Before
public void setUp() throws Exception {
WXSDKEngine.initialize(RuntimeEnvironment.application, new InitConfig.Builder().build());
instance = WXSDKInstanceTest.createInstance();
WXRenderManager rednerManager = new WXRenderManager();
//
rednerManager.registerInstance(instance);
WXSDKManagerTest.setRenderManager(rednerManager);
}
use of com.taobao.weex.ui.WXRenderManager in project weex-example by KalicyZhou.
the class WXDomManagerTest method setUp.
@Before
public void setUp() throws Exception {
WXRenderManager rm = new WXRenderManager();
instance = WXSDKInstanceTest.createInstance();
rm.registerInstance(instance);
dm = new WXDomManager(rm);
}
use of com.taobao.weex.ui.WXRenderManager in project incubator-weex by apache.
the class WXDomManagerTest method setUp.
@Before
public void setUp() throws Exception {
WXRenderManager rm = new WXRenderManager();
instance = WXSDKInstanceTest.createInstance();
rm.registerInstance(instance);
dm = new WXDomManager(rm);
}
use of com.taobao.weex.ui.WXRenderManager in project incubator-weex by apache.
the class WXDomStatementTest method setUp.
@Before
public void setUp() throws Exception {
WXSDKEngine.initialize(RuntimeEnvironment.application, new InitConfig.Builder().build());
ShadowLooper looper = WXBridgeManagerTest.getLooper();
looper.idle();
ShadowLooper.runUiThreadTasksIncludingDelayedTasks();
instance = WXSDKInstanceTest.createInstance();
rednerManager = new WXRenderManager();
//
rednerManager.registerInstance(instance);
WXSDKManagerTest.setRenderManager(rednerManager);
stmt = new DOMActionContextImpl(instance.getInstanceId(), rednerManager);
}
Aggregations