Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

caca-test.cpp 754 B

12345678910111213141516171819202122232425
  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://www.wtfpl.net/ for more details.
  11. */
  12. #include "config.h"
  13. #include <cppunit/TextTestRunner.h>
  14. #include <cppunit/extensions/TestFactoryRegistry.h>
  15. int main(int argc, char *argv[])
  16. {
  17. CppUnit::TextTestRunner runner;
  18. runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
  19. return !runner.run();
  20. }