source: libcaca/trunk/tests/cucul-test.cpp @ 2301

Last change on this file since 2301 was 2301, checked in by Sam Hocevar, 15 years ago
  • Use CppUnit? for C and C++ unit tests. Sorry, Jylam.
File size: 782 bytes
Line 
1/*
2 *  cucul-test    testsuite program for libcucul
3 *  Copyright (c) 2008 Sam Hocevar <sam@zoy.org>
4 *                All Rights Reserved
5 *
6 *  $Id$
7 *
8 *  This program is free software. It comes without any warranty, to
9 *  the extent permitted by applicable law. You can redistribute it
10 *  and/or modify it under the terms of the Do What The Fuck You Want
11 *  To Public License, Version 2, as published by Sam Hocevar. See
12 *  http://sam.zoy.org/wtfpl/COPYING for more details.
13 */
14
15#include "config.h"
16
17#include <cppunit/TextTestRunner.h>
18#include <cppunit/extensions/TestFactoryRegistry.h>
19
20int main(int argc, char *argv[])
21{
22    CppUnit::TextTestRunner runner;
23    runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
24
25    runner.run();
26
27    return 0;
28}
29
Note: See TracBrowser for help on using the repository browser.