FluteLibRSFECTest.h

Go to the documentation of this file.
00001 /*
00002  *   MAD-FLUTE-UNITTEST: FLUTE unit test.
00003  *   File: FluteLibRSFECTest.h
00004  *   Copyright (c) 2006-2007 M.B.I. www.mbigroup.it
00005  *   main authors/contacts: gmendola@mbigroup.it and lpoderico@mbigroup.it
00006  *
00007  *   This program is free software; you can redistribute it and/or modify
00008  *   it under the terms of the GNU General Public License as published by
00009  *   the Free Software Foundation; either version 2 of the License, or
00010  *   (at your option) any later version.
00011  *
00012  *   This program is distributed in the hope that it will be useful,
00013  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *   GNU General Public License for more details.
00016  *
00017  *   You should have received a copy of the GNU General Public License
00018  *   along with this program; if not, write to the Free Software
00019  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020  */
00021 
00022 #ifndef __FLUTELIBRSFECTEST__
00023 #define __FLUTELIBRSFECTEST__
00024 
00025 #include <cppunit/extensions/HelperMacros.h>
00026 
00027 
00028 class FluteLibRSFECTest : public CPPUNIT_NS::TestFixture
00029 {
00030     CPPUNIT_TEST_SUITE( FluteLibRSFECTest );
00031     CPPUNIT_TEST( testSimpleDirTrasmission );
00032     CPPUNIT_TEST( testShortestDirTransmission );
00033     CPPUNIT_TEST( testHugeDirTransmission );
00034     CPPUNIT_TEST( testSlowDirTransmission );
00035     CPPUNIT_TEST( testFastDirTransmission );
00036     CPPUNIT_TEST( testVeryFastDirTransmission );
00037     CPPUNIT_TEST( testVeryFastTransmissionHugeDir );
00038 
00039     CPPUNIT_TEST( testSimpleTransmission );
00040     CPPUNIT_TEST( testShortestTransmission );
00041     CPPUNIT_TEST( testHugeTransmission );
00042     CPPUNIT_TEST( testSlowTransmission );
00043     CPPUNIT_TEST( testFastTransmission );
00044     CPPUNIT_TEST( testVeryFastTransmission );
00045     CPPUNIT_TEST_SUITE_END();
00046 
00047 public:
00048     void testSimpleTransmission();
00049     void testShortestTransmission();
00050     void testHugeTransmission();
00051     void testSlowTransmission();
00052     void testFastTransmission();
00053     void testVeryFastTransmission();
00054 
00055     void testSimpleDirTrasmission();
00056     void testShortestDirTransmission();
00057     void testHugeDirTransmission();
00058     void testSlowDirTransmission();
00059     void testFastDirTransmission();
00060     void testVeryFastDirTransmission();
00061     void testVeryFastTransmissionHugeDir();
00062 
00063 private:
00064     void performsFilesTest(int aFileSize, int aBitRates, int aRepetition);
00065     void performsDirsTest(std::vector<int> aFileSizes, int aBitRates, int aRepetition);
00066 };
00067 
00068 
00069 #endif //__FLUTELIBTEST__

Generated on Fri Mar 9 19:59:55 2007 for MAD-FCL by  doxygen 1.5.0