commit | bfa68fa6709d2aa89a24e00ce8b3e11c5b509efc | [log] [tgz] |
---|---|---|
author | Ralf Sternberg <rsternberg@eclipsesource.com> | Wed Jan 27 18:35:20 2016 +0100 |
committer | Ralf Sternberg <rsternberg@eclipsesource.com> | Wed Jan 27 18:35:20 2016 +0100 |
tree | 8021b6bc47158c4e8ef5b356191312e9ecab1148 | |
parent | 33a6ef229a598522d7aaad55d14acb67b7d9a719 [diff] |
Replace spy with mock in tests Spying ConnectionImpl fails with Java 8 with some dubious InvocationTargetException. Instead of spying the existing connection object, create a mock and make sure that it returns another mocked RemoteObject for the DropDown widget that is created internally. Change-Id: I26fe1030451ce05ab3ab35525cbaebc6a9e2b3b8