[asterisk-bugs] [Asterisk 0016809]: [patch] Design functionality test for dialplan pattern matching

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 11 11:07:04 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16809 
====================================================================== 
Reported By:                lmadsen
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   16809
Category:                   Tests/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-11 07:26 CST
Last Modified:              2010-02-11 11:07 CST
====================================================================== 
Summary:                    [patch] Design functionality test for dialplan
pattern matching
Description: 
Since we've had a couple of dialplan matching problems before in the past,
I'd like to try and create a set of tests that run through a set of complex
conditions, make sure they get the correct output (i.e. utilize the right
pattern match).

This is based from an email that Jared had sent. I know he'll have a lot
of examples to provide for this test!
====================================================================== 

---------------------------------------------------------------------- 
 (0117999) mmichelson (administrator) - 2010-02-11 11:07
 https://issues.asterisk.org/view.php?id=16809#c117999 
---------------------------------------------------------------------- 
I've uploaded a file (test_pbx.diff) that shows my current test module.
There are some comments in the test that show how it can easily be
expanded.

Current limitations that I can think of are that there is only one context
defined and we don't have the ability to do CID matching.

Both can be added in pretty easily, to be honest, but for the early proof
of concept code, I think this shows how it's not especially difficult to
write a test for pattern matching. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-11 11:07 mmichelson     Note Added: 0117999                          
======================================================================




More information about the asterisk-bugs mailing list