Github user gurisxie commented on the issue:

    https://github.com/apache/incubator-weex/pull/780
  
    @misakuo android unittest error,please have a look!
    
--------------------------------------------------------------------------------------------------
    com.taobao.weex.ui.component.WXSwitchTest > testAddEvent FAILED
        java.lang.NullPointerException
            at 
com.taobao.weex.ui.component.WXComponent.clearBoxShadow(WXComponent.java:915)
            at 
com.taobao.weex.ui.component.WXComponent.setComponentLayoutParams(WXComponent.java:513)
            at 
com.taobao.weex.ui.component.WXComponent.setLayout(WXComponent.java:495)
            at 
com.taobao.weex.ui.component.ComponentTest.create(ComponentTest.java:55)
            at 
com.taobao.weex.ui.component.WXSwitchTest.setUp(WXSwitchTest.java:58)
    
    com.taobao.weex.ui.component.WXSwitchTest > testSetProperty FAILED
        java.lang.NullPointerException
            at 
com.taobao.weex.ui.component.WXComponent.clearBoxShadow(WXComponent.java:915)
            at 
com.taobao.weex.ui.component.WXComponent.setComponentLayoutParams(WXComponent.java:513)
            at 
com.taobao.weex.ui.component.WXComponent.setLayout(WXComponent.java:495)
            at 
com.taobao.weex.ui.component.ComponentTest.create(ComponentTest.java:55)
            at 
com.taobao.weex.ui.component.WXSwitchTest.setUp(WXSwitchTest.java:58)



---

Reply via email to