Utils/Console: Add SENF_CONSOLE_REGISTER_ENUM 'key()' support
[senf.git] / senf / PPI / RateAnalyzer.test.cc
index 27caa4d..bcf6e54 100644 (file)
@@ -1,6 +1,6 @@
 // $Id$
 //
-// Copyright (C) 2008 
+// Copyright (C) 2008
 // Fraunhofer Institute for Open Communication Systems (FOKUS)
 // Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
@@ -28,7 +28,9 @@
 
 // Custom includes
 #include "RateAnalyzer.hh"
-#include "PPI.hh"
+#include "CloneSource.hh"
+#include "RateFilter.hh"
+#include "Setup.hh"
 
 #include <senf/Utils/auto_unit_test.hh>
 #include <boost/test/test_tools.hpp>
@@ -38,7 +40,7 @@
 ///////////////////////////////cc.p////////////////////////////////////////
 
 namespace {
-    
+
     unsigned calls (0u);
     float ppss[] = { 13.333333f, 20.f, 13.333333f, 20.f, 13.333333f, 20.f };
 
@@ -58,7 +60,7 @@ namespace {
         if (calls >= sizeof(ppss) / sizeof(ppss[0]))
             senf::scheduler::terminate();
     }
-    
+
     void collectBPS(float bytesPerSecond)
     {
         bps += bytesPerSecond;
@@ -91,7 +93,7 @@ SENF_AUTO_UNIT_TEST(rateAnalyzer)
     senf::ppi::connect(filter, analyzer);
 
     senf::ppi::run();
-    
+
     BOOST_CHECK_EQUAL( calls, 6u );
 
     pps /= calls;