T2C Tests

Overview

T2C technology and tools are better suited for development of "normal"-quality (medium-quality) tests. The tests of this kind check main functionality of a system, some of the error conditions may be checked as well. The system under test is usually a library that provides the interfaces (functions) to be tested.

As a result of collaborative work of ISPRAS and the Linux Foundation, the following test suites have been created so far using T2C technology to check several Linux libraries for compliance with the LSB standard:

  • Desktop-t2c - tests for some of the libraries from GTK+ stack as well as FreeType, Fontconfig, etc.
  • Cpp-t2c - tests for C++ runtime library (libstdcxx).
The complete lists of functions covered by the test suites are available in LSB Navigator.

The tests discovered a number of problems in some of the tested functions. Our team reported most of the issues found to the maintainers of the respective libraries. After that, as a result of interaction between our team and the upstream maintainers, some of these problems were finally fixed. See "Results" section for details.

"Desktop-t2c" test suite

The suite contains tests for about 1700 public functions of the following libraries:
  • libatk-1.0
  • libglib-2.0
  • libgmodule-2.0
  • libfontconfig
  • libgthread-2.0
  • libgobject-2.0
  • libgdk_pixbuf-2.0
  • libgdk_pixbuf_xlib-2.0
  • libfreetype
RPM packages with the latest release of this test suite can be found here: ftp://ftp.linux-foundation.org/pub/lsb/snapshots/t2c-desktop-tests/

The source code of the suite is available in "t2c-desktop-tests" repository in Bazaar.

"Cpp-t2c" test suite 

The suite contains tests for more than 300 public functions (mostly class methods) of libstdcxx library (C++ runtime library).

RPM packages with the latest release of this test suite can be found here: ftp://ftp.linux-foundation.org/pub/lsb/snapshots/t2c-cpp-tests/

The source code of the suite is available in "t2c-cpp-tests" repository in Bazaar.