From b148ed714b02e414ab0c3c8ce894665b3013787d Mon Sep 17 00:00:00 2001 From: David Gageot Date: Mon, 6 Jul 2015 17:31:39 +0200 Subject: [PATCH] Get rid of outdated ITs --- .../java/updatecenter/UpdateCenterTest.java | 8 +- .../update-center-dependencies.properties | 83 ------------------ ...with-already-compatible-plugins.properties | 32 ------- ...ter-with-missing-plugin-version.properties | 30 ------- .../updatecenter/available-plugins.html | 85 ------------------- .../updatecenter/plugin-updates.html | 70 --------------- .../updatecenter/refresh-update-center.html | 66 -------------- ...with-missing-installed-plugin-version.html | 50 ----------- ...system-updates-without-plugin-updates.html | 55 ------------ .../updatecenter/system-updates.html | 55 ------------ 10 files changed, 2 insertions(+), 532 deletions(-) delete mode 100644 it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-dependencies.properties delete mode 100644 it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-system-update-with-already-compatible-plugins.properties delete mode 100644 it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-with-missing-plugin-version.properties delete mode 100644 it/it-tests/src/test/resources/updatecenter/available-plugins.html delete mode 100644 it/it-tests/src/test/resources/updatecenter/plugin-updates.html delete mode 100644 it/it-tests/src/test/resources/updatecenter/refresh-update-center.html delete mode 100644 it/it-tests/src/test/resources/updatecenter/system-updates-with-missing-installed-plugin-version.html delete mode 100644 it/it-tests/src/test/resources/updatecenter/system-updates-without-plugin-updates.html delete mode 100644 it/it-tests/src/test/resources/updatecenter/system-updates.html 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 @@ - - - - - - available-plugins - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
open/sonar/sessions/logout
open/sonar/settings
typeid=loginadmin
typeid=passwordadmin
clickAndWaitname=commit
open/sonar/updatecenter
clickAndWaitlink=Available Plugins
assertTextcontent*ABAP*
assertNotTextcontent*fake*
assertNotTextcontent*Fake*
clicklink=ABAP
assertTextdetail-abap*2.0.1 (Jun 25, 2012)*
clickAndWaitid=submit-abap
waitForTexterrormsg*Fail to download the plugin (abap, version 2.0.1)*
- - 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 @@ - - - - - - plugin-updates - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
open/sonar/sessions/logout
open/sonar/settings
typeid=loginadmin
typeid=passwordadmin
clickAndWaitname=commit
open/sonar/updatecenter
clickAndWaitlink=Plugin Updates
assertTextplugin-updates*Fake*1.0-SNAPSHOT*1.1*Support sonarqube v100.0*
assertValueupgrade-submit-fakeUpgrade to 1.1
clickAndWaitid=upgrade-submit-fake
assertTexterrormsg*Fail to download the plugin (fake, version 1.1)*
- - 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 @@ - - - - - - installed-plugins - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
open/sonar/sessions/logout
open/sonar/settings
typeid=loginadmin
typeid=passwordadmin
clickAndWaitname=commit
open/sonar/updatecenter
clickAndWaitlink=Available Plugins
assertTextcontent*Updated on*
clickAndWaitlink=Refresh
assertTextcontent*Updated on*
- - 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 @@ - - - - - - installed-plugins - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
open/sonar/sessions/logout
open/sonar/settings
typeid=loginadmin
typeid=passwordadmin
clickAndWaitname=commit
open/sonar/updatecenter/system_updates?reload=true
assertTextcontent*SonarQube 100.0*
- - 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 @@ - - - - - - installed-plugins - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
open/sonar/sessions/logout
open/sonar/settings
typeid=loginadmin
typeid=passwordadmin
clickAndWaitname=commit
open/sonar/updatecenter/system_updates?reload=true
assertTextcontent*SonarQube 100.0*
assertNotTextcontent*SonarQube 100.0*Fake*1.1*
- - 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 @@ - - - - - - installed-plugins - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
open/sonar/sessions/logout
open/sonar/settings
typeid=loginadmin
typeid=passwordadmin
clickAndWaitname=commit
open/sonar/updatecenter
clickAndWaitlink=System Updates
assertTextcontent*SonarQube 100.0*Fake*1.1*
- - -- 2.39.5