[asterisk-bugs] [Asterisk 0016809]: [patch] Design functionality test for dialplan pattern matching
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Feb 16 12:29:44 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-16 12:29 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!
======================================================================
----------------------------------------------------------------------
(0118107) svnbot (reporter) - 2010-02-16 12:29
https://issues.asterisk.org/view.php?id=16809#c118107
----------------------------------------------------------------------
Repository: asterisk
Revision: 246942
A trunk/tests/test_pbx.c
------------------------------------------------------------------------
r246942 | mmichelson | 2010-02-16 12:29:43 -0600 (Tue, 16 Feb 2010) | 15
lines
Add unit test for dialplan pattern matching.
This test works by reading input from arrays to build a sample
dialplan. From there, patterns are attempted to be matched against
said dialplan, with the expected match given. We then search in our
example dialplan to see if we find a match and if what we find matches
what we expected it to match.
(closes issue https://issues.asterisk.org/view.php?id=16809)
Reported by: lmadsen
Tested by: mmichelson
Review: https://reviewboard.asterisk.org/r/504/
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=246942
Issue History
Date Modified Username Field Change
======================================================================
2010-02-16 12:29 svnbot Checkin
2010-02-16 12:29 svnbot Note Added: 0118107
======================================================================
More information about the asterisk-bugs
mailing list