diff options
author | Vincent Lorenzo | 2016-01-12 13:38:42 +0000 |
---|---|---|
committer | Vincent Lorenzo | 2016-01-12 13:41:12 +0000 |
commit | ba62234c9f837b505785e8f220652cd26bb38da5 (patch) | |
tree | 0a862c54b0a04e4ce427ac21572fe8565cd29173 | |
parent | 7c5f20d4e792268fd347757e72f0e06f951a8884 (diff) | |
download | org.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.java | 2 |
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$ |