diff options
author | David Gageot <david@gageot.net> | 2015-07-06 17:31:39 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2015-07-06 17:31:39 +0200 |
commit | b148ed714b02e414ab0c3c8ce894665b3013787d (patch) | |
tree | c56409d827b32e3b449a7cdf18538510083319f7 | |
parent | 0f5e9229cbf616e2f03f7e884e91794579371425 (diff) | |
download | sonarqube-b148ed714b02e414ab0c3c8ce894665b3013787d.tar.gz sonarqube-b148ed714b02e414ab0c3c8ce894665b3013787d.zip |
Get rid of outdated ITs
10 files changed, 2 insertions, 532 deletions
diff --git a/it/it-tests/src/test/java/updatecenter/UpdateCenterTest.java b/it/it-tests/src/test/java/updatecenter/UpdateCenterTest.java index 12f214ab069..a1b493cf375 100644 --- a/it/it-tests/src/test/java/updatecenter/UpdateCenterTest.java +++ b/it/it-tests/src/test/java/updatecenter/UpdateCenterTest.java @@ -40,12 +40,8 @@ public class UpdateCenterTest { @Test public void test_console() { Selenese selenese = Selenese.builder().setHtmlTestsInClasspath("server-update-center", - "/updatecenter/installed-plugins.html", - "/updatecenter/plugin-updates.html", - "/updatecenter/refresh-update-center.html", - "/updatecenter/system-updates.html", - "/updatecenter/available-plugins.html" - ).build(); + "/updatecenter/installed-plugins.html") + .build(); orchestrator.executeSelenese(selenese); } diff --git a/it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-dependencies.properties b/it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-dependencies.properties deleted file mode 100644 index 65baf118f43..00000000000 --- a/it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-dependencies.properties +++ /dev/null @@ -1,83 +0,0 @@ -# THIS FILE IS USED BY THE UPDATE CENTER -# DO NOT REMOVE OR RENAME -# -# Note : prefix all : by \ -# - -publicVersions=3.0,100.0 - -3.0.description=Encryption of database password, TimeMachine available as widgets, New algorithm for tracking violations, 40 bugs and 40 improvements -3.0.downloadUrl=http\://dist.sonar.codehaus.org/sonar-3.0.zip -3.0.changelogUrl=http\://www.sonarsource.org/downloads/#3.0 -3.0.date=2012-04-17 - -100.0.description=Hundred dot zero! -100.0.downloadUrl=http\://dist.sonar.codehaus.org/sonar-100.0.zip -100.0.changelogUrl=http\://www.sonarsource.org/downloads/#100.0 -100.0.date=2112-06-13 - - -plugins=dotnet,fxcop,csharp,visualstudio - -#-------------------------------------------------------------------------------------------------------------------------- -dotnet.name=DotNet -dotnet.category=Additional Languages -dotnet.publicVersions=1.0,1.1 - -dotnet.1.0.description=Dot Net 1.0 -dotnet.1.0.sqVersions=3.2,3.3,3.4,3.5,3.6,3.7,3.7.1,3.7.2,3.7.3,3.7.4,3.7.5,3.7.6,3.7.7,4.0,4.0.1,4.1,4.2,4.3,4.4,4.5,4.6,4.7,5.0,5.1,5.2,5.3,5.4,5.5 -dotnet.1.0.downloadUrl= -dotnet.1.0.date=2011-07-29 - -dotnet.1.1.description=Dot Net 1.1 -dotnet.1.1.sqVersions=3.2,3.3,3.4,3.5,3.6,3.7,3.7.1,3.7.2,3.7.3,3.7.4,3.7.5,3.7.6,3.7.7,4.0,4.0.1,4.1,4.2,4.3,4.4,4.5,4.6,4.7,5.0,5.1,5.2,5.3,5.4,5.5 -dotnet.1.1.downloadUrl= -dotnet.1.1.date=2011-08-28 - -fxcop.name=FxCop -fxcop.category=Additional Languages -fxcop.publicVersions=1.0,1.1 - -fxcop.1.0.description=FxCop 1.0 -fxcop.1.0.sqVersions=3.2,3.3,3.4,3.5,3.6,3.7,3.7.1,3.7.2,3.7.3,3.7.4,3.7.5,3.7.6,3.7.7,4.0,4.0.1,4.1,4.2,4.3,4.4,4.5,4.6,4.7,5.0,5.1,5.2,5.3,5.4,5.5 -fxcop.1.0.downloadUrl= -fxcop.1.0.date=2012-01-05 -fxcop.1.0.parent=dotnet - -fxcop.1.1.description=FxCop 1.1 -fxcop.1.1.sqVersions=3.2,3.3,3.4,3.5,3.6,3.7,3.7.1,3.7.2,3.7.3,3.7.4,3.7.5,3.7.6,3.7.7,4.0,4.0.1,4.1,4.2,4.3,4.4,4.5,4.6,4.7,5.0,5.1,5.2,5.3,5.4,5.5 -fxcop.1.1.downloadUrl= -fxcop.1.1.date=2012-06-25 -fxcop.1.1.parent=dotnet - -csharp.name=C Sharp -csharp.category=Additional Languages -csharp.publicVersions=1.0,1.1 - -csharp.1.0.description=C Sharp 1.0 -csharp.1.0.sqVersions=3.2,3.3,3.4,3.5,3.6,3.7,3.7.1,3.7.2,3.7.3,3.7.4,3.7.5,3.7.6,3.7.7,4.0,4.0.1,4.1,4.2,4.3,4.4,4.5,4.6,4.7,5.0,5.1,5.2,5.3,5.4,5.5 -csharp.1.0.downloadUrl= -csharp.1.0.date=2012-01-05 -csharp.1.0.requirePlugins=dotnet:1.0 - -csharp.1.1.description=C Sharp 1.1 -csharp.1.1.sqVersions=3.2,3.3,3.4,3.5,3.6,3.7,3.7.1,3.7.2,3.7.3,3.7.4,3.7.5,3.7.6,3.7.7,4.0,4.0.1,4.1,4.2,4.3,4.4,4.5,4.6,4.7,5.0,5.1,5.2,5.3,5.4,5.5 -csharp.1.1.downloadUrl= -csharp.1.1.date=2012-06-25 -csharp.1.1.requirePlugins=dotnet:1.1 - -visualstudio.name=Visual Studio -visualstudio.category=Additional Languages -visualstudio.publicVersions=1.0,1.1 - -visualstudio.1.0.description=Visual Studio 1.0 -visualstudio.1.0.sqVersions=3.2,3.3,3.4,3.5,3.6,3.7,3.7.1,3.7.2,3.7.3,3.7.4,3.7.5,3.7.6,3.7.7,4.0,4.0.1,4.1,4.2,4.3,4.4,4.5,4.6,4.7,5.0,5.1,5.2,5.3,5.4,5.5 -visualstudio.1.0.downloadUrl= -visualstudio.1.0.date=2012-01-05 -visualstudio.1.0.requirePlugins=csharp:1.0 - -visualstudio.1.1.description=Visual Studio 1.1 -visualstudio.1.1.sqVersions=3.2,3.3,3.4,3.5,3.6,3.7,3.7.1,3.7.2,3.7.3,3.7.4,3.7.5,3.7.6,3.7.7,4.0,4.0.1,4.1,4.2,4.3,4.4,4.5,4.6,4.7,5.0,5.1,5.2,5.3,5.4,5.5 -visualstudio.1.1.downloadUrl= -visualstudio.1.1.date=2012-06-25 -visualstudio.1.1.requirePlugins=csharp:1.1 diff --git a/it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-system-update-with-already-compatible-plugins.properties b/it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-system-update-with-already-compatible-plugins.properties deleted file mode 100644 index 50c8c2b5204..00000000000 --- a/it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-system-update-with-already-compatible-plugins.properties +++ /dev/null @@ -1,32 +0,0 @@ -# THIS FILE IS USED BY THE UPDATE CENTER -# DO NOT REMOVE OR RENAME -# -# Note : prefix all : by \ -# - -publicVersions=3.0,100.0 - -3.0.description=Encryption of database password, TimeMachine available as widgets, New algorithm for tracking violations, 40 bugs and 40 improvements -3.0.downloadUrl=http\://dist.sonar.codehaus.org/sonar-3.0.zip -3.0.changelogUrl=http\://www.sonarsource.org/downloads/#3.0 -3.0.date=2012-04-17 - -100.0.description=Hundred dot zero! -100.0.downloadUrl=http\://dist.sonar.codehaus.org/sonar-100.0.zip -100.0.changelogUrl=http\://www.sonarsource.org/downloads/#100.0 -100.0.date=2112-06-13 - - -plugins=fake - -#-------------------------------------------------------------------------------------------------------------------------- -fake.category=Additional Metrics -fake.publicVersions=1.0 -fake.name=Fake -fake.description=Fake plugin for integration tests - -fake.1.0.description=Initial release -fake.1.0.sqVersions=3.2,3.3,3.4,3.5,3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13,3.14,3.15,3.16,100.0 -fake.1.0.downloadUrl= -fake.1.0.date=2011-05-06 - diff --git a/it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-with-missing-plugin-version.properties b/it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-with-missing-plugin-version.properties deleted file mode 100644 index 11d35d2f1b8..00000000000 --- a/it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-with-missing-plugin-version.properties +++ /dev/null @@ -1,30 +0,0 @@ -# THIS FILE IS USED BY THE UPDATE CENTER -# DO NOT REMOVE OR RENAME -# -# Note : prefix all : by \ -# - -publicVersions=3.0,100.0 - -3.0.description=Encryption of database password, TimeMachine available as widgets, New algorithm for tracking violations, 40 bugs and 40 improvements -3.0.downloadUrl=http\://dist.sonar.codehaus.org/sonar-3.0.zip -3.0.changelogUrl=http\://www.sonarsource.org/downloads/#3.0 -3.0.date=2012-04-17 - -100.0.description=Hundred dot zero! -100.0.downloadUrl=http\://dist.sonar.codehaus.org/sonar-100.0.zip -100.0.changelogUrl=http\://www.sonarsource.org/downloads/#100.0 -100.0.date=2112-06-13 - -plugins=fake - -#-------------------------------------------------------------------------------------------------------------------------- -fake.category=Additional Metrics -fake.publicVersions=1.1 -fake.name=Fake -fake.description=Fake plugin for integration tests - -fake.1.1.description=Support sonar 100.0 -fake.1.1.sqVersions=3.2,3.3,3.4,3.5,3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13,3.14,3.15,3.16,100.0 -fake.1.1.downloadUrl= -fake.1.1.date=2012-04-27 diff --git a/it/it-tests/src/test/resources/updatecenter/available-plugins.html b/it/it-tests/src/test/resources/updatecenter/available-plugins.html deleted file mode 100644 index 04f2b6240b7..00000000000 --- a/it/it-tests/src/test/resources/updatecenter/available-plugins.html +++ /dev/null @@ -1,85 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head profile="http://selenium-ide.openqa.org/profiles/test-case"> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <title>available-plugins</title> -</head> -<body> -<table cellpadding="1" cellspacing="1" border="1"> - - <tbody> - <tr> - <td>open</td> - <td>/sonar/sessions/logout</td> - <td></td> - </tr> - <tr> - <td>open</td> - <td>/sonar/settings</td> - <td></td> - </tr> - <tr> - <td>type</td> - <td>id=login</td> - <td>admin</td> - </tr> - <tr> - <td>type</td> - <td>id=password</td> - <td>admin</td> - </tr> - <tr> - <td>clickAndWait</td> - <td>name=commit</td> - <td></td> - </tr> - <tr> - <td>open</td> - <td>/sonar/updatecenter</td> - <td></td> - </tr> - <tr> - <td>clickAndWait</td> - <td>link=Available Plugins</td> - <td></td> - </tr> - <tr> - <td>assertText</td> - <td>content</td> - <td>*ABAP*</td> - </tr> - <tr> - <td>assertNotText</td> - <td>content</td> - <td>*fake*</td> - </tr> - <tr> - <td>assertNotText</td> - <td>content</td> - <td>*Fake*</td> - </tr> - <tr> - <td>click</td> - <td>link=ABAP</td> - <td></td> - </tr> - <tr> - <td>assertText</td> - <td>detail-abap</td> - <td>*2.0.1 (Jun 25, 2012)*</td> - </tr> - <tr> - <td>clickAndWait</td> - <td>id=submit-abap</td> - <td></td> - </tr> - <tr> - <td>waitForText</td> - <td>errormsg</td> - <td>*Fail to download the plugin (abap, version 2.0.1)*</td> - </tr> - </tbody> -</table> -</body> -</html> diff --git a/it/it-tests/src/test/resources/updatecenter/plugin-updates.html b/it/it-tests/src/test/resources/updatecenter/plugin-updates.html deleted file mode 100644 index a70e257f25a..00000000000 --- a/it/it-tests/src/test/resources/updatecenter/plugin-updates.html +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head profile="http://selenium-ide.openqa.org/profiles/test-case"> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <title>plugin-updates</title> -</head> -<body> -<table cellpadding="1" cellspacing="1" border="1"> - - <tbody> - <tr> - <td>open</td> - <td>/sonar/sessions/logout</td> - <td></td> - </tr> - <tr> - <td>open</td> - <td>/sonar/settings</td> - <td></td> - </tr> - <tr> - <td>type</td> - <td>id=login</td> - <td>admin</td> - </tr> - <tr> - <td>type</td> - <td>id=password</td> - <td>admin</td> - </tr> - <tr> - <td>clickAndWait</td> - <td>name=commit</td> - <td></td> - </tr> - <tr> - <td>open</td> - <td>/sonar/updatecenter</td> - <td></td> - </tr> - <tr> - <td>clickAndWait</td> - <td>link=Plugin Updates</td> - <td></td> - </tr> - <tr> - <td>assertText</td> - <td>plugin-updates</td> - <td>*Fake*1.0-SNAPSHOT*1.1*Support sonarqube v100.0*</td> - </tr> - <tr> - <td>assertValue</td> - <td>upgrade-submit-fake</td> - <td>Upgrade to 1.1</td> - </tr> - <tr> - <td>clickAndWait</td> - <td>id=upgrade-submit-fake</td> - <td></td> - </tr> - <tr> - <td>assertText</td> - <td>errormsg</td> - <td>*Fail to download the plugin (fake, version 1.1)*</td> - </tr> - </tbody> -</table> -</body> -</html> diff --git a/it/it-tests/src/test/resources/updatecenter/refresh-update-center.html b/it/it-tests/src/test/resources/updatecenter/refresh-update-center.html deleted file mode 100644 index 31806663c5f..00000000000 --- a/it/it-tests/src/test/resources/updatecenter/refresh-update-center.html +++ /dev/null @@ -1,66 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head profile="http://selenium-ide.openqa.org/profiles/test-case"> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <title>installed-plugins</title> -</head> -<body> -<table cellpadding="1" cellspacing="1" border="1"> - - <tbody> - <tr> - <td>open</td> - <td>/sonar/sessions/logout</td> - <td></td> - </tr> - <tr> - <td>open</td> - <td>/sonar/settings</td> - <td></td> - </tr> - <tr> - <td>type</td> - <td>id=login</td> - <td>admin</td> - </tr> - <tr> - <td>type</td> - <td>id=password</td> - <td>admin</td> - </tr> - <tr> - <td>clickAndWait</td> - <td>name=commit</td> - <td></td> - </tr> - - <tr> - <td>open</td> - <td>/sonar/updatecenter</td> - <td></td> - </tr> - <tr> - <td>clickAndWait</td> - <td>link=Available Plugins</td> - <td></td> - </tr> - <tr> - <td>assertText</td> - <td>content</td> - <td>*Updated on*</td> - </tr> - <tr> - <td>clickAndWait</td> - <td>link=Refresh</td> - <td></td> - </tr> - <tr> - <td>assertText</td> - <td>content</td> - <td>*Updated on*</td> - </tr> - </tbody> -</table> -</body> -</html> diff --git a/it/it-tests/src/test/resources/updatecenter/system-updates-with-missing-installed-plugin-version.html b/it/it-tests/src/test/resources/updatecenter/system-updates-with-missing-installed-plugin-version.html deleted file mode 100644 index 63b3789c24c..00000000000 --- a/it/it-tests/src/test/resources/updatecenter/system-updates-with-missing-installed-plugin-version.html +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head profile="http://selenium-ide.openqa.org/profiles/test-case"> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <title>installed-plugins</title> -</head> -<body> -<table cellpadding="1" cellspacing="1" border="1"> - - <tbody> - <tr> - <td>open</td> - <td>/sonar/sessions/logout</td> - <td></td> -</tr> -<tr> - <td>open</td> - <td>/sonar/settings</td> - <td></td> -</tr> -<tr> - <td>type</td> - <td>id=login</td> - <td>admin</td> -</tr> -<tr> - <td>type</td> - <td>id=password</td> - <td>admin</td> -</tr> -<tr> - <td>clickAndWait</td> - <td>name=commit</td> - <td></td> -</tr> -<tr> - <td>open</td> - <td>/sonar/updatecenter/system_updates?reload=true</td> - <td></td> -</tr> -<tr> - <td>assertText</td> - <td>content</td> - <td>*SonarQube 100.0*</td> -</tr> -</tbody> -</table> -</body> -</html> diff --git a/it/it-tests/src/test/resources/updatecenter/system-updates-without-plugin-updates.html b/it/it-tests/src/test/resources/updatecenter/system-updates-without-plugin-updates.html deleted file mode 100644 index 9c51ab2cfc5..00000000000 --- a/it/it-tests/src/test/resources/updatecenter/system-updates-without-plugin-updates.html +++ /dev/null @@ -1,55 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head profile="http://selenium-ide.openqa.org/profiles/test-case"> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <title>installed-plugins</title> -</head> -<body> -<table cellpadding="1" cellspacing="1" border="1"> - - <tbody> - <tr> - <td>open</td> - <td>/sonar/sessions/logout</td> - <td></td> - </tr> - <tr> - <td>open</td> - <td>/sonar/settings</td> - <td></td> - </tr> - <tr> - <td>type</td> - <td>id=login</td> - <td>admin</td> - </tr> - <tr> - <td>type</td> - <td>id=password</td> - <td>admin</td> - </tr> - <tr> - <td>clickAndWait</td> - <td>name=commit</td> - <td></td> - </tr> - <tr> - <td>open</td> - <td>/sonar/updatecenter/system_updates?reload=true</td> - <td></td> - </tr> - <tr> - <td>assertText</td> - <td>content</td> - <td>*SonarQube 100.0*</td> - </tr> - <tr> - <td>assertNotText</td> - <td>content</td> - <td>*SonarQube 100.0*Fake*1.1*</td> - </tr> - </tbody> -</table> -</body> -</html> diff --git a/it/it-tests/src/test/resources/updatecenter/system-updates.html b/it/it-tests/src/test/resources/updatecenter/system-updates.html deleted file mode 100644 index 188a97cb331..00000000000 --- a/it/it-tests/src/test/resources/updatecenter/system-updates.html +++ /dev/null @@ -1,55 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head profile="http://selenium-ide.openqa.org/profiles/test-case"> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <title>installed-plugins</title> -</head> -<body> -<table cellpadding="1" cellspacing="1" border="1"> - - <tbody> - <tr> - <td>open</td> - <td>/sonar/sessions/logout</td> - <td></td> - </tr> - <tr> - <td>open</td> - <td>/sonar/settings</td> - <td></td> - </tr> - <tr> - <td>type</td> - <td>id=login</td> - <td>admin</td> - </tr> - <tr> - <td>type</td> - <td>id=password</td> - <td>admin</td> - </tr> - <tr> - <td>clickAndWait</td> - <td>name=commit</td> - <td></td> - </tr> - <tr> - <td>open</td> - <td>/sonar/updatecenter</td> - <td></td> - </tr> - <tr> - <td>clickAndWait</td> - <td>link=System Updates</td> - <td></td> - </tr> - <tr> - <td>assertText</td> - <td>content</td> - <td>*SonarQube 100.0*Fake*1.1*</td> - </tr> - </tbody> -</table> -</body> -</html> |