GuidedDecisionTableModellerViewImplTest.java 文件源码

java
阅读 23 收藏 0 点赞 0 评论 0

项目:drools-wb 作者:
@Test
public void testAddMouseDownHandlerAttachesToRootPanel() {
    //Ensure nobody thinks its a good idea to attach to the GridPanel at some time in the future!
    //See https://issues.jboss.org/browse/GUVNOR-3491
    final MouseDownHandler handler = mock(MouseDownHandler.class);

    view.addMouseDownHandler(handler);

    verify(mockGridPanel,
           never()).addMouseDownHandler(eq(handler));
    verify(rootPanel).addDomHandler(eq(handler),
                                    eq(MouseDownEvent.getType()));
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号