[svn-commits] pabelanger: branch pabelanger/non-root r672 - in /asterisk/team/pabelanger/no...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jul 30 23:02:48 CDT 2010


Author: pabelanger
Date: Fri Jul 30 23:02:44 2010
New Revision: 672

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=672
Log:
Documentation and update test to use new install_configs function

Modified:
    asterisk/team/pabelanger/non-root/contrib/testsuite-ng-doxygen
    asterisk/team/pabelanger/non-root/lib/python/asterisk/asterisk.py
    asterisk/team/pabelanger/non-root/tests/iax-call-basic/run-test

Modified: asterisk/team/pabelanger/non-root/contrib/testsuite-ng-doxygen
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/contrib/testsuite-ng-doxygen?view=diff&rev=672&r1=671&r2=672
==============================================================================
--- asterisk/team/pabelanger/non-root/contrib/testsuite-ng-doxygen (original)
+++ asterisk/team/pabelanger/non-root/contrib/testsuite-ng-doxygen Fri Jul 30 23:02:44 2010
@@ -185,14 +185,14 @@
 # For instance, some of the names that are used will be different. The list 
 # of all members will be omitted, etc.
 
-OPTIMIZE_OUTPUT_FOR_C  = YES
+OPTIMIZE_OUTPUT_FOR_C  = NO
 
 # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java 
 # sources only. Doxygen will then generate output that is more tailored for Java. 
 # For instance, namespaces will be presented as packages, qualified scopes 
 # will look different, etc.
 
-OPTIMIZE_OUTPUT_JAVA   = NO
+OPTIMIZE_OUTPUT_JAVA   = YES 
 
 # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want to 
 # include (a tag file for) the STL sources as input, then you should 

Modified: asterisk/team/pabelanger/non-root/lib/python/asterisk/asterisk.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/lib/python/asterisk/asterisk.py?view=diff&rev=672&r1=671&r2=672
==============================================================================
--- asterisk/team/pabelanger/non-root/lib/python/asterisk/asterisk.py (original)
+++ asterisk/team/pabelanger/non-root/lib/python/asterisk/asterisk.py Fri Jul 30 23:02:44 2010
@@ -138,6 +138,20 @@
         self.process.wait()
         return self.process.returncode
     def install_configs(self, cfg_path):
+        """Installs all files located in the configuration directory for this
+        instance of Asterisk.
+
+        By default, the configuration used will be whatever is found in the
+        system install of Asterisk.  However, custom configuration files to be
+        used only by this instance can be provided via this API call.
+
+        Keyword Arguments:
+        cfg_path -- This argument must be the path to the configuration directory 
+        to be installed into this instance of Asterisk.
+
+        Example Usage:
+        asterisk.install_configs("tests/my-cool-test/configs")
+        """
 	for dirname, dirnames, filenames in os.walk(cfg_path):
 	    if ".svn" in dirnames:
 		dirnames.remove(".svn")

Modified: asterisk/team/pabelanger/non-root/tests/iax-call-basic/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/tests/iax-call-basic/run-test?view=diff&rev=672&r1=671&r2=672
==============================================================================
--- asterisk/team/pabelanger/non-root/tests/iax-call-basic/run-test (original)
+++ asterisk/team/pabelanger/non-root/tests/iax-call-basic/run-test Fri Jul 30 23:02:44 2010
@@ -40,16 +40,10 @@
         print "Creating Asterisk instances ..."
 
         self.asterisk = Asterisk(base="/tmp/asterisk-testsuite/iax-call-basic")
-        self.asterisk.install_config("tests/iax-call-basic/configs/manager.conf")
-        self.asterisk.install_config("tests/iax-call-basic/configs/logger.conf")
-        self.asterisk.install_config("tests/iax-call-basic/configs/extensions.conf")
-        self.asterisk.install_config("tests/iax-call-basic/configs/iax.conf")
+        self.asterisk.install_configs("tests/iax-call-basic/configs")
 
         self.asterisk2 = Asterisk(base="/tmp/asterisk-testsuite/iax-call-basic")
-        self.asterisk2.install_config("tests/iax-call-basic/configs2/manager.conf")
-        self.asterisk2.install_config("tests/iax-call-basic/configs2/logger.conf")
-        self.asterisk2.install_config("tests/iax-call-basic/configs2/extensions.conf")
-        self.asterisk2.install_config("tests/iax-call-basic/configs2/iax.conf")
+        self.asterisk2.install_configs("tests/iax-call-basic/configs2")
 
     def fastagi_func(self, agi):
         sequence = fastagi.InSequence()




More information about the svn-commits mailing list