Skip to content

Commit

Permalink
Fix DeclarativeTestBaseBase to return read component with testRead
Browse files Browse the repository at this point in the history
Change-Id: Icb916e190c4286c053e9456f65fd7180fb58e2a7
  • Loading branch information
Teemu Suo-Anttila authored and jdahlstrom committed Apr 8, 2015
1 parent 9f95ac1 commit 40f80e2
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -140,8 +140,10 @@ private boolean isVaadin(Class<?> c) {

}

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) {
Expand Down

0 comments on commit 40f80e2

Please sign in to comment.