X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tmf%2Forg.eclipse.tracecompass.tmf.ui.swtbot.tests%2Fshared%2Forg%2Feclipse%2Ftracecompass%2Ftmf%2Fui%2Fswtbot%2Ftests%2Fshared%2FConditionHelpers.java;fp=tmf%2Forg.eclipse.tracecompass.tmf.ui.swtbot.tests%2Fshared%2Forg%2Feclipse%2Ftracecompass%2Ftmf%2Fui%2Fswtbot%2Ftests%2Fshared%2FConditionHelpers.java;h=aa58f69fbfea8e74ffaabb75239412808083ac3c;hb=ff578d8e2572ff02f84b79fc89fabefc3e350247;hp=c1ecf95e428ac0d1ad9223fae29aea72e4ca820d;hpb=43439230e2184842a9d75552a2e944beb181c267;p=deliverable%2Ftracecompass.git diff --git a/tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/shared/org/eclipse/tracecompass/tmf/ui/swtbot/tests/shared/ConditionHelpers.java b/tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/shared/org/eclipse/tracecompass/tmf/ui/swtbot/tests/shared/ConditionHelpers.java index c1ecf95e42..aa58f69fbf 100644 --- a/tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/shared/org/eclipse/tracecompass/tmf/ui/swtbot/tests/shared/ConditionHelpers.java +++ b/tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/shared/org/eclipse/tracecompass/tmf/ui/swtbot/tests/shared/ConditionHelpers.java @@ -309,6 +309,15 @@ public final class ConditionHelpers { } return false; } + + @Override + public String getFailureMessage() { + String cell = table.cell(row, column); + if (cell == null) { + return NLS.bind("Cell absent, expected: {0}", content); + } + return NLS.bind("Cell content: {0} expected: {1}", cell, content); + } }; }