diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-08-17 14:30:43 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-08-17 14:31:35 +0200 |
commit | b7180e84a86cc6aef209f24ddba9da06aeb46010 (patch) | |
tree | 3d72a4408e5fdcfcba29c1166a22609a5ed2e447 /tests/src/test/java/org | |
parent | 51a85838f298e37b10ffa330588e4626a6466294 (diff) | |
download | sonarqube-b7180e84a86cc6aef209f24ddba9da06aeb46010.tar.gz sonarqube-b7180e84a86cc6aef209f24ddba9da06aeb46010.zip |
Revert "SONAR-7493 add integration test on max length of db column issues.message"
This reverts commit 4f79e3f566e90290434c860c828508e34b46b05f.
... because return from holidays is hard
Diffstat (limited to 'tests/src/test/java/org')
-rw-r--r-- | tests/src/test/java/org/sonarqube/tests/issue/IssueCreationTest.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/src/test/java/org/sonarqube/tests/issue/IssueCreationTest.java b/tests/src/test/java/org/sonarqube/tests/issue/IssueCreationTest.java index 81d2cd4a51b..b6afaf17304 100644 --- a/tests/src/test/java/org/sonarqube/tests/issue/IssueCreationTest.java +++ b/tests/src/test/java/org/sonarqube/tests/issue/IssueCreationTest.java @@ -19,7 +19,6 @@ */ package org.sonarqube.tests.issue; -import org.apache.commons.lang.StringUtils; import org.junit.Before; import org.junit.Test; import org.sonar.wsclient.issue.Issue; @@ -76,23 +75,4 @@ public class IssueCreationTest extends AbstractIssueTest { assertThat(issue.severity()).isEqualTo("BLOCKER"); } } - - /** - * Test the maximum size of DB column issues.message, even if UTF8 characters - * are 3-bytes long - * - * SONAR-7493 - */ - @Test - public void issue_message_should_support_4000_utf8_characters() { - ORCHESTRATOR.getServer().provisionProject(SAMPLE_PROJECT_KEY, SAMPLE_PROJECT_KEY); - ItUtils.restoreProfile(ORCHESTRATOR, getClass().getResource("/issue/IssueCreationTest/with-custom-message.xml")); - ORCHESTRATOR.getServer().associateProjectToQualityProfile(SAMPLE_PROJECT_KEY, "xoo", "with-custom-message"); - - String longMessage = StringUtils.repeat("を", 4_000); - runProjectAnalysis(ORCHESTRATOR, "shared/xoo-sample", "sonar.customMessage.message", longMessage); - - Issue issue = issueClient().find(IssueQuery.create()).list().get(0); - assertThat(issue.message()).isEqualTo(longMessage); - } } |