Package org.apache.ibatis.executor.result

Examples of org.apache.ibatis.executor.result.DefaultResultHandler


    // All issues are linked on a project that is not existing anymore

    setupData("shared", "should_select_non_closed_issues_by_module_on_removed_project");

    // 400 is a non-root module, we should find 2 issues from classes and one on itself
    DefaultResultHandler handler = new DefaultResultHandler();
    dao.selectNonClosedIssuesByModule(400, handler);
    assertThat(handler.getResultList()).hasSize(3);

    IssueDto issue = (IssueDto) handler.getResultList().get(0);
    assertThat(issue.getRuleRepo()).isNotNull();
    assertThat(issue.getRule()).isNotNull();
    assertThat(issue.getComponentKey()).isNotNull();
    assertThat(issue.getProjectKey()).isNull();
  }
View Full Code Here

TOP

Related Classes of org.apache.ibatis.executor.result.DefaultResultHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.