[svn-commits] mjordan: testsuite/asterisk/trunk r2687 - in /asterisk/trunk/tests/skeleton_t...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Nov 8 15:00:24 CST 2011


Author: mjordan
Date: Tue Nov  8 15:00:21 2011
New Revision: 2687

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2687
Log:
Added skeleton example test

Added:
    asterisk/trunk/tests/skeleton_test/
    asterisk/trunk/tests/skeleton_test/configs/
    asterisk/trunk/tests/skeleton_test/configs/ast1/
    asterisk/trunk/tests/skeleton_test/configs/ast1/extensions.conf   (with props)
    asterisk/trunk/tests/skeleton_test/run-test   (with props)
    asterisk/trunk/tests/skeleton_test/test-config.yaml   (with props)

Added: asterisk/trunk/tests/skeleton_test/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/skeleton_test/configs/ast1/extensions.conf?view=auto&rev=2687
==============================================================================
--- asterisk/trunk/tests/skeleton_test/configs/ast1/extensions.conf (added)
+++ asterisk/trunk/tests/skeleton_test/configs/ast1/extensions.conf Tue Nov  8 15:00:21 2011
@@ -1,0 +1,23 @@
+;
+;	Sample extensions.conf.  Replace this dialplan with the extensions
+;	needed for your test.  Note that each instance of Asterisk has its
+;	directory under configs, and will correspond with the instances of
+;	Asterisk in the TestCase.ast list.  So, the configuration files for
+;	ast1 will match the first the Asterisk object in TestCase.ast.
+;
+;	Any Asterisk configuration file can be placed in this directory.  They
+;	will override the default Asterisk configuration files used by the
+;	testsuite.  It is encouraged to use includes where possible - see
+;	the configs/ subdirectory.
+;
+
+[general]
+
+[globals]
+
+[default]
+exten => 1,1,NoOp()
+	same => n,Verbose(1, "Successfully entered into the 1 extension!")
+	same => n,UserEvent(TestResult,result: pass,status: Successfully entered into the 1 extension!)
+	same => n,Hangup()
+

Propchange: asterisk/trunk/tests/skeleton_test/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/skeleton_test/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/skeleton_test/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/skeleton_test/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/skeleton_test/run-test?view=auto&rev=2687
==============================================================================
Binary file - no diff available.

Propchange: asterisk/trunk/tests/skeleton_test/run-test
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/skeleton_test/run-test
------------------------------------------------------------------------------
    svn:mime-type = test/plain

Added: asterisk/trunk/tests/skeleton_test/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/skeleton_test/test-config.yaml?view=auto&rev=2687
==============================================================================
--- asterisk/trunk/tests/skeleton_test/test-config.yaml (added)
+++ asterisk/trunk/tests/skeleton_test/test-config.yaml Tue Nov  8 15:00:21 2011
@@ -1,0 +1,18 @@
+testinfo:
+    summary:     'A brief description of your test'
+    description: |
+        'A verbose description of your test.  Please fill this out - you should describe
+        what your test is actually going to do, the steps it takes, etc.  If there are
+        operations you dont test that are related to the functionality you are testing,
+        it would be good to note them here as well.
+
+properties:
+    # Specify the minimum version to prevent your test from failing for older versions of Asterisk
+    minversion: '1.8'
+    # List dependencies your test will need to run.  You'll typically need twisted and starpy.  Other
+    # options are listed in the README for the testsuite.
+    dependencies:
+        - python : 'twisted'
+        - python : 'starpy'
+        - module : 'app_userevent'
+

Propchange: asterisk/trunk/tests/skeleton_test/test-config.yaml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/skeleton_test/test-config.yaml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/skeleton_test/test-config.yaml
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the svn-commits mailing list