~ubuntu-branches/ubuntu/raring/libcaca/raring

« back to all changes in this revision

Viewing changes to test/caca-test.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hocevar
  • Date: 2010-02-08 01:40:59 UTC
  • mfrom: (1.1.8 upstream) (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100208014059-9q4av8pze8p7uw3i
Tags: 0.99.beta17-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  caca-test     testsuite program for libcaca
 
3
 *  Copyright (c) 2008 Sam Hocevar <samhocevar.net>
 
4
 *                All Rights Reserved
 
5
 *
 
6
 *  This program is free software. It comes without any warranty, to
 
7
 *  the extent permitted by applicable law. You can redistribute it
 
8
 *  and/or modify it under the terms of the Do What The Fuck You Want
 
9
 *  To Public License, Version 2, as published by Sam Hocevar. See
 
10
 *  http://sam.zoy.org/wtfpl/COPYING for more details.
 
11
 */
 
12
 
 
13
#include "config.h"
 
14
 
 
15
#include <cppunit/TextTestRunner.h>
 
16
#include <cppunit/extensions/TestFactoryRegistry.h>
 
17
 
 
18
int main(int argc, char *argv[])
 
19
{
 
20
    CppUnit::TextTestRunner runner;
 
21
    runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
 
22
 
 
23
    return !runner.run();
 
24
}
 
25