Skip to content

Commit 7bc1997

Browse files
committed
Test static timeout param.
1 parent 0844458 commit 7bc1997

File tree

6 files changed

+17
-3
lines changed

6 files changed

+17
-3
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3+
org.eclipse.jdt.core.compiler.compliance=1.6
4+
org.eclipse.jdt.core.compiler.source=1.6
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3+
org.eclipse.jdt.core.compiler.compliance=1.6
4+
org.eclipse.jdt.core.compiler.source=1.6

dist/build-full.jardesc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
22
<jardesc>
3-
<jar path="AndroidQuery/dist/android-query-full.0.26.7.jar"/>
3+
<jar path="AndroidQuery/dist/android-query-full.0.26.8.jar"/>
44
<options buildIfNeeded="true" compress="true" descriptionLocation="/AndroidQuery/dist/build-full.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="false" overwrite="true" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
55
<storedRefactorings deprecationInfo="true" structuralOnly="false"/>
66
<selectedProjects/>

dist/build.jardesc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
22
<jardesc>
3-
<jar path="AndroidQuery/dist/android-query.0.26.7.jar"/>
3+
<jar path="AndroidQuery/dist/android-query.0.26.8.jar"/>
44
<options buildIfNeeded="true" compress="true" descriptionLocation="/AndroidQuery/dist/build.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="false" overwrite="true" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
55
<storedRefactorings deprecationInfo="true" structuralOnly="false"/>
66
<selectedProjects/>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3+
org.eclipse.jdt.core.compiler.compliance=1.6
4+
org.eclipse.jdt.core.compiler.source=1.6

tests/src/com/androidquery/test/AQueryAsyncTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1726,8 +1726,10 @@ public void testAjaxTimeoutFiveSeconds() {
17261726

17271727
url = "http://deelay.me/10000/" + url;
17281728

1729+
AjaxCallback.setTimeout(5000);
1730+
17291731
AjaxCallback<File> cb = new AjaxCallback<File>();
1730-
cb.url(url).type(File.class).timeout(5000);
1732+
cb.url(url).type(File.class);
17311733

17321734
long start = System.currentTimeMillis();
17331735

0 commit comments

Comments
 (0)