File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Bandwidth.Standard.Test/Unit/Model/Bxml
Bandwidth.Standard/Model/Bxml/Verbs Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ public class TestStopStream
1010 [ Fact ]
1111 public void StopStreamTest ( )
1212 {
13- var expected = "<?xml version=\" 1.0\" encoding=\" utf-8\" ?><Response> <StopStream name=\" test\" /></Response>" ;
13+ var expected = "<?xml version=\" 1.0\" encoding=\" utf-8\" ?><Response> <StopStream name=\" test\" wait= \" true \" /></Response>" ;
1414
1515 var stopStream = new StopStream ( ) ;
1616 stopStream . Name = "test" ;
17+ stopStream . Wait = true ;
1718
1819 var response = new Response ( stopStream ) ;
1920 var actual = response . ToBXML ( ) ;
Original file line number Diff line number Diff line change @@ -14,5 +14,11 @@ public class StopStream : IVerb
1414 /// </summary>
1515 [ XmlAttribute ( "name" ) ]
1616 public string Name { get ; set ; }
17+
18+ /// <summary>
19+ /// If true, the BXML interpreter will wait for the stream to stop before processing the next verb.
20+ /// </summary>
21+ [ XmlAttribute ( "wait" ) ]
22+ public bool Wait { get ; set ; }
1723 }
1824}
You can’t perform that action at this time.
0 commit comments