Implements ticket:206
authorjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>
Tue, 27 Nov 2007 18:55:56 +0000 (18:55 +0000)
committerjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>
Tue, 27 Nov 2007 18:55:56 +0000 (18:55 +0000)
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7041 221aa14e-8319-0410-a670-987f0aec2ac5

gr-audio-alsa/src/qa_alsa.py
gr-audio-jack/src/qa_jack.py
gr-audio-oss/src/qa_oss.py
gr-audio-osx/src/qa_osx.py
gr-audio-osx/src/test_audio_loop.py
gr-audio-portaudio/src/qa_portaudio.py
gr-audio-windows/src/qa_audio_windows.py

index a5381a29753031187de7e24dd4d67a494a8c15e7..f2a480a50beb8625f9f84c3cb5f9271ff644ec06 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 #
-# Copyright 2005 Free Software Foundation, Inc.
+# Copyright 2005,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
@@ -26,10 +26,10 @@ import audio_alsa
 class qa_alsa (gr_unittest.TestCase):
 
     def setUp (self):
-        self.fg = gr.flow_graph ()
+        self.tb = gr.top_block ()
 
     def tearDown (self):
-        self.fg = None
+        self.tb = None
 
     def test_000_nop (self):
         """Just see if we can import the module...
index 4677b9668b9d7ecb28651cb0e22747f94839699a..d8a3aba88b0f7e18e970620969b3a74749611d74 100755 (executable)
@@ -26,10 +26,10 @@ import audio_jack
 class qa_jack (gr_unittest.TestCase):
 
     def setUp (self):
-        self.fg = gr.flow_graph ()
+        self.tb = gr.top_block ()
 
     def tearDown (self):
-        self.fg = None
+        self.tb = None
 
     def test_000_nop (self):
         """Just see if we can import the module...
index a1f3b4f40c7759a0dd67c46a6a9760af1e36bfa7..5427b50ec3f9932e33ca572a364f7b73edf2fefa 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 #
-# Copyright 2005 Free Software Foundation, Inc.
+# Copyright 2005,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
@@ -26,10 +26,10 @@ import audio_oss
 class qa_oss (gr_unittest.TestCase):
 
     def setUp (self):
-        self.fg = gr.flow_graph ()
+        self.tb = gr.top_block ()
 
     def tearDown (self):
-        self.fg = None
+        self.tb = None
 
     def test_000_nop (self):
         """Just see if we can import the module...
index 094a59e00c8f7e7aefed4aa290e495117c3c968d..385aa0269ca20b0e3088d55a5705d3fe30390655 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 #
-# Copyright 2006 Free Software Foundation, Inc.
+# Copyright 2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio.
 #
@@ -26,10 +26,10 @@ import audio_osx
 class qa_osx (gr_unittest.TestCase):
 
     def setUp (self):
-        self.fg = gr.flow_graph ()
+        self.tb = gr.top_block ()
 
     def tearDown (self):
-        self.fg = None
+        self.tb = None
 
     def test_000_nop (self):
         """Just see if we can import the module...
index 0453ef678d9b1620eae6c49ebee107120d5df3c2..662631dfb275c56b307ac0fcc5beb8eda253fe3e 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 #
-# Copyright 2006 Free Software Foundation, Inc.
+# Copyright 2006,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio.
 # 
@@ -25,10 +25,10 @@ from gnuradio import audio
 from gnuradio.eng_option import eng_option
 from optparse import OptionParser
 
-class my_graph(gr.flow_graph):
+class my_graph(gr.top_block):
 
     def __init__(self):
-        gr.flow_graph.__init__(self)
+        gr.top_block.__init__(self)
 
         parser = OptionParser(option_class=eng_option)
         parser.add_option("-O", "--audio-output",
index 3ba656b5a4d288341e908ca3ebd4fd6ff8d4ac2f..f6a54061ead92be0120444f6ebb1bd0fa8f692c6 100755 (executable)
@@ -26,10 +26,10 @@ import audio_portaudio
 class qa_portaudio (gr_unittest.TestCase):
 
     def setUp (self):
-        self.fg = gr.flow_graph ()
+        self.tb = gr.top_block ()
 
     def tearDown (self):
-        self.fg = None
+        self.tb = None
 
     def test_000_nop (self):
         """Just see if we can import the module...
index 065686ad3f87e053eda6c63c9bafca4bc9438795..0d14535a66ab805e03ecea3722ad34eeb0a64ee5 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 #
-# Copyright 2005 Free Software Foundation, Inc.
+# Copyright 2005,2007 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
@@ -26,10 +26,10 @@ import audio_windows
 class qa_oss (gr_unittest.TestCase):
 
     def setUp (self):
-        self.fg = gr.flow_graph ()
+        self.tb = gr.top_block ()
 
     def tearDown (self):
-        self.fg = None
+        self.tb = None
 
     def test_000_nop (self):
         """Just see if we can import the module...