summaryrefslogtreecommitdiff
path: root/test/unit/expr/expr_public.h
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2010-05-04 03:42:56 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2010-05-04 03:42:56 +0000
commit1ce8e28d5976e1ab30099cb9e6943514497d2980 (patch)
tree1a9382fb62b38e3b5768da951b7c684f1b8688e7 /test/unit/expr/expr_public.h
parent69c2d3e702f8ec0bd0eec4a481a07571131aabeb (diff)
Type-checking classes and hooks (not tested yet).
Diffstat (limited to 'test/unit/expr/expr_public.h')
-rw-r--r--test/unit/expr/expr_public.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/test/unit/expr/expr_public.h b/test/unit/expr/expr_public.h
index f40e32ef9..d483a86f4 100644
--- a/test/unit/expr/expr_public.h
+++ b/test/unit/expr/expr_public.h
@@ -258,14 +258,15 @@ public:
TS_ASSERT(a->getType() == d_em->booleanType());
TS_ASSERT(b->getType() == d_em->booleanType());
- TS_ASSERT(c->getType().isNull());
- TS_ASSERT(mult->getType().isNull());
- TS_ASSERT(plus->getType().isNull());
- TS_ASSERT(d->getType().isNull());
- TS_ASSERT(i1->getType().isNull());
- TS_ASSERT(i2->getType().isNull());
- TS_ASSERT(r1->getType().isNull());
- TS_ASSERT(r2->getType().isNull());
+// TODO: Type-checking exceptions
+// TS_ASSERT(c->getType().isNull());
+// TS_ASSERT(mult->getType().isNull());
+// TS_ASSERT(plus->getType().isNull());
+// TS_ASSERT(d->getType().isNull());
+// TS_ASSERT(i1->getType().isNull());
+// TS_ASSERT(i2->getType().isNull());
+// TS_ASSERT(r1->getType().isNull());
+// TS_ASSERT(r2->getType().isNull());
}
void testToString() {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback