commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r5080 - gnuradio/branches/developers/gnychis/inband/us


From: gnychis
Subject: [Commit-gnuradio] r5080 - gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband
Date: Sun, 22 Apr 2007 21:50:44 -0600 (MDT)

Author: gnychis
Date: 2007-04-22 21:50:44 -0600 (Sun, 22 Apr 2007)
New Revision: 5080

Added:
   
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.cc
   
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.h
Modified:
   gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/Makefile.am
   gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband.cc
   
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_packet_prims.h
Log:
Adding in the layout of the usrp server tests

trying to solve unknown protocol class problem


Modified: 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/Makefile.am
===================================================================
--- 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/Makefile.am    
    2007-04-22 23:35:34 UTC (rev 5079)
+++ 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/Makefile.am    
    2007-04-23 03:50:44 UTC (rev 5080)
@@ -40,7 +40,7 @@
 
 libinband_la_SOURCES =                 \
        $(BUILT_SOURCES)                \
-       usrp_server.cc                  
+       usrp_server.cc
 
 libinband_la_LIBADD =                  \
        $(MBLOCK_LA)                    \
@@ -53,13 +53,15 @@
 
 noinst_HEADERS =      \
        qa_inband.h                                     \
-       qa_inband_packet_prims.h
+       qa_inband_packet_prims.h        \
+       qa_inband_usrp_server.h
 
 # Build the qa code in its own library
 
 libinband_qa_la_SOURCES =   \
        qa_inband.cc                                                    \
-       qa_inband_packet_prims.cc       
+       qa_inband_packet_prims.cc       \
+       qa_inband_usrp_server.cc
 
 # magic flags
 libinband_qa_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version

Modified: 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband.cc
===================================================================
--- 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband.cc   
    2007-04-22 23:35:34 UTC (rev 5079)
+++ 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband.cc   
    2007-04-23 03:50:44 UTC (rev 5080)
@@ -21,6 +21,7 @@
 
 #include <qa_inband.h>
 #include <qa_inband_packet_prims.h>
+#include <qa_inband_usrp_server.h>
 
 CppUnit::TestSuite *
 qa_inband::suite()
@@ -28,6 +29,7 @@
   CppUnit::TestSuite   *s = new CppUnit::TestSuite("inband");
 
   s->addTest (qa_inband_packet_prims::suite());
+  s->addTest (qa_inband_usrp_server::suite());
 
   return s;
 }

Modified: 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_packet_prims.h
===================================================================
--- 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_packet_prims.h
   2007-04-22 23:35:34 UTC (rev 5079)
+++ 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_packet_prims.h
   2007-04-23 03:50:44 UTC (rev 5080)
@@ -38,4 +38,4 @@
 
 };
 
-#endif /* INCLUDED_QA_INBAND_USB_HEADERS_H */
+#endif /* INCLUDED_QA_INBAND_PACKET_PRIMS_H */

Added: 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.cc
===================================================================
--- 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.cc
                           (rev 0)
+++ 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.cc
   2007-04-23 03:50:44 UTC (rev 5080)
@@ -0,0 +1,51 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2007 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <qa_inband_usrp_server.h>
+#include <cppunit/TestAssert.h>
+#include <stdio.h>
+#include <usrp_server.h>
+#include <mb_mblock.h>
+#include <mb_runtime.h>
+#include <mb_protocol_class.h>
+#include <mb_class_registry.h>
+
+
+void 
+qa_inband_usrp_server::test_chan_allocation()
+{
+
+  mb_runtime_sptr rts = mb_make_runtime();
+  mb_runtime *rt = rts.get();
+
+  mb_mblock_sptr server = mb_mblock_sptr(new usrp_server(rt, "usrp-server", 
PMT_F));
+
+}
+
+void
+qa_inband_usrp_server::test_fragmentation()
+{
+  
+}


Property changes on: 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.cc
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.h
===================================================================
--- 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.h
                            (rev 0)
+++ 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.h
    2007-04-23 03:50:44 UTC (rev 5080)
@@ -0,0 +1,40 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2007 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef QA_INBAND_USRP_SERVER_H
+#define QA_INBAND_USRP_SERVER_H
+
+#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestCase.h>
+
+class qa_inband_usrp_server : public CppUnit::TestCase {
+
+  CPPUNIT_TEST_SUITE(qa_inband_usrp_server);
+  CPPUNIT_TEST(test_chan_allocation);
+  CPPUNIT_TEST(test_fragmentation);
+  CPPUNIT_TEST_SUITE_END();
+
+ private:
+  void test_chan_allocation();
+  void test_fragmentation();
+};
+
+#endif /* INCLUDED_QA_INBAND_USRP_SERVER_H */


Property changes on: 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.h
___________________________________________________________________
Name: svn:eol-style
   + native





reply via email to

[Prev in Thread] Current Thread [Next in Thread]