[PATCH 0/7 v3] RFC: Unit tests
- From: Simón Pena <spenap gmail com>
- To: grilo-list gnome org
- Subject: [PATCH 0/7 v3] RFC: Unit tests
- Date: Tue, 28 Sep 2010 18:28:25 +0200
Hi,
I've applied Víctor's corrections to the patches and rebased
accordingly.
Best regards,
Simon
Simón Pena (7):
core: Moved tests infrastructure to /tests
core: Updated infrastructure to support python tests
tests: Command line arguments can be passed to testrunner
tests: Tested the PluginRegistry class using GI
tests: Tested the PluginMedia class using GI
tests: Tested the MetadataSource class using GI
tests: Removed setUp/tearDown code in python tests
Makefile.am | 2 +-
configure.ac | 4 +-
src/Makefile.am | 2 -
src/tests/.gitignore | 1 -
src/tests/Makefile.am | 63 -------------
src/tests/registry.c | 150 -------------------------------
tests/.gitignore | 1 +
tests/Makefile.am | 67 ++++++++++++++
tests/python/Makefile.am | 25 +++++
tests/python/constants.py | 50 ++++++++++
tests/python/test_metadata_source.py | 94 +++++++++++++++++++
tests/python/test_plugin.py | 72 +++++++++++++++
tests/python/test_registry.py | 164 ++++++++++++++++++++++++++++++++++
tests/python/testrunner.py | 28 ++++++
tests/python/util.py.in | 9 ++
tests/registry.c | 149 ++++++++++++++++++++++++++++++
16 files changed, 663 insertions(+), 218 deletions(-)
delete mode 100644 src/tests/.gitignore
delete mode 100644 src/tests/Makefile.am
delete mode 100644 src/tests/registry.c
create mode 100644 tests/.gitignore
create mode 100644 tests/Makefile.am
create mode 100644 tests/python/Makefile.am
create mode 100644 tests/python/constants.py
create mode 100644 tests/python/test_metadata_source.py
create mode 100644 tests/python/test_plugin.py
create mode 100644 tests/python/test_registry.py
create mode 100755 tests/python/testrunner.py
create mode 100644 tests/python/util.py.in
create mode 100644 tests/registry.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]