Commit Graph

558 Commits

Author SHA1 Message Date
金戟
59bcbfdf37 release v0.7.2 2021-12-17 14:39:20 +08:00
Fan Lin
cdad0d2446
Merge pull request #251 from zcbbpo/Fxied-static-instance-reference-issue
fixed static instance reference issue
2021-12-17 13:40:45 +08:00
jimcao
ba5102ffd9 fixed static instance reference issue 2021-12-16 17:26:38 +08:00
金戟
db4e02a201 release v0.7.1 2021-12-11 22:59:49 +08:00
金戟
fda7ee23c7 fix #248, should not look up package mapping if found mock class 2021-12-11 14:40:27 +08:00
金戟
140e54983b release v0.7.0 2021-11-07 11:07:39 +08:00
金戟
548d7ba21f add upgrade guide for 0.7.0 2021-11-07 11:06:37 +08:00
金戟
c2d456da97 use MockInvoke and MockNew 2021-11-03 11:44:44 +08:00
金戟
28500558fc rename verify() to verifyInvoked(), avoid name conflict with system method 2021-11-02 23:39:48 +08:00
金戟
990f407ebe should throw NullPointerException when invoke mock method on null object (issue-163) 2021-11-02 23:09:57 +08:00
金戟
f6206ee294 add release note of 0.6.10 2021-10-31 23:36:32 +08:00
金戟
8cfba333ff release v0.6.10 2021-10-31 14:24:10 +08:00
Fan Lin
397fc3d2fa
Merge pull request #234 from zcbbpo/FIXED-LAMBDA-MR
[Lambda] Fixed method reference external var
2021-10-31 14:19:02 +08:00
jim cao
b7a076dfaf fixed external var 2021-10-30 19:40:21 +08:00
金戟
aee2ec2767 fix typo and format code 2021-10-27 07:33:08 +08:00
Fan Lin
682d822249
Merge pull request #231 from HankDevelop/0.6
接口继承支持
2021-10-27 07:27:46 +08:00
Fan Lin
6cf3f993ca
Merge branch 'master' into 0.6 2021-10-27 07:27:23 +08:00
HankDevelop
0cce5a6ec0 接口继承支持 2021-10-26 19:57:10 +08:00
金戟
0917406c44 release v0.6.9 2021-10-17 22:56:33 +08:00
金戟
3bf19ee6d0 fix NullPointerException when passing null as parameter of private accessor 2021-10-17 22:56:33 +08:00
Fan Lin
e1afb1cd54
Merge pull request #223 from Augustine-C/fix_flaky
Fixed a flaky test in core.tool.OmniAccessorTest
2021-09-30 10:47:59 +08:00
Augustine Cui
10953ff02a Fixed a flaky test in core.tool.OmniAccessorTest
This test is flaky since the method `java.lang.Class.getDeclaredFields` is non-deterministic, and `GetDeclaredFilelds`  is ultimately used in the `com.alibaba.testable.core.util.TypeUtil.getAllFields`
I converted the result to a `HashSet` to avoid ordering issues, so the specific ordering of the fields would not affect the result. I think this change can prevent test failure due to future change in the JVM.
2021-09-29 17:10:37 -07:00
金戟
80b0f3b878 do not introduce sun package dependence 2021-09-28 21:26:16 +08:00
Fan Lin
8fbd459280
Merge pull request #208 from zcbbpo/FIXED-LAMBDA-METHOD-REFERENCE-ISSUES
Fixed method reference
2021-09-28 20:46:51 +08:00
jimcao
f3309f933e fixed method reference 2021-09-24 15:20:13 +08:00
金戟
b47204e329 hold images in cdn 2021-09-15 21:11:29 +08:00
金戟
6616ff1174 add description about modify static final member 2021-08-09 08:56:40 +08:00
金戟
09ecd0d7c0 release v0.6.8 2021-08-08 21:53:34 +08:00
金戟
93db467f43 update maintain plan 2021-08-08 21:33:58 +08:00
金戟
a78931ae81 allow modify static final field 2021-07-14 21:29:32 +08:00
金戟
93ad1fa94f allow to dump single mock class 2021-07-12 21:41:31 +08:00
金戟
2780ccc6fa for better performance 2021-07-12 20:37:13 +08:00
金戟
fd3b088f59 release v0.6.7 2021-06-11 17:36:43 +08:00
金戟
e812aa6126 fix stack effect value of xaload opcode 2021-06-11 17:25:38 +08:00
金戟
b949f57d54 in favor of static import 2021-06-06 23:04:42 +08:00
金戟
0551240c7d fix incorrect class name in mock target checking log 2021-06-01 19:40:22 +08:00
金戟
8a3a0cf6bf add with thread pool doc 2021-06-01 10:58:00 +08:00
金戟
d3ab246c78 should travel parent classes 2021-05-31 23:36:53 +08:00
金戟
142b0e5a1e update doc for v0.6.6 2021-05-27 19:03:11 +08:00
金戟
38221a67ef release 0.6.6 2021-05-22 19:00:35 +08:00
金戟
993c178adf fit mock target checking for kotlin 2021-05-22 18:31:03 +08:00
金戟
3786c6251e always transform all test classes 2021-05-22 18:12:26 +08:00
金戟
e5f8e5244c construct void object is unnecessary 2021-05-22 16:36:06 +08:00
金戟
e13dce7ac6 prefer to use minimal exception count 2021-05-22 11:12:58 +08:00
金戟
3265803dec expose constructor of void class 2021-05-22 01:27:12 +08:00
金戟
ef3891bd57 add release note 2021-05-22 01:24:40 +08:00
金戟
fcbdb7275b add test case of basic type constructing 2021-05-21 00:25:02 +08:00
金戟
ea4c6c5b3e allow disable mock target checking 2021-05-16 23:16:51 +08:00
金戟
381ff52515 also check methods from parent classes 2021-05-15 16:16:01 +08:00
金戟
c5f39dfae3 refactor logs, print mock method information in mock class handler 2021-05-15 15:57:02 +08:00