Examples of CharacteristicDto


Examples of org.sonar.core.technicaldebt.db.CharacteristicDto

  }

  @Test
  public void backup_with_rule_having_default_linear_and_overridden_offset() throws Exception {
    when(dao.selectEnabledCharacteristics(session)).thenReturn(newArrayList(
      new CharacteristicDto().setId(1).setKey("PORTABILITY").setName("Portability updated").setOrder(2),
      new CharacteristicDto().setId(2).setKey("COMPILER").setName("Compiler updated").setParentId(1)
    ));

    when(ruleDao.selectEnabledAndNonManual(session)).thenReturn(newArrayList(
      // Rule with default debt values : default value is linear (only coefficient is set) and overridden value is constant per issue (only offset is set)
      // -> Ony offset should be set
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.