projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fe2a48
)
test: Add extremely rudimentary include path test
author
Daniel Stone
<daniel@fooishbar.org>
Fri, 3 Aug 2012 01:34:53 +0000
(
03:34
+0200)
committer
Daniel Stone
<daniel@fooishbar.org>
Wed, 8 Aug 2012 14:23:30 +0000
(16:23 +0200)
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
test/context.c
patch
|
blob
|
history
diff --git
a/test/context.c
b/test/context.c
index
f3ca783
..
d6acd05
100644
(file)
--- a/
test/context.c
+++ b/
test/context.c
@@
-35,7
+35,9
@@
main(void)
assert(context);
- /* FIXME: Test include path stuff. */
+ assert(xkb_context_num_include_paths(context) == 1);
+ assert(!xkb_context_include_path_append(context, "¡NONSENSE!"));
+ assert(xkb_context_num_include_paths(context) == 1);
xkb_context_unref(context);