Skip to content

Commit 4cde275

Browse files
aagnes-zzFacebook Github Bot 9
authored and
Facebook Github Bot 9
committed
enable aquery run in comparison script
Reviewed By: tyronen Differential Revision: D2846480 fb-gh-sync-id: 3ddb3aac7c8cb9f75225ad8b6c0cbe5f9b417656 fbshipit-source-id: 3ddb3aac7c8cb9f75225ad8b6c0cbe5f9b417656
1 parent 2031139 commit 4cde275

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

run_comparison.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
To select a subset of the libraries, use the -s option with a
2222
space-separated list. Available options are fresco, fresco-okhttp,
23-
glide, volley, drawee-volley, uil, and picasso.
23+
glide, volley, drawee-volley, uil, picasso, and aquery.
2424
2525
To see the comparison for only network or local images, use -d network or -d local.
2626
@@ -56,7 +56,8 @@
5656
'picasso',
5757
'uil',
5858
'volley',
59-
'drawee-volley'
59+
'drawee-volley',
60+
'aquery',
6061
)
6162

6263
TEST_SOURCES = (

samples/comparison/src/androidTest/java/com/facebook/samples/comparison/test/ScrollTest.java

+8
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ public void testDraweeVolleyNetwork() throws Exception {
8686
runScenario(MainActivity.VOLLEY_INDEX, MainActivity.NETWORK_INDEX, true);
8787
}
8888

89+
public void testAqueryNetwork() throws Exception {
90+
runScenario(MainActivity.AQUERY_INDEX, MainActivity.NETWORK_INDEX, false);
91+
}
92+
8993
public void testFrescoLocal() throws Exception {
9094
runScenario(MainActivity.FRESCO_INDEX, MainActivity.LOCAL_INDEX, true);
9195
}
@@ -106,6 +110,10 @@ public void testUilLocal() throws Exception {
106110
runScenario(MainActivity.UIL_INDEX, MainActivity.LOCAL_INDEX, false);
107111
}
108112

113+
public void testAqueryLocal() throws Exception {
114+
runScenario(MainActivity.AQUERY_INDEX, MainActivity.LOCAL_INDEX, false);
115+
}
116+
109117
/**
110118
* Runs the test for given library.
111119
*/

0 commit comments

Comments
 (0)