]> source.dussan.org Git - sonarqube.git/commitdiff
Add some doc
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 31 Jan 2014 09:38:05 +0000 (10:38 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 31 Jan 2014 10:46:12 +0000 (11:46 +0100)
sonar-server/src/test/java/org/sonar/server/plugins/PluginDownloaderTest.java

index 18831dbf89978aafb18617148c4e4740189dd614..a96c023fb77b0ad72f2d7ed7237ec0e11cbcfd1a 100644 (file)
@@ -116,8 +116,11 @@ public class PluginDownloaderTest {
     assertThat(new File(downloadDir, "test-1.0.jar.tmp")).doesNotExist();
   }
 
+  /**
+   * SONAR-4685
+   */
   @Test
-  public void download_from_url_not_finishing_by_jar_extension() throws Exception {
+  public void download_from_redirect_url() throws Exception {
     Plugin test = new Plugin("plugin-test");
     Release test10 = new Release(test, "1.0").setDownloadUrl("http://server/redirect?r=release&g=test&a=test&v=1.0&e=jar");
     test.addRelease(test10);