Skip to content

Commit e224c3b

Browse files
将iquery monkeyrunner插件改成使用maven编译,并改进查询控件的性能,使其查询速度近似直接查找。
1 parent b0ec9f1 commit e224c3b

File tree

17 files changed

+1038
-229
lines changed

17 files changed

+1038
-229
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
iQuery is a ui control query library, currently supports for iOS and Android UI automation are implemented.
22

3+
HOW TO BUILD
4+
------------
5+
6+
You need set an environment varaible `ANDROID_HOME` in order to do a successful build. For e.g. `$ export ANDROID_HOME=~/android-sdK;mvn package`.
7+
8+
iQuery for monkeyrunner is a plugin project, it requires several jar files in android sdk directory, and which are not available in maven repo. So I point the jar files to android sdk home directory.
9+
310
iOS usage
411
---------
512

java/iquery/iquery-core/src/main/java/cc/iqa/iquery/iQuery.g

+1-1
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,6 @@ FLOAT: ('+' | '-')? DIGIT+ ('.' DIGIT+)?;
869869
fragment DIGIT: ('0' .. '9');
870870
ELEMENT: ('a'..'z'|'A'..'Z'|'_')('a'..'z'|'A'..'Z'|'0'..'9'|'_'|'.')*;
871871
ASTERISK: '*';
872-
QUOTED_STRING: '\'' .+ '\'';
872+
QUOTED_STRING: '\'' .* '\'';
873873
NEWLINE: '\r'? '\n';
874874
WS: (' ' | '\t') { skip(); };

0 commit comments

Comments
 (0)