This patch adds unit test support, via the googletest
framework, to libcgroup.  I created a handful of unit tests
for the internal function cg_build_path() to provide a few
usage examples.

Tom Hromatka (1):
  tests: Add googletest framework

 .gitignore                 |   1 +
 .gitmodules                |   4 ++
 Makefile.am                |   3 +-
 configure.in               |   6 ++-
 googletest                 |   1 +
 gtests/.gitignore          |   6 +++
 gtests/001-path.cpp        | 114 +++++++++++++++++++++++++++++++++++++++
 gtests/Makefile.am         |  25 +++++++++
 gtests/gtest.cpp           |  14 +++++
 src/Makefile.am            |   6 ++-
 src/libcgroup_unittest.map | 130 +++++++++++++++++++++++++++++++++++++++++++++
 11 files changed, 307 insertions(+), 3 deletions(-)
 create mode 100644 .gitmodules
 create mode 160000 googletest
 create mode 100644 gtests/.gitignore
 create mode 100644 gtests/001-path.cpp
 create mode 100644 gtests/Makefile.am
 create mode 100644 gtests/gtest.cpp
 create mode 100644 src/libcgroup_unittest.map

-- 
1.8.3.1



_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to