blob: 7e4756cb2141747d2b327c7b75f104099329cd71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package com.vaadin.tests.serialization;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import com.vaadin.tests.tb3.SingleBrowserTest;
public class LegacySerializerUITest extends SingleBrowserTest {
@Test
public void testInfinity() {
openTestURL();
WebElement html = findElement(By.className("gwt-HTML"));
assertEquals("doubleInfinity: Infinity", html.getText());
// Can't send infinity back, never have been able to
assertEquals("1. doubleInfinity: null", getLogRow(0));
}
}
|