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.

RefreshCloseConnectionTest.java 560B

123456789101112131415161718192021222324
  1. package com.vaadin.tests.push;
  2. import static org.junit.Assert.assertEquals;
  3. import org.junit.Test;
  4. import com.vaadin.testbench.parallel.TestCategory;
  5. import com.vaadin.tests.tb3.MultiBrowserTest;
  6. @TestCategory("push")
  7. public class RefreshCloseConnectionTest extends MultiBrowserTest {
  8. @Test
  9. public void testSessionRefresh() {
  10. openTestURL("restartApplication");
  11. assertEquals("1. Init", getLogRow(0));
  12. openTestURL();
  13. assertEquals("2. Refresh", getLogRow(1));
  14. assertEquals("3. Push", getLogRow(0));
  15. }
  16. }