<br/>
<% end %>
<% change.parameters().each do |param_key, param_value| %>
- <% if param_value %>
+ <% unless param_value.empty? %>
<%= message('quality_profiles.parameter_set_to_x', :params => [param_key, param_value]) -%>
<% else %>
<%= message('quality_profiles.changelog.parameter_reset_to_default_value_x', :params => [param_key]) -%>
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Multimap;
-import org.junit.*;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.ClassRule;
+import org.junit.Test;
import org.sonar.api.rule.RuleKey;
import org.sonar.api.rule.RuleStatus;
import org.sonar.api.rule.Severity;
}
@Test
- @Ignore
public void search_activity_by_qprofile_having_dashes_in_keys() throws InterruptedException {
-
tester.get(ActivityService.class).write(dbSession, Activity.Type.QPROFILE,
ActiveRuleChange.createFor(ActiveRuleChange.Type.ACTIVATED, ActiveRuleKey.of("java-default", RuleTesting.XOO_X1)));
tester.get(ActivityService.class).write(dbSession, Activity.Type.QPROFILE,