Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndrew Ferguson2008-04-15 10:04:21 -0400
committerAndrew Ferguson2008-04-15 10:04:21 -0400
commit95b0b06cd714b1bac001518c1c0442b031832e35 (patch)
tree79e4df382e1e3696bbe206178b13b8f4e5c06fff /core
parent7f62ac03bf4e8768b2885f744a60cefe0f1f3f4c (diff)
downloadorg.eclipse.cdt-95b0b06cd714b1bac001518c1c0442b031832e35.tar.gz
org.eclipse.cdt-95b0b06cd714b1bac001518c1c0442b031832e35.tar.xz
org.eclipse.cdt-95b0b06cd714b1bac001518c1c0442b031832e35.zip
shorten some binding-helper assertion messages
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2BaseTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2BaseTest.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2BaseTest.java
index 16fd77eb2c9..918b4cafa6f 100644
--- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2BaseTest.java
+++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2BaseTest.java
@@ -441,19 +441,19 @@ public class AST2BaseTest extends BaseTestCase {
public IBinding assertProblem(String section, int len) {
IBinding binding= binding(section, len);
- assertTrue("Binding is not a ProblemBinding for name: "+section, binding instanceof IProblemBinding);
+ assertTrue("Non-ProblemBinding for name: "+section, binding instanceof IProblemBinding);
return binding;
}
public IBinding assertNonProblem(String section, int len) {
IBinding binding= binding(section, len);
- assertTrue("Binding is a ProblemBinding for name: "+section, !(binding instanceof IProblemBinding));
+ assertTrue("ProblemBinding for name: "+section, !(binding instanceof IProblemBinding));
return binding;
}
public <T extends IBinding> T assertNonProblem(String section, int len, Class<T> type, Class... cs) {
IBinding binding= binding(section, len);
- assertTrue("Binding is a ProblemBinding for name: "+section, !(binding instanceof IProblemBinding));
+ assertTrue("ProblemBinding for name: "+section, !(binding instanceof IProblemBinding));
assertInstance(binding, type);
assertInstance(binding, cs);
return type.cast(binding);

Back to the top