You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LegacySerializerUITest.java 624B

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