Package org.sonar.core.qualitygate.db

Examples of org.sonar.core.qualitygate.db.ProjectQgateAssociationQuery


        + "{'id':42,'name':'Project One','selected':false},"
        + "{'id':24,'name':'Project Two','selected':true}"
        + "]}");
    ArgumentCaptor<ProjectQgateAssociationQuery> queryCaptor = ArgumentCaptor.forClass(ProjectQgateAssociationQuery.class);
    verify(projectFinder).find(queryCaptor.capture());
    ProjectQgateAssociationQuery query = queryCaptor.getValue();
    assertThat(query.membership()).isEqualTo(ProjectQgateAssociationQuery.ANY);
  }
View Full Code Here


      .assertJson("{'more':true,'results':["
        + "{'id':24,'name':'Project Two','selected':true}"
        + "]}");
    ArgumentCaptor<ProjectQgateAssociationQuery> queryCaptor = ArgumentCaptor.forClass(ProjectQgateAssociationQuery.class);
    verify(projectFinder).find(queryCaptor.capture());
    ProjectQgateAssociationQuery query = queryCaptor.getValue();
    assertThat(query.membership()).isEqualTo(ProjectQgateAssociationQuery.IN);
  }
View Full Code Here

TOP

Related Classes of org.sonar.core.qualitygate.db.ProjectQgateAssociationQuery

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.