Commit Graph

224 Commits

Author SHA1 Message Date
金戟
c53f1e01f0 feat: find best constructor of super class 2022-12-11 08:10:46 +08:00
金戟
61a3090431 refactor: update junit version 2022-12-09 22:09:12 +08:00
金戟
d9f65189f7 feat: add RICH_INTERFACE option to avoid introduce omni class in system interface implementation 2022-12-04 17:52:19 +08:00
金戟
1446382f53 feat: handle many special cases of system class creation 2022-12-04 07:34:42 +08:00
金戟
ada70f88c0 feat: get generic type mapping recursively 2022-12-03 17:15:18 +08:00
金戟
a67dd7b73f feat: add targetClassName parameter to mock invoke annotation 2022-12-01 23:41:41 +08:00
金戟
1f6fc2e4bc feat: support generate system interface class 2022-12-01 00:32:21 +08:00
金戟
dcbb305e10 fix: incorrect onmi constructor option judgement 2022-11-27 21:13:05 +08:00
金戟
8c0a74264a refactor: move string util methods to core package 2022-11-27 21:10:53 +08:00
金戟
0a40e07739 feat: upgrade transmittable-thread-local to 2.14.2 2022-11-26 22:04:53 +08:00
金戟
1dcbe6b0f2 feat: get rid of Pair class 2022-11-25 15:00:04 +08:00
金戟
db91a0ea34 feat: transform mock class according to MockContainer annotation 2022-11-20 20:11:46 +08:00
金戟
d912e53ebc feat: implement EXCEPT_INTERFACE option of omni constructor 2022-11-20 13:09:04 +08:00
金戟
9018301bfc feat: add MockContainer annotation 2022-11-19 22:28:28 +08:00
金戟
fc7e4af2c6 feat: support generate class with inherited genericity 2022-11-14 20:36:44 +08:00
金戟
76cff45123 feat: support generate class with dollar in name 2022-11-14 20:36:37 +08:00
金戟
5c8ef00fce feat: support generate parameterized class 2022-11-14 20:36:29 +08:00
金戟
f8501b0722 fix: generate correct type name 2022-11-14 22:40:34 +08:00
金戟
46e4499035 release v0.7.8 2022-11-13 20:13:40 +08:00
金戟
f508f7aba9 refactor: always use the collection method in core module 2022-11-13 18:15:42 +08:00
金戟
6e029f61d8 feat: add util method for quick create set 2022-11-01 16:35:47 +08:00
金戟
b654a3cfaa feat: support generate method with template types 2022-10-09 20:31:13 +08:00
金戟
038ae8dba0 feat: support construct simple interface and abstract class 2022-10-08 20:20:18 +08:00
金戟
11a5565cee feat: use same package path of parent to avoid access error 2022-10-08 11:30:43 +08:00
金戟
9788dd9ecc feat: add common used collection creation function to library 2022-08-09 14:25:52 +08:00
金戟
81a2817b6c fix: fit for jvm 1.6 2022-06-04 23:23:59 +08:00
金戟
ef6099a63d feat: generate empty sub class for interface 2022-06-04 23:11:12 +08:00
金戟
3c11676408 feat: add original InMemoryJavaCompiler 2022-06-03 13:29:25 +08:00
金戟
b2a87bffbe refactor: use constant dollar symbol 2022-05-29 14:08:35 +08:00
金戟
1a2083416e doc: describe the MockContext fields 2022-05-29 11:35:23 +08:00
金戟
39b742b290 release v0.7.7 2022-05-28 13:34:27 +08:00
金戟
7aedcf63b5 release v0.7.6 2022-04-22 17:14:33 +08:00
金戟
2e58ae8360 release v0.7.5 2022-03-08 12:38:35 +08:00
金戟
692b4435aa release v0.7.4 2022-02-02 21:02:28 +08:00
金戟
6379f16266 fix , java.net.URL is loaded before OmniClassHandler 2022-02-02 21:02:28 +08:00
Jerry Lee
7e24503611 upgrade TTL to 2.12.4, fix ClassCircularityError
more discussion see
https://github.com/alibaba/transmittable-thread-local/issues/278
2022-01-12 00:43:02 +08:00
金戟
02f15177fc release v0.7.3 2022-01-09 22:45:14 +08:00
金戟
59bcbfdf37 release v0.7.2 2021-12-17 14:39:20 +08:00
金戟
db4e02a201 release v0.7.1 2021-12-11 22:59:49 +08:00
金戟
140e54983b release v0.7.0 2021-11-07 11:07:39 +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
金戟
8cfba333ff release v0.6.10 2021-10-31 14:24: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
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
金戟
09ecd0d7c0 release v0.6.8 2021-08-08 21:53:34 +08:00
金戟
a78931ae81 allow modify static final field 2021-07-14 21:29:32 +08:00
金戟
fd3b088f59 release v0.6.7 2021-06-11 17:36:43 +08:00