diff options
author | Nima Talebi <nima@autonomy.net.au> | 2009-05-23 18:39:30 +1000 |
---|---|---|
committer | Nima Talebi <nima@autonomy.net.au> | 2009-05-23 18:39:30 +1000 |
commit | 717ff3b75bca054a7f14de43a6ef6fc0535d3953 (patch) | |
tree | 0cf51391297472399778b8818e3a983f83a636d5 /unit-tests/demo.h | |
parent | cc76255fecfc9a4168debf1baccd68097d8f7c71 (diff) | |
download | python-dmidecode-717ff3b75bca054a7f14de43a6ef6fc0535d3953.tar.gz python-dmidecode-717ff3b75bca054a7f14de43a6ef6fc0535d3953.tar.xz python-dmidecode-717ff3b75bca054a7f14de43a6ef6fc0535d3953.zip |
Expanding the test case to include the POC demo
The POC demo does not actually do much testing yet, other than just
working or not working - but it's in place now for future
enhancements.
Diffstat (limited to 'unit-tests/demo.h')
-rw-r--r-- | unit-tests/demo.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/unit-tests/demo.h b/unit-tests/demo.h new file mode 100644 index 0000000..21a5468 --- /dev/null +++ b/unit-tests/demo.h @@ -0,0 +1,14 @@ +#include <Python.h> +#include <stdio.h> +#include <string.h> +#include <assert.h> + +#include <libxml/tree.h> +#include "libxml_wrap.h" + +#include "dmixml.h" + +extern PyObject* demo_dump(void); +PyMODINIT_FUNC initdemomodule(void); +PyObject* demo_dump_doc(void); +PyObject* demo_dump_node(void); |