modularize init script
This commit is contained in:
9
autojs/src/main/assets/modules/__unit_test__.js
Normal file
9
autojs/src/main/assets/modules/__unit_test__.js
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
assert = console.assert.bind(console);
|
||||
|
||||
function testApp(){
|
||||
print('正在测试模块:app');
|
||||
assert("com.tencent.mm" == app.getPackageName("微信"));
|
||||
assert("com.tencent.mobileqq" == app.getPackageName("QQ"));
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user