00001 //============================================================================ 00002 // Project: Jabber Universal Document Objects (Judo) 00003 // Filename: judo_test.cpp 00004 // Description: Unit test driver 00005 // Created at: Fri Jun 29 13:13:09 2001 00006 // Modified at: Fri Jul 13 11:21:50 2001 00007 // 00008 // License: 00009 // 00010 // The contents of this file are subject to the Jabber Open Source License 00011 // Version 1.0 (the "License"). You may not copy or use this file, in either 00012 // source code or executable form, except in compliance with the License. You 00013 // may obtain a copy of the License at http://www.jabber.com/license/ or at 00014 // http://www.opensource.org/. 00015 // 00016 // Software distributed under the License is distributed on an "AS IS" basis, 00017 // WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 00018 // for the specific language governing rights and limitations under the 00019 // License. 00020 // 00021 // Copyrights 00022 // 00023 // Portions created by or assigned to Jabber.com, Inc. are 00024 // Copyright (c) 1999-2001 Jabber.com, Inc. All Rights Reserved. 00025 // 00026 // $Id: judo_test.cpp,v 1.2 2002/07/13 19:30:22 temas Exp $ 00027 //============================================================================ 00028 00029 #include "TestRunner.h" 00030 #include "judo_test.hpp" 00031 00032 int main(int argc, char** argv) 00033 { 00034 TestRunner r; 00035 00036 // Load up all our test suites 00037 r.addTest("judo", judo::GlobalsTest::getTestSuite()); 00038 r.addTest("judo::CDATA", judo::CDATATest::getTestSuite()); 00039 r.addTest("judo::Element", judo::ElementTest::getTestSuite()); 00040 r.addTest("judo::ElementStream", judo::ElementStreamTest::getTestSuite()); 00041 00042 // Start processing 00043 r.run(argc, argv); 00044 return 0; 00045 }