mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: fix openviduJavaClientTest
parent
8cbaedb403
commit
8f9ad60d2b
|
@ -2386,8 +2386,9 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestAppE2eTest {
|
||||||
|
|
||||||
String widthAndHeight = user.getEventManager().getDimensionOfViewport();
|
String widthAndHeight = user.getEventManager().getDimensionOfViewport();
|
||||||
JsonObject obj = JsonParser.parseString(widthAndHeight).getAsJsonObject();
|
JsonObject obj = JsonParser.parseString(widthAndHeight).getAsJsonObject();
|
||||||
Assert.assertEquals("{\"width\":" + obj.get("width").getAsLong() + ",\"height\":"
|
Assert.assertEquals(
|
||||||
+ (obj.get("height").getAsLong() - 1) + "}", pub.getVideoDimensions());
|
"{\"width\":" + obj.get("width").getAsLong() + ",\"height\":" + obj.get("height").getAsLong() + "}",
|
||||||
|
pub.getVideoDimensions());
|
||||||
Assert.assertEquals(Integer.valueOf(30), pub.getFrameRate());
|
Assert.assertEquals(Integer.valueOf(30), pub.getFrameRate());
|
||||||
Assert.assertEquals("SCREEN", pub.getTypeOfVideo());
|
Assert.assertEquals("SCREEN", pub.getTypeOfVideo());
|
||||||
Assert.assertTrue(pub.hasVideo());
|
Assert.assertTrue(pub.hasVideo());
|
||||||
|
|
Loading…
Reference in New Issue