[PATCH weston v3 0/5] Refactored simple unit/integration test framework and corresponding test program.
Jon A. Cruz
jonc at osg.samsung.com
Tue May 26 16:06:36 PDT 2015
Here is a re-worked version of the patch adding unit testing
framework and corresponding separation. Aside from the
higher-level waycheck program this also updates one of the
existing unit test programs to the new framework.
Jon A. Cruz (5):
Expanded unit test framework to cover base requirements.
By default, stop test execution if unrecognized parameters are
encountered.
Enables output in the Test Anything Protocol (TAP) format.
Enables output in the JUnit XML format.
Converted the config parser test to the new framework.
.gitignore | 3 +
Makefile.am | 104 +-
tests/config-parser-test.c | 368 +++++--
tools/Doxyfile | 318 ++++++
tools/devdocs.doxyfile | 315 ++++++
tools/devtools.dox | 52 +
tools/tools.dox | 29 +
tools/tools_arch_new.gv | 60 ++
tools/tools_arch_old.gv | 28 +
tools/waycheck/moretest.c | 83 ++
tools/waycheck/rough_draw.c | 265 +++++
tools/waycheck/rough_draw.h | 60 ++
tools/waycheck/waycheck.c | 416 ++++++++
tools/waycheck/waycheck.dox | 29 +
tools/wayland_fixtures/inc/wtst_fixtures.h | 230 +++++
tools/wayland_fixtures/src/wtst_fixtures.c | 852 +++++++++++++++
tools/zunitc/doc/zunitc.dox | 138 +++
tools/zunitc/inc/zunitc/zunitc.h | 552 ++++++++++
tools/zunitc/inc/zunitc/zunitc_impl.h | 87 ++
tools/zunitc/src/main.c | 54 +
tools/zunitc/src/zuc_base_logger.c | 382 +++++++
tools/zunitc/src/zuc_base_logger.h | 34 +
tools/zunitc/src/zuc_collector.c | 321 ++++++
tools/zunitc/src/zuc_collector.h | 53 +
tools/zunitc/src/zuc_context.h | 55 +
tools/zunitc/src/zuc_event.h | 81 ++
tools/zunitc/src/zuc_event_listener.h | 167 +++
tools/zunitc/src/zuc_junit_reporter.c | 414 ++++++++
tools/zunitc/src/zuc_junit_reporter.h | 34 +
tools/zunitc/src/zuc_tap_logger.c | 230 +++++
tools/zunitc/src/zuc_tap_logger.h | 35 +
tools/zunitc/src/zuc_types.h | 76 ++
tools/zunitc/src/zunitc_impl.c | 1544 ++++++++++++++++++++++++++++
tools/zunitc/test/fixtures_test.c | 102 ++
tools/zunitc/test/zunitc_test.c | 314 ++++++
35 files changed, 7817 insertions(+), 68 deletions(-)
create mode 100644 tools/Doxyfile
create mode 100644 tools/devdocs.doxyfile
create mode 100644 tools/devtools.dox
create mode 100644 tools/tools.dox
create mode 100644 tools/tools_arch_new.gv
create mode 100644 tools/tools_arch_old.gv
create mode 100644 tools/waycheck/moretest.c
create mode 100644 tools/waycheck/rough_draw.c
create mode 100644 tools/waycheck/rough_draw.h
create mode 100644 tools/waycheck/waycheck.c
create mode 100644 tools/waycheck/waycheck.dox
create mode 100644 tools/wayland_fixtures/inc/wtst_fixtures.h
create mode 100644 tools/wayland_fixtures/src/wtst_fixtures.c
create mode 100644 tools/zunitc/doc/zunitc.dox
create mode 100644 tools/zunitc/inc/zunitc/zunitc.h
create mode 100644 tools/zunitc/inc/zunitc/zunitc_impl.h
create mode 100644 tools/zunitc/src/main.c
create mode 100644 tools/zunitc/src/zuc_base_logger.c
create mode 100644 tools/zunitc/src/zuc_base_logger.h
create mode 100644 tools/zunitc/src/zuc_collector.c
create mode 100644 tools/zunitc/src/zuc_collector.h
create mode 100644 tools/zunitc/src/zuc_context.h
create mode 100644 tools/zunitc/src/zuc_event.h
create mode 100644 tools/zunitc/src/zuc_event_listener.h
create mode 100644 tools/zunitc/src/zuc_junit_reporter.c
create mode 100644 tools/zunitc/src/zuc_junit_reporter.h
create mode 100644 tools/zunitc/src/zuc_tap_logger.c
create mode 100644 tools/zunitc/src/zuc_tap_logger.h
create mode 100644 tools/zunitc/src/zuc_types.h
create mode 100644 tools/zunitc/src/zunitc_impl.c
create mode 100644 tools/zunitc/test/fixtures_test.c
create mode 100644 tools/zunitc/test/zunitc_test.c
--
2.1.0
More information about the wayland-devel
mailing list