From d9045633b305b3d5a29ffb019a065cdca1d793d5 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Mon, 6 Jul 2015 18:17:15 +0200 Subject: [PATCH] Fix UpdateCenter ITs --- ...with-already-compatible-plugins.properties | 32 +++++++++++++++++++ ...ter-with-missing-plugin-version.properties | 30 +++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-system-update-with-already-compatible-plugins.properties create mode 100644 it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-with-missing-plugin-version.properties 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 new file mode 100644 index 00000000000..50c8c2b5204 --- /dev/null +++ b/it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-system-update-with-already-compatible-plugins.properties @@ -0,0 +1,32 @@ +# 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 new file mode 100644 index 00000000000..11d35d2f1b8 --- /dev/null +++ b/it/it-tests/src/test/resources/updatecenter/UpdateCenterTest/update-center-with-missing-plugin-version.properties @@ -0,0 +1,30 @@ +# 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 -- 2.39.5