xml_file_load.h

00001 /***************************************************************************
00002 *   Copyright (C) 2001 by Rick L. Vinyard, Jr.                            *
00003 *   rvinyard@cs.nmsu.edu                                                  *
00004 *                                                                         *
00005 *   This program is free software; you can redistribute it and/or modify  *
00006 *   it under the terms of the GNU Lesser General Public License as        *
00007 *   published by the Free Software Foundation version 2.1.                *
00008 *                                                                         *
00009 *   This program is distributed in the hope that it will be useful,       *
00010 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00011 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00012 *   GNU General Public License for more details.                          *
00013 *                                                                         *
00014 *   You should have received a copy of the GNU Lesser General Public      *
00015 *   License along with this library; if not, write to the                 *
00016 *   Free Software Foundation, Inc.,                                       *
00017 *   51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA              *
00018 ***************************************************************************/
00019 #ifndef XMLFILELOADTEST_H
00020 #define XMLFILELOADTEST_H
00021 
00022 #include <cppunit/TestFixture.h>
00023 
00024 using namespace bit;
00025 
00026 class XMLFileLoad : public  CppUnit::TestFixture {
00027   public:
00028 
00029     CPPUNIT_TEST_SUITE( XMLFileLoad );
00030     CPPUNIT_TEST( xml_file_as_string );
00031     CPPUNIT_TEST_SUITE_END();
00032 
00033   public:
00034     void setUp() { }
00035 
00036     void tearDown() { }
00037 
00038     void xml_file_as_string() {
00039 //       std::string xmlstring = get_xml_file_as_string("../xml/simple.xml");
00040 //       CPPUNIT_ASSERT( xmlstring == "<?xml version=\"1.0\" ?><!DOCTYPE record SYSTEM \"record-0.1.dtd\" ><record name=\"Simple\" units=\"bits\"/>\n" );
00041     }
00042 
00043 };
00044 
00045 #endif

Generated on Tue Mar 13 20:00:01 2007 by  doxygen 1.5.1