diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-04-08 13:41:10 +0300 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2015-04-08 12:26:09 +0000 |
commit | 40f80e2def8e9b075f7d3896ab6343cdf4aa4507 (patch) | |
tree | 82b6af5e4df4b0fab3aef47a125b83450c4399b1 | |
parent | 9f95ac117ac55c54f6a3d69ab3bd9aa3d8f1ef76 (diff) | |
download | vaadin-framework-40f80e2def8e9b075f7d3896ab6343cdf4aa4507.tar.gz vaadin-framework-40f80e2def8e9b075f7d3896ab6343cdf4aa4507.zip |
Fix DeclarativeTestBaseBase to return read component with testRead
Change-Id: Icb916e190c4286c053e9456f65fd7180fb58e2a7
-rw-r--r-- | server/tests/src/com/vaadin/tests/design/DeclarativeTestBaseBase.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/tests/src/com/vaadin/tests/design/DeclarativeTestBaseBase.java b/server/tests/src/com/vaadin/tests/design/DeclarativeTestBaseBase.java index 4cb627d035..3afef0e2ee 100644 --- a/server/tests/src/com/vaadin/tests/design/DeclarativeTestBaseBase.java +++ b/server/tests/src/com/vaadin/tests/design/DeclarativeTestBaseBase.java @@ -140,8 +140,10 @@ public abstract class DeclarativeTestBaseBase<T extends Component> { } - public void testRead(String design, T expected) { - assertEquals(expected, read(design)); + public T testRead(String design, T expected) { + T read = read(design); + assertEquals(expected, read); + return read; } public void testWrite(String design, T expected) { |