diff options
author | Leif Åstrand <leif@vaadin.com> | 2015-08-31 12:35:42 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-09-02 07:58:57 +0000 |
commit | 4a2380605d171eec96fe7adb83f1de2dcc9edbae (patch) | |
tree | 9290b0ac48c64dcf4bf52aa7546b9065a8fa403c /server/tests | |
parent | 0922cc0ee60fd1cddc1c189eac500a305aa9db92 (diff) | |
download | vaadin-framework-4a2380605d171eec96fe7adb83f1de2dcc9edbae.tar.gz vaadin-framework-4a2380605d171eec96fe7adb83f1de2dcc9edbae.zip |
Detect broken Profiler.isEnabled() inlining
The mechanism that makes calls to e.g. Profiler.start() completely
disappear if vaadin.profiler is set to false is quite fragile.
Furhtermore, the implementation pattern has some parts that look like
potential optimizations even though the end result would be the
opposite. This patch adds a test that will fail if that kind of change
has accidentally been introduced.
Change-Id: Ic948feb4d3b73120dc3f245bcc130af16bfd32a9
Diffstat (limited to 'server/tests')
0 files changed, 0 insertions, 0 deletions