Add the framework for a test suite
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 10 Jun 2010 14:19:50 +0000 (07:19 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Fri, 3 Sep 2010 14:49:10 +0000 (07:49 -0700)
commit2dc9aee089f3550f8eda1da00a70bf3b911fc25b
treebaa377166073c5fd9fc1711dcc8b837c206d640e
parent8bdce4231224a0b1b3187b6cbe627705c036e6ef
Add the framework for a test suite

Add the framework for a test suite for the Telepathy backend, including
a dummy account manager, account and connection, to allow complete control
over the personas created in libfolks.

This comes with a test case framework which wraps the GLib test framework,
used by a test case which tests that all expected individuals are exposed by
the individual aggregator.

Heavily based on work by Travis Reitter <travis.reitter@collabora.co.uk>.
25 files changed:
Makefile.am
configure.ac
tests/Makefile.am [new file with mode: 0644]
tests/lib/Makefile.am [new file with mode: 0644]
tests/lib/telepathy/Makefile.am [new file with mode: 0644]
tests/lib/telepathy/contactlist/Makefile.am [new file with mode: 0644]
tests/lib/telepathy/contactlist/account-manager.c [new file with mode: 0644]
tests/lib/telepathy/contactlist/account-manager.h [new file with mode: 0644]
tests/lib/telepathy/contactlist/account.c [new file with mode: 0644]
tests/lib/telepathy/contactlist/account.h [new file with mode: 0644]
tests/lib/telepathy/contactlist/conn.c [new file with mode: 0644]
tests/lib/telepathy/contactlist/conn.h [new file with mode: 0644]
tests/lib/telepathy/contactlist/contact-list-manager.c [new file with mode: 0644]
tests/lib/telepathy/contactlist/contact-list-manager.h [new file with mode: 0644]
tests/lib/telepathy/contactlist/contact-list.c [new file with mode: 0644]
tests/lib/telepathy/contactlist/contact-list.h [new file with mode: 0644]
tests/lib/telepathy/contactlist/manager-file.py [new file with mode: 0755]
tests/lib/telepathy/contactlist/session.conf.in [new file with mode: 0644]
tests/lib/telepathy/contactlist/tp-test-contactlist.deps [new file with mode: 0644]
tests/lib/telepathy/contactlist/tp-test-contactlist.h [new file with mode: 0644]
tests/telepathy/Makefile.am [new file with mode: 0644]
tests/telepathy/contact-retrieval.vala [new file with mode: 0644]
tests/telepathy/test-case.vala [new file with mode: 0644]
tests/tools/with-session-bus.sh [new file with mode: 0755]
tools/manager-file.py [new file with mode: 0755]