Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Le Fevre2017-06-08 07:06:59 +0000
committerQuentin Le Menez2017-06-08 13:48:45 +0000
commit62df46e9a771689be4b81ef350203934068ad4f9 (patch)
tree87b366c38072abdc92e1ac1c08946e519c39968e
parent9c53f8407bd39a65abe6b4ffa6e4221092ed343a (diff)
downloadorg.eclipse.papyrus-62df46e9a771689be4b81ef350203934068ad4f9.tar.gz
org.eclipse.papyrus-62df46e9a771689be4b81ef350203934068ad4f9.tar.xz
org.eclipse.papyrus-62df46e9a771689be4b81ef350203934068ad4f9.zip
517976: [test] typo in glazed bundle version
Actions -correct the typo -add better logger trace Change-Id: I8e25b0cae22ac8419846ff55dfd89c2b2076a581 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=517976 Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
-rw-r--r--tests/junit/plugins/developer/org.eclipse.papyrus.bundles.tests/src/org/eclipse/papyrus/bundles/tests/BundlesTests.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/junit/plugins/developer/org.eclipse.papyrus.bundles.tests/src/org/eclipse/papyrus/bundles/tests/BundlesTests.java b/tests/junit/plugins/developer/org.eclipse.papyrus.bundles.tests/src/org/eclipse/papyrus/bundles/tests/BundlesTests.java
index 0a726824a70..5266f01683a 100644
--- a/tests/junit/plugins/developer/org.eclipse.papyrus.bundles.tests/src/org/eclipse/papyrus/bundles/tests/BundlesTests.java
+++ b/tests/junit/plugins/developer/org.eclipse.papyrus.bundles.tests/src/org/eclipse/papyrus/bundles/tests/BundlesTests.java
@@ -217,7 +217,7 @@ public class BundlesTests extends AbstractPapyrusTest {
@Test
public void glazedListDependencyVersionTest() {
- testPapyrusDependencies2("ca.odell.glazedlists", NATTABLE_VERSION);//$NON-NLS-1$
+ testPapyrusDependencies2("ca.odell.glazedlists", GLAZED_LIST_VERSION);//$NON-NLS-1$
}
@Test
@@ -389,7 +389,7 @@ public class BundlesTests extends AbstractPapyrusTest {
}
if (versionString == null) {
if (localBuilder.length() == 0) {
- localBuilder.append(NLS.bind("{0} incorrect required bundle-version:\n", current.getSymbolicName())); //$NON-NLS-1$
+ localBuilder.append(NLS.bind("Incorrect version for {0}, got {1} and not {2} \n", new String[] {pluginName, current.getSymbolicName(), wantedVersion})); //$NON-NLS-1$
}
localBuilder.append(NLS.bind("No Version number for {0}\n", pluginName)); //$NON-NLS-1$
nb++;
@@ -399,7 +399,7 @@ public class BundlesTests extends AbstractPapyrusTest {
if (localBuilder.length() == 0) {
localBuilder.append(NLS.bind("{0} incorrect required bundle-version:\n", current.getSymbolicName())); //$NON-NLS-1$
}
- localBuilder.append(NLS.bind("Bad version for {0}\n", pluginName)); //$NON-NLS-1$
+ localBuilder.append(NLS.bind("Bad version for {0}, got {1} and not {2} \n", new String[] {pluginName, versionString, wantedVersion})); //$NON-NLS-1$
nb++;
}
}

Back to the top