removed some useless spaces; not very important, I know :)
[senf.git] / PPI / Connectors.test.cc
index 9a8b93b..8202b3b 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
-// Copyright (C) 2007 
-// Fraunhofer Institute for Open Communication Systems (FOKUS) 
-// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+// Copyright (C) 2007
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
@@ -158,17 +158,17 @@ BOOST_AUTO_UNIT_TEST(outputConnector)
 
 namespace {
 
-    class GenericPassiveInputTest
+    class PassiveInputTest
         : public ppi::module::Module
     {
-        SENF_PPI_MODULE(GenericPassiveInputTest);
+        SENF_PPI_MODULE(PassiveInputTest);
 
     public:
-        ppi::connector::GenericPassiveInput input;
+        ppi::connector::PassiveInput<> input;
 
-        GenericPassiveInputTest() : counter() {
+        PassiveInputTest() : counter() {
             noroute(input);
-            input.onRequest(&GenericPassiveInputTest::request);
+            input.onRequest(&PassiveInputTest::request);
         }
 
         void request() {
@@ -182,7 +182,7 @@ namespace {
 BOOST_AUTO_UNIT_TEST(passiveInput)
 {
     debug::ActiveSource source;
-    GenericPassiveInputTest target;
+    PassiveInputTest target;
 
     ppi::connect(source,target);
     ppi::init();