T2C Tests

Overview

[url=/t2c]T2C technology and tools[/url] 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 [url=http://www.ispras.ru/en/]ISPRAS[/url] and [url=http://www.linuxfoundation.org/]the Linux Foundation[/url], 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 [url=http://dev.linuxfoundation.org/navigator/coverage/cov3.php]LSB Navigator[/url].

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 [url=/results/impl_reports]"Results" section[/url] 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: [url=ftp://ftp.linux-foundation.org/pub/lsb/snapshots/t2c-desktop-tests/]ftp://ftp.linux-foundation.org/pub/lsb/snapshots/t2c-desktop-tests/[/url]

The source code of the suite is available in [url=http://bzr.linux-foundation.org/lsb/devel/t2c-desktop-tests/]"t2c-desktop-tests" repository in Bazaar[/url].

"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: [url=ftp://ftp.linux-foundation.org/pub/lsb/snapshots/t2c-cpp-tests/]ftp://ftp.linux-foundation.org/pub/lsb/snapshots/t2c-cpp-tests/[/url]

The source code of the suite is available in [url=http://bzr.linux-foundation.org/lsb/devel/t2c-cpp-tests/]"t2c-cpp-tests" repository in Bazaar[/url].