[asterisk-bugs] [JIRA] (ASTERISK-23198) testsuite: Write a test for marked user/unmarked user interaction

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Jan 28 11:29:03 CST 2014


Matt Jordan created ASTERISK-23198:
--------------------------------------

             Summary: testsuite: Write a test for marked user/unmarked user interaction
                 Key: ASTERISK-23198
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23198
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Applications/app_confbridge, Tests/testsuite
    Affects Versions: 12.0.0, 11.7.0
            Reporter: Matt Jordan


A number of tests still need to be written that exercise the state machine in ConfBridge for marked/unmarked/waitmarked user interaction. This test verifies one set of those user interactions: marked users and unmarked users.

The test should be named {{confbridge_marked_unmarked}}, and should be based on the {{AppTest}} pluggable module approach (in the same manner as {{confbridge_marked}} or {{confbridge_waitmarked_single}}). The test should use the following user profiles:

{noformat}
[marked_profile]
type = user
marked = yes

[normal_profile]
type = user
{noformat}

The test should verify the following scenarios:

h1. Scenario One

# The marked user joins the conference. The conference transitions from EMPTY to SINGLE_MARKED
# The normal user joins the conference. The conference transitions from SINGLE_MARKED to MULTI_MARKED
# The normal user leaves the conference. The conference transitions from MULTI_MARKED to SINGLE_MARKED
# The marked user leaves the conference. The conference transitions from SINGLE_MARKED to EMPTY

The scenario should also verify:
# For the Marked user:
## That no MoH is ever played to the Marked user, even when they are the only participant in the conference
## That the confbridge-join sound is played to the Marked user
## That the conf-placeintoconf sound is played to the Marked user
## That the ConfbridgeJoin event is received for the user
## That the ConfbridgeLeave event is received for the user
# For the Normal user:
## That no MoH is played for the user, as they are never in the conference by themselves
## That the confbridge-join sound is played to the Normal user
## That the conf-placeintoconf sound is played to the Normal user
## That the ConfbridgeJoin event is received for the user
## That the ConfbridgeLeave event is received for the user

h1. Scenario Two

# The marked user joins the conference. The conference transitions from EMPTY to SINGLE_MARKED
# The normal user joins the conference. The conference transitions from SINGLE_MARKED to MULTI_MARKED
# The marked user leaves the conference. The conference transitions from MULTI_MARKED to SINGLE
# The normal user leaves the conference. The conference transitions from SINGLE to EMPTY

The scenario should also verify:
# For the Marked user:
## That no MoH is ever played to the Marked user, even when they are the only participant in the conference
## That the confbridge-join sound is played to the Marked user
## That the conf-placeintoconf sound is played to the Marked user
## That the ConfbridgeJoin event is received for the user
## That the ConfbridgeLeave event is received for the user
# For the Normal user:
## That MoH is played for the user, as they are the only person in the conference when the marked user leaves
## That the confbridge-join sound is played to the Normal user
## That the conf-placeintoconf sound is played to the Normal user
## That the ConfbridgeJoin event is received for the user
## That the ConfbridgeLeave event is received for the user

h1. Scenario Three

# The normal user joins the conference. The conference transitions from EMPTY to SINGLE
# The marked user joins the conference. The conference transitions from SINGLE to MULTI_MARKED
# The marked user leaves the conference. The conference transitions from MULTI_MARKED to SINGLE
# The normal user leaves the conference. The conference transitions from SINGLE to EMPTY

The scenario should also verify:
# For the Marked user:
## That no MoH is ever played to the Marked user, even when they are the only participant in the conference
## That the confbridge-join sound is played to the Marked user
## That the conf-placeintoconf sound is played to the Marked user
## That the ConfbridgeJoin event is received for the user
## That the ConfbridgeLeave event is received for the user
# For the Normal user:
## That two MoH start events are received and that MoH is played for the user, as they are the only person in the conference before the marked user joins and when the marked user leaves
## That the confbridge-join sound is played to the Normal user
## That the conf-placeintoconf sound is played to the Normal user
## That the ConfbridgeJoin event is received for the user
## That the ConfbridgeLeave event is received for the user

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list