]> source.dussan.org Git - vaadin-framework.git/commit
Makes test stable and adds helper comparison methods
authorArtur Signell <artur@vaadin.com>
Mon, 7 Oct 2013 16:56:43 +0000 (19:56 +0300)
committerArtur Signell <artur@vaadin.com>
Tue, 8 Oct 2013 12:27:07 +0000 (15:27 +0300)
commit5fb877b093e4b2a9ddc98d558fe92f66d26af149
treeb8e71b7068b241e184d547f17196d8d57b196fb6
parentf488825d46c984cea841534178b094be3a562eea
Makes test stable and adds helper comparison methods

* Takes into account that the timer can be triggered multiple times before the initial request is done (especially if the server is slow)
* Adds assertLessThan, assertLessThanOrEqual, assertGreaterThan, assertGreaterThanOrEqual to ease test creation

Change-Id: I5ce1681e35d9c1de02a83b38528f17ee705331d7
uitest/src/com/vaadin/tests/push/PushConfigurationTest.java
uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java