1
0
Fork 0
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:
Florian Schmaus 2017-06-28 21:02:52 +02:00 committed by GitHub
commit 1d53889874
5 changed files with 18 additions and 47 deletions

View file

@ -40,7 +40,7 @@ public class JingleActionTest extends SmackTestSuite {
}
@Test(expected = IllegalArgumentException.class)
public void nonExistendEnumTest() {
public void nonExistentEnumTest() {
JingleAction.fromString("inexistent-action");
}
}

View file

@ -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>";