diff options
author | Bo Yang <struggleyb.nku@gmail.com> | 2009-08-14 04:40:53 +0000 |
---|---|---|
committer | Bo Yang <struggleyb.nku@gmail.com> | 2009-08-14 04:40:53 +0000 |
commit | 6ec0dc62d48de4d58cc6ea2993a3450390615c3b (patch) | |
tree | a837274b0ab3d3ba129868fb2352643a475e13be /test/testutils/domtsasserts.c | |
parent | 0f44b5a8c07581232de4c676a00148c6b283c1c1 (diff) | |
download | libdom-6ec0dc62d48de4d58cc6ea2993a3450390615c3b.tar.gz libdom-6ec0dc62d48de4d58cc6ea2993a3450390615c3b.tar.bz2 |
1. Find there are indeed two testcases for Events module, so I add support for them.
2. Change DOMTSHandler to deal with more exceptions and types
3. Add a new test assertion.
svn path=/trunk/dom/; revision=9280
Diffstat (limited to 'test/testutils/domtsasserts.c')
-rw-r--r-- | test/testutils/domtsasserts.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/testutils/domtsasserts.c b/test/testutils/domtsasserts.c index affa881..731e19d 100644 --- a/test/testutils/domtsasserts.c +++ b/test/testutils/domtsasserts.c @@ -64,6 +64,13 @@ bool is_equals_int(int excepted, int actual, bool dummy) return excepted == actual; } +bool is_equals_bool(bool excepted, bool actual, bool dummy) +{ + UNUSED(dummy); + + return excepted == actual; +} + bool is_equals_unsigned_long(unsigned long excepted, unsigned long actual, bool dummy) { UNUSED(dummy); |