File: TestOgreView.cpp

package info (click to toggle)
ember 0.6.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 21,372 kB
  • sloc: cpp: 106,397; sh: 10,156; xml: 1,473; makefile: 915; ansic: 530; objc: 245
file content (19 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>

#include "ConvertTestCase.h"
#include "ModelMountTestCase.h"

CPPUNIT_TEST_SUITE_REGISTRATION( Ember::ConvertTestCase);
CPPUNIT_TEST_SUITE_REGISTRATION( Ember::ModelMountTestCase );

int main(int argc, char **argv)
{
	CppUnit::TextUi::TestRunner runner;
	CppUnit::TestFactoryRegistry &registry = CppUnit::TestFactoryRegistry::getRegistry();
	runner.addTest(registry.makeTest());

	bool wasSuccessful = runner.run("", false);
	return !wasSuccessful;
}