mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 18:59:41 +02:00
Merge pull request #145 from vanitasvitae/singleJingleTransport
Switch to single transport instead of list
This commit is contained in:
commit
1d53889874
5 changed files with 18 additions and 47 deletions
|
@ -40,7 +40,7 @@ public class JingleActionTest extends SmackTestSuite {
|
|||
}
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void nonExistendEnumTest() {
|
||||
public void nonExistentEnumTest() {
|
||||
JingleAction.fromString("inexistent-action");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,9 +69,6 @@ public class JingleContentTest extends SmackTestSuite {
|
|||
assertNotSame(content.toXML().toString(), content1.toXML().toString());
|
||||
assertEquals(content1.toXML().toString(), builder.build().toXML().toString());
|
||||
|
||||
assertEquals(0, content.getJingleTransportsCount());
|
||||
assertNotNull(content.getJingleTransports());
|
||||
|
||||
String xml =
|
||||
"<content creator='initiator' disposition='session' name='A name' senders='both'>" +
|
||||
"</content>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue