diff options
author | Jacek <52388493+jacek-poreda-sonarsource@users.noreply.github.com> | 2019-07-31 16:48:16 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-08-07 20:21:22 +0200 |
commit | 24b51a56601c053a0faa14a789415007eaafd81e (patch) | |
tree | dd8305720c5f5363de15beb547fc6770e84bedf7 /server/sonar-server/src/test | |
parent | 72ce45299de3dacbebe6b10cba25d6e973b9801a (diff) | |
download | sonarqube-24b51a56601c053a0faa14a789415007eaafd81e.tar.gz sonarqube-24b51a56601c053a0faa14a789415007eaafd81e.zip |
SONAR-12351 list plugins with documentation (#1963)
Diffstat (limited to 'server/sonar-server/src/test')
-rw-r--r-- | server/sonar-server/src/test/java/org/sonar/server/plugins/ws/InstalledActionTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/server/plugins/ws/InstalledActionTest.java b/server/sonar-server/src/test/java/org/sonar/server/plugins/ws/InstalledActionTest.java index 1f675ed53d4..c562dab62cd 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/plugins/ws/InstalledActionTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/plugins/ws/InstalledActionTest.java @@ -197,6 +197,7 @@ public class InstalledActionTest { .setHomepageUrl("homepage_url") .setIssueTrackerUrl("issueTracker_url") .setImplementationBuild("sou_rev_sha1") + .setDocumentationPath("static/documentation.md") .setSonarLintSupported(true)); when(pluginFileSystem.getInstalledFiles()).thenReturn(singletonList(plugin)); @@ -224,6 +225,7 @@ public class InstalledActionTest { " \"issueTrackerUrl\": \"issueTracker_url\"," + " \"implementationBuild\": \"sou_rev_sha1\"," + " \"sonarLintSupported\": true," + + " \"documentationPath\": \"static/documentation.md\"," + " \"filename\": \"" + plugin.getLoadedJar().getFile().getName() + "\"," + " \"hash\": \"" + plugin.getLoadedJar().getMd5() + "\"," + " \"updatedAt\": 100" + @@ -376,7 +378,7 @@ public class InstalledActionTest { @DataProvider public static Object[][] editionBundledLicenseValues() { - return new Object[][] { + return new Object[][]{ {"sonarsource"}, {"SonarSource"}, {"SonaRSOUrce"}, |