From: Manuel Carrasco MoƱino Date: Sat, 1 Jun 2013 07:32:13 +0000 (+0200) Subject: Fix tests so as emma-coverage instrumentalitation does not fail X-Git-Tag: release-1.4.0~44 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9430eb3dbc1d0b4ab525433dbdb4bd067b2a0406;p=gwtquery.git Fix tests so as emma-coverage instrumentalitation does not fail --- diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryDeferredTestGwt.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryDeferredTestGwt.java index 3b8798d9..1ad4e907 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryDeferredTestGwt.java +++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryDeferredTestGwt.java @@ -113,7 +113,7 @@ public class GQueryDeferredTestGwt extends GWTTestCase { doSomething.progress(new Function() { public void f() { - progress = getArgument(0); + progress = this.getArgument(0); } }).done(new Function() { public void f() { @@ -160,7 +160,7 @@ public class GQueryDeferredTestGwt extends GWTTestCase { GQuery.when(doingFoo, doingBar).progress(new Function() { public void f() { - int c = getArgument(0); + int c = this.getArgument(0); progress += c; } }).done(new Function() {