summaryrefslogtreecommitdiff
path: root/tests/test_util.h
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2015-07-31 21:50:33 -0700
committerJosh Haberman <jhaberman@gmail.com>2015-07-31 21:50:33 -0700
commitfe427341f29a31656e247ef528adbab5ad786c9e (patch)
tree14cdd5fdb83c81f6c378b30de134fb767b136c0f /tests/test_util.h
parent9c788b116e9a3ba6d774f39025a0f89e77598d44 (diff)
Decoder fix: skipped data at end of submessage.
Diffstat (limited to 'tests/test_util.h')
-rw-r--r--tests/test_util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_util.h b/tests/test_util.h
index d2d30a4..eafee64 100644
--- a/tests/test_util.h
+++ b/tests/test_util.h
@@ -53,10 +53,16 @@ class VerboseParserEnvironment {
bool Start() {
+ if (verbose_) {
+ fprintf(stderr, "Calling start()\n");
+ }
return sink_->Start(len_, &subc_);
}
bool End() {
+ if (verbose_) {
+ fprintf(stderr, "Calling end()\n");
+ }
return sink_->End();
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback