[asterisk-commits] mjordan: testsuite/asterisk/trunk r2243 - in /asterisk/trunk/tests: fax/gatew...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 14 20:05:56 CDT 2011


Author: mjordan
Date: Wed Sep 14 20:05:55 2011
New Revision: 2243

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2243
Log:
Updated fax tests to treat reactor_timeout as member rather than static

Modified:
    asterisk/trunk/tests/fax/gateway_g711_t38/run-test
    asterisk/trunk/tests/fax/gateway_mix1/run-test
    asterisk/trunk/tests/fax/gateway_mix2/run-test
    asterisk/trunk/tests/fax/gateway_mix3/run-test
    asterisk/trunk/tests/fax/gateway_mix4/run-test
    asterisk/trunk/tests/fax/gateway_native_t38/run-test
    asterisk/trunk/tests/fax/gateway_native_t38_ced/run-test
    asterisk/trunk/tests/fax/gateway_no_t38/run-test
    asterisk/trunk/tests/fax/gateway_t38_g711/run-test
    asterisk/trunk/tests/fax/gateway_timeout1/run-test
    asterisk/trunk/tests/fax/gateway_timeout3/run-test
    asterisk/trunk/tests/fax/gateway_timeout4/run-test
    asterisk/trunk/tests/fax/gateway_timeout5/run-test
    asterisk/trunk/tests/udptl/run-test

Modified: asterisk/trunk/tests/fax/gateway_g711_t38/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_g711_t38/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_g711_t38/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_g711_t38/run-test Wed Sep 14 20:05:55 2011
@@ -22,10 +22,10 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 120
 
    def __init__(self):
       TestCase.__init__(self)
+      self.reactor_timeout = 120
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location

Modified: asterisk/trunk/tests/fax/gateway_mix1/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_mix1/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_mix1/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_mix1/run-test Wed Sep 14 20:05:55 2011
@@ -22,10 +22,10 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 120
 
    def __init__(self):
       TestCase.__init__(self)
+      self.reactor_timeout = 120
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location

Modified: asterisk/trunk/tests/fax/gateway_mix2/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_mix2/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_mix2/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_mix2/run-test Wed Sep 14 20:05:55 2011
@@ -22,10 +22,10 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 120
 
    def __init__(self):
       TestCase.__init__(self)
+      self.reactor_timeout = 120
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location

Modified: asterisk/trunk/tests/fax/gateway_mix3/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_mix3/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_mix3/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_mix3/run-test Wed Sep 14 20:05:55 2011
@@ -22,10 +22,10 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 120
 
    def __init__(self):
       TestCase.__init__(self)
+      self.reactor_timeout = 120
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location

Modified: asterisk/trunk/tests/fax/gateway_mix4/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_mix4/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_mix4/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_mix4/run-test Wed Sep 14 20:05:55 2011
@@ -22,10 +22,10 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 120
 
    def __init__(self):
       TestCase.__init__(self)
+      self.reactor_timeout = 120
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location

Modified: asterisk/trunk/tests/fax/gateway_native_t38/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_native_t38/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_native_t38/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_native_t38/run-test Wed Sep 14 20:05:55 2011
@@ -22,10 +22,10 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 120
 
    def __init__(self):
       TestCase.__init__(self)
+      self.reactor_timeout = 120      
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location

Modified: asterisk/trunk/tests/fax/gateway_native_t38_ced/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_native_t38_ced/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_native_t38_ced/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_native_t38_ced/run-test Wed Sep 14 20:05:55 2011
@@ -22,10 +22,10 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 120
 
    def __init__(self):
       TestCase.__init__(self)
+      self.reactor_timeout = 120
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location

Modified: asterisk/trunk/tests/fax/gateway_no_t38/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_no_t38/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_no_t38/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_no_t38/run-test Wed Sep 14 20:05:55 2011
@@ -22,11 +22,11 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 120
 
    def __init__(self):
       TestCase.__init__(self)
       self.create_asterisk(2)
+      self.reactor_timeout = 120
 
       # copy the tiff file we are going to send to a good known location
       shutil.copy("%s/send.tiff" % (os.path.dirname(os.path.realpath(__file__)),), "%s%s" % (self.ast[0].base, self.ast[0].directories['astdatadir']))

Modified: asterisk/trunk/tests/fax/gateway_t38_g711/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_t38_g711/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_t38_g711/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_t38_g711/run-test Wed Sep 14 20:05:55 2011
@@ -22,10 +22,10 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 120
 
    def __init__(self):
       TestCase.__init__(self)
+      self.reactor_timeout = 120
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location

Modified: asterisk/trunk/tests/fax/gateway_timeout1/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_timeout1/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_timeout1/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_timeout1/run-test Wed Sep 14 20:05:55 2011
@@ -22,10 +22,10 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 120
 
    def __init__(self):
       TestCase.__init__(self)
+      self.reactor_timeout = 120
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location

Modified: asterisk/trunk/tests/fax/gateway_timeout3/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_timeout3/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_timeout3/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_timeout3/run-test Wed Sep 14 20:05:55 2011
@@ -22,10 +22,11 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 360
+
 
    def __init__(self):
       TestCase.__init__(self)
+      self.reactor_timeout = 360
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location

Modified: asterisk/trunk/tests/fax/gateway_timeout4/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_timeout4/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_timeout4/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_timeout4/run-test Wed Sep 14 20:05:55 2011
@@ -22,10 +22,10 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 360
 
    def __init__(self):
       TestCase.__init__(self)
+      self.reactor_timeout = 360      
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location

Modified: asterisk/trunk/tests/fax/gateway_timeout5/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_timeout5/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/fax/gateway_timeout5/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_timeout5/run-test Wed Sep 14 20:05:55 2011
@@ -22,10 +22,10 @@
 class GatewayTest(TestCase):
    event_count = 0
    success_count = 0
-   reactor_timeout = 360
 
    def __init__(self):
       TestCase.__init__(self)
+      self.reactor_timeout = 360      
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location

Modified: asterisk/trunk/tests/udptl/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/udptl/run-test?view=diff&rev=2243&r1=2242&r2=2243
==============================================================================
--- asterisk/trunk/tests/udptl/run-test (original)
+++ asterisk/trunk/tests/udptl/run-test Wed Sep 14 20:05:55 2011
@@ -16,9 +16,9 @@
 
 class UdptlTest(TestCase):
     def __init__(self):
+        TestCase.__init__(self)
+
         self.reactor_timeout = 60
-
-        TestCase.__init__(self)
         self.create_asterisk(2)
 
     def ami_connect(self, ami):




More information about the asterisk-commits mailing list