]> source.dussan.org Git - gwtquery.git/commitdiff
Fix tests so as emma-coverage instrumentalitation does not fail
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Sat, 1 Jun 2013 07:32:13 +0000 (09:32 +0200)
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Sat, 1 Jun 2013 07:32:13 +0000 (09:32 +0200)
gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryDeferredTestGwt.java

index 3b8798d91d77f92df2626ebfcbcb80d15d428c68..1ad4e90720fd473f420c83f487e35ea8b786c296 100644 (file)
@@ -113,7 +113,7 @@ public class GQueryDeferredTestGwt extends GWTTestCase {
     
     doSomething.progress(new Function() {
       public void f() {
-        progress = getArgument(0);
+        progress = this.<Integer>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.<Integer>getArgument(0);
         progress += c;
       }
     }).done(new Function() {