コード例 #1
0
ファイル: main.cpp プロジェクト: eidolonsystems/beam
int main() {
  CPPUNIT_NS::TextUi::TestRunner runner;
  CppUnit::BriefTestProgressListener listener;
  runner.eventManager().addListener(&listener);
  runner.setOutputter(new CPPUNIT_NS::CompilerOutputter(&runner.result(),
    CPPUNIT_NS::stdCOut()));
  bool wasSucessful = runner.run();
  return wasSucessful ? 0 : 1;
}
コード例 #2
0
ファイル: main.cpp プロジェクト: eidolonsystems/beam
int main() {
  CPPUNIT_NS::TextUi::TestRunner runner;
  CppUnit::BriefTestProgressListener listener;
  runner.addTest(ServiceLocatorServletTester::suite());
  runner.addTest(ServiceLocatorClientTester::suite());
  runner.addTest(AuthenticationServletAdapterTester::suite());
  runner.eventManager().addListener(&listener);
  runner.setOutputter(new CPPUNIT_NS::CompilerOutputter(&runner.result(),
    CPPUNIT_NS::stdCOut()));
  bool wasSucessful = runner.run();
  return wasSucessful ? 0 : 1;
}
コード例 #3
0
ファイル: main.cpp プロジェクト: eidolonsystems/beam
int main() {
  CPPUNIT_NS::TextUi::TestRunner runner;
  CppUnit::BriefTestProgressListener listener;
  runner.addTest(MessageProtocolTester::suite());
  runner.addTest(ServiceProtocolClientTester::suite());
  runner.addTest(ServiceProtocolServerTester::suite());
  runner.addTest(ServiceProtocolServletContainerTester::suite());
  runner.eventManager().addListener(&listener);
  runner.setOutputter(new CPPUNIT_NS::CompilerOutputter(&runner.result(),
    CPPUNIT_NS::stdCOut()));
  bool wasSucessful = runner.run();
  return wasSucessful ? 0 : 1;
}
コード例 #4
0
ファイル: main.cpp プロジェクト: eidolonsystems/beam
int main() {
  CPPUNIT_NS::TextUi::TestRunner runner;
  CppUnit::BriefTestProgressListener listener;
  runner.addTest(CodedReaderTester::suite());
  runner.addTest(CodedWriterTester::suite());
  runner.addTest(NullDecoderTester::suite());
  runner.addTest(NullEncoderTester::suite());
  runner.addTest(SizeDeclarativeDecoderTester::suite());
  runner.addTest(SizeDeclarativeEncoderTester::suite());
  runner.eventManager().addListener(&listener);
  runner.setOutputter(new CPPUNIT_NS::CompilerOutputter(&runner.result(),
    CPPUNIT_NS::stdCOut()));
  bool wasSucessful = runner.run();
  return wasSucessful ? 0 : 1;
}
コード例 #5
0
ファイル: main.cpp プロジェクト: eidolonsystems/beam
int main() {
  CPPUNIT_NS::TextUi::TestRunner runner;
  CppUnit::BriefTestProgressListener listener;
  runner.addTest(SequenceTester::suite());
  runner.addTest(SequencedValueTester::suite());
  runner.addTest(IndexedValueTester::suite());
  runner.addTest(SnapshotLimitTester::suite());
  runner.addTest(RangeTester::suite());
  runner.addTest(RangedQueryTester::suite());
  runner.addTest(SnapshotLimitedQueryTester::suite());
  runner.addTest(InterruptableQueryTester::suite());
  runner.addTest(IndexedQueryTester::suite());
  runner.addTest(NativeDataTypeTester::suite());
  runner.addTest(NativeValueTester::suite());
  runner.addTest(ConstantExpressionTester::suite());
  runner.addTest(FilteredQueryTester::suite());
  runner.addTest(ConstantEvaluatorNodeTester::suite());
  runner.addTest(ParameterExpressionTester::suite());
  runner.addTest(ParameterEvaluatorNodeTester::suite());
  runner.addTest(EvaluatorTester::suite());
  runner.addTest(FunctionExpressionTester::suite());
  runner.addTest(FunctionEvaluatorNodeTester::suite());
  runner.addTest(ConversionEvaluatorNodeTester::suite());
  runner.addTest(MemberAccessExpressionTester::suite());
  runner.addTest(MemberAccessEvaluatorNodeTester::suite());
  runner.addTest(OrExpressionTester::suite());
  runner.addTest(OrEvaluatorNodeTester::suite());
  runner.addTest(ReduceExpressionTester::suite());
  runner.addTest(ReduceEvaluatorNodeTester::suite());
  runner.addTest(SequencedValuePublisherTester::suite());
  runner.addTest(SubscriptionsTester::suite());
  runner.addTest(LocalDataStoreTester::suite());
  runner.addTest(BufferedDataStoreTester::suite());
  runner.addTest(CachedDataStoreTester::suite());
  runner.addTest(SessionCachedDataStoreTester::suite());
  runner.addTest(ExpressionSubscriptionsTester::suite());
  runner.eventManager().addListener(&listener);
  runner.setOutputter(new CPPUNIT_NS::CompilerOutputter(&runner.result(),
    CPPUNIT_NS::stdCOut()));
  bool wasSucessful = runner.run();
  return wasSucessful ? 0 : -1;
}
コード例 #6
0
ファイル: main.cpp プロジェクト: BackupTheBerlios/mutabor
int 
main(int argc, char** argv)
{
	wxApp::CheckBuildOptions(WX_BUILD_OPTIONS_SIGNATURE, "program");
	
	wxInitializer initializer;
	if ( !initializer )
	{
		fprintf(stderr, "Failed to initialize the wxWidgets library, aborting.");
		return -1;
	}


	// We are using .png files for some extra bitmaps.
	wxImageHandler * pnghandler = new wxPNGHandler;
	wxImage::AddHandler(pnghandler);
	wxImage::AddHandler(new wxGIFHandler);

	mutaborGUI::initMutIconShapes();
	mutaborGUI::InitGUIRouteFactories();


	

#ifdef _GLIBCXX_DEBUG
	std::clog << "In case of segmentation faults assure that cppunit is compiled using -D_GLIBCXX_DEBUG" << std::endl;
#endif

	CPPUNIT_NS::TextUi::TestRunner runner;
	
	CppUnit::BriefTestProgressListener listener; 
	runner.eventManager().addListener(&listener);

	runner.addTest( MkIDlist::suite() );
	
	bool wasSuccessful = runner.run();

	return wasSuccessful ? 0 : 1;
}