Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Lorenzo2016-01-12 13:38:42 +0000
committerVincent Lorenzo2016-01-12 13:41:12 +0000
commitba62234c9f837b505785e8f220652cd26bb38da5 (patch)
tree0a862c54b0a04e4ce427ac21572fe8565cd29173
parent7c5f20d4e792268fd347757e72f0e06f951a8884 (diff)
downloadorg.eclipse.papyrus-ba62234c9f837b505785e8f220652cd26bb38da5.tar.gz
org.eclipse.papyrus-ba62234c9f837b505785e8f220652cd26bb38da5.tar.xz
org.eclipse.papyrus-ba62234c9f837b505785e8f220652cd26bb38da5.zip
Bug 481507: [Table] Validation Marker must be displayed in the rows (or columns) header try to fix Junit tests on hudson
Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
-rw-r--r--tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.clazz.config.tests/src/org/eclipse/papyrus/uml/nattable/clazz/config/tests/markers/ValidationMarkerInTableHeaderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.clazz.config.tests/src/org/eclipse/papyrus/uml/nattable/clazz/config/tests/markers/ValidationMarkerInTableHeaderTest.java b/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.clazz.config.tests/src/org/eclipse/papyrus/uml/nattable/clazz/config/tests/markers/ValidationMarkerInTableHeaderTest.java
index 9da53d967ed..d50ecd79ea2 100644
--- a/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.clazz.config.tests/src/org/eclipse/papyrus/uml/nattable/clazz/config/tests/markers/ValidationMarkerInTableHeaderTest.java
+++ b/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.clazz.config.tests/src/org/eclipse/papyrus/uml/nattable/clazz/config/tests/markers/ValidationMarkerInTableHeaderTest.java
@@ -156,7 +156,7 @@ public class ValidationMarkerInTableHeaderTest extends AbstractPapyrusTest {
// in fact , there is a bug here!
// TODO try to fix this test
// the bad test (which works on all screen size)
- Assert.assertTrue("There are more columns than expected", NB_COLUMNS <= columnCount);
+ Assert.assertTrue("There are more columns than expected", columnCount <= NB_COLUMNS);
// the good test, but the result depends of the screen size (if there is a scrollbar, it doesn't work)
// Assert.assertEquals("The number of columns is not the excpected one", NB_COLUMNS, columnCount); //$NON-NLS-1$

Back to the top