金戟
74e3cf16a4
use standalone mock class in demos
2021-02-11 14:56:08 +08:00
金戟
19f28c32db
fix test case mark and add unnullable map
2021-02-11 13:29:08 +08:00
金戟
affa56d057
use global mock context parameter
2021-02-11 10:15:06 +08:00
金戟
f1edf92626
move invoke recorder injection to mock class
2021-02-10 22:42:00 +08:00
金戟
6f9accf319
invoke via mock singleton instance
2021-02-10 22:30:38 +08:00
金戟
cefc5fb1df
inject singleton field and method to mock class
2021-02-10 13:09:56 +08:00
金戟
948878687c
add mock class handler
2021-02-10 10:36:51 +08:00
金戟
d626906d28
thread mark not actually needed
2021-02-09 22:27:30 +08:00
金戟
705ba796f1
remove deprecated TestableMock annotation
2021-02-09 16:04:13 +08:00
金戟
7e44a66205
add doc for new parameters and verbose diagnosis level
2021-02-07 16:43:44 +08:00
金戟
d57dedb6fc
release v0.4.12
2021-02-07 10:41:07 +08:00
金戟
d860684e91
add switch to disable private access target existence check
2021-02-06 21:56:36 +08:00
金戟
7bbdf82a41
support specify package prefix of class to be mocked
2021-02-06 11:31:51 +08:00
金戟
126c7257d8
fix out of index exception when mocking native method
2021-02-06 10:44:51 +08:00
金戟
adfba4bac0
support verbose log for self diagnosing
2021-02-05 22:30:04 +08:00
金戟
2c18ea12ed
use space instead of tab
2021-02-04 17:59:26 +08:00
金戟
d4bce13918
remove note about 0.4.5 version
2021-02-03 18:03:07 +08:00
金戟
b23b8b98b3
add self troubleshooting information
2021-02-02 14:24:12 +08:00
金戟
f228ed5002
release v0.4.11
2021-02-02 07:49:20 +08:00
金戟
2303ac188e
add roadmap
2021-02-01 23:49:16 +08:00
金戟
290d0db400
support specify source class for private accessor
2021-02-01 08:08:33 +08:00
金戟
77b955a5ce
use system null type
2021-01-31 21:46:46 +08:00
金戟
ab8a0b32e5
fix compile time check for private member access
2021-01-31 20:18:53 +08:00
金戟
39c788cd02
check method parameter count
2021-01-31 15:10:34 +08:00
金戟
7029579534
fix intellij gradle build issue with incorrect file protocol syntax
2021-01-31 12:39:58 +08:00
金戟
ba951ce744
should always load array variable via aload
2021-01-30 23:53:22 +08:00
Fan Lin
2bbe2eba93
be more precise
2021-01-29 11:23:58 +08:00
Fan Lin
4c96f4cc0e
Update use-mock.md
...
use static declaration for complicate mock method
2021-01-29 11:17:00 +08:00
Fan Lin
3a2e3032df
Merge pull request #53 from npvip/patch-1
...
Update use-mock.md
2021-01-28 19:24:23 +08:00
npvip
530f3295bd
Update use-mock.md
...
MOCK_CONTEXT.put不是set
2021-01-28 17:53:50 +08:00
金戟
650b385785
remove TestableMock annotation
2021-01-24 16:32:05 +08:00
金戟
99e7c3bf18
bump to version 0.4.10
2021-01-22 08:26:01 +08:00
金戟
ef5d21baf6
fit INVOKEDYNAMIC
2021-01-22 00:09:32 +08:00
金戟
f9be92e9d0
for InvocationTargetException, bring root cause out
2021-01-21 22:49:49 +08:00
金戟
019e407a4f
Merge branch 'master' into 0.5
...
* master:
support private method invoke with null parameter
put parameter constructor doc to sidebar
update en-us docs to fit targetClass parameter usage
2021-01-21 22:36:18 +08:00
金戟
6951b98c7e
support private method invoke with null parameter
2021-01-21 22:03:53 +08:00
金戟
369c2bd192
put parameter constructor doc to sidebar
2021-01-19 15:34:02 +08:00
金戟
13de5e42ad
update en-us docs to fit targetClass parameter usage
2021-01-13 17:45:34 +08:00
金戟
453908cd46
add NoVerify class for accessing private member of any object
2021-01-11 11:25:45 +08:00
金戟
2f110ae4d6
bump version to 0.4.9
2021-01-09 08:03:11 +08:00
金戟
7ba44ae618
validate member accessed via PrivateAccessor exists
2021-01-08 22:57:25 +08:00
金戟
66cb8f7732
correctly remove the invoker instance byte code
2021-01-08 17:30:30 +08:00
金戟
1f29aff00f
manual recursively check argument is unnecessary
2021-01-08 11:29:27 +08:00
金戟
8d12bb42ba
simplify description
2021-01-08 08:23:10 +08:00
金戟
c1744d2254
bump to v0.4.8
2021-01-08 08:14:12 +08:00
金戟
444967f676
recurisively looking into method parameters for more private access expression
2021-01-07 19:48:18 +08:00
金戟
860fdcf072
support private method invocation in assign statement
2021-01-07 18:55:33 +08:00
Fan Lin
851ae91406
Merge pull request #37 from Yiniu/master
...
解决:Windows下文件分隔符替换多重转义,URLCloassLoader路径不合规的问题,增加本地maven仓库
2021-01-07 14:02:33 +08:00
xuyuqing
580fed7dac
解决:Windows下文件分隔符替换多重转义的问题,增加本地maven仓库
2021-01-07 10:31:35 +08:00
金戟
f07ac8f21f
always build with UTF-8 encoding
2021-01-06 16:31:05 +08:00