test/parser: Add resource check helpers
authorJeremy Kerr <jk@ozlabs.org>
Wed, 15 May 2013 08:36:34 +0000 (16:36 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 16 May 2013 03:53:34 +0000 (11:53 +0800)
commit31998343c5eb5533ef85b97f5bb2ffe200eb2ad0
tree39dbd6bea7af4df9008163e7be8703548d01e659
parentb391345ddd4d0fb3c3b6a627d834242ca14fed28
test/parser: Add resource check helpers

Add check_resolved_local_resource and check_unresolved_resource to
check the resources returned from parsers.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
test/parser/parser-test.h
test/parser/utils.c