Commit Graph

128 Commits

Author SHA1 Message Date
金戟
dc904496fc rename verify method names 2020-11-01 09:41:01 +08:00
金戟
6f74ba771c upgrade surefire plugin to fix conflict with junit 5 2020-11-01 09:02:00 +08:00
金戟
df63bc5c74 fix unsafe access warning 2020-11-01 07:53:04 +08:00
金戟
da3eca3d49 mn.parameters could be null 2020-10-31 22:29:22 +08:00
金戟
d816726f4f implementation parameter verification 2020-10-31 21:47:03 +08:00
金戟
4b1b1c3126 bump version to 0.2.2 snapshot 2020-10-31 18:39:38 +08:00
金戟
649fdebda7 record parameters of mock invoke 2020-10-31 18:27:28 +08:00
金戟
24e4b4f317 refactor invoke record logic to its own util 2020-10-30 21:39:02 +08:00
金戟
0b9a9c7ac6 version tips 2020-10-30 17:59:10 +08:00
金戟
e33c208b8d split private access and mock demo class 2020-10-28 09:12:25 +08:00
金戟
afecf4ddf5 add faq and known issue doc 2020-10-27 23:08:27 +08:00
金戟
ae134ac5ce support mock invoke by interface instance 2020-10-27 20:00:25 +08:00
金戟
36136e878e fit kotlin companion object as static method 2020-10-27 11:54:00 +08:00
金戟
0ef13a8e95 implement static method mock 2020-10-27 09:22:42 +08:00
金戟
989a52a048 split core package into core and processor 2020-10-27 06:55:32 +08:00
金戟
419a10669d add case to test kotlin invoke java method 2020-10-26 20:39:12 +08:00
金戟
2ad671e1f9 use add instead of insert 2020-10-26 07:52:47 +08:00
金戟
f9fc1e6224 0.2.0 released, bump everything to 0.2.1-snapshot 2020-10-25 21:15:26 +08:00
金戟
a0509a889f unify usage of TestableMock, no more targetClass 2020-10-25 20:40:44 +08:00
金戟
9981aafa93 add project description 2020-10-25 14:24:21 +08:00
金戟
53d27f337c update release note, put surefire config back as comment 2020-10-25 13:58:03 +08:00
金戟
e2d9c754e0 implement verify mock invoke times method 2020-10-25 10:23:43 +08:00
金戟
ee21025dbb rename annotations to reflect actual use 2020-10-24 09:30:36 +08:00
金戟
a85a4daf9e add usage doc 2020-10-23 23:23:58 +08:00
金戟
4173828d4f no more EnableTestable annotation in agent 2020-10-23 21:17:48 +08:00
金戟
4f6da20fa4 targetClass parameter use class type instead of string 2020-10-22 23:41:34 +08:00
金戟
8cc0b0313a anchoring base jdk version to 1.6+ 2020-10-22 21:05:17 +08:00
金戟
b6070ad24d remove agent from core jar, bump to 0.2.0-snapshot 2020-10-22 20:57:02 +08:00
金戟
33a16f34af add maven plugin, refactor modules 2020-10-22 09:43:52 +08:00
金戟
26712108d6 fix bytecode order and async test case 2020-10-21 21:45:12 +08:00
金戟
2fda70d7b4 remove EnableTestableInject annotation 2020-10-20 22:48:45 +08:00
金戟
379eabc791 move TEST_CASE and SOURCE_METHOD to TestableTool class and bump to v0.1.1 2020-10-20 22:47:25 +08:00
金戟
d9a7e91b65 use TEST_CASE and SOURCE_METHOD instead of method call 2020-10-20 22:36:50 +08:00
金戟
770aca8a00 add demo module 2020-10-20 21:08:47 +08:00
金戟
42a5c501fd fix unit coverage report 2020-10-19 22:55:07 +08:00
金戟
1df9374691 better test case 2020-10-19 20:35:24 +08:00
金戟
012022d691 rename packages 2020-10-19 09:46:54 +08:00
金戟
3bf9e1a623 move agent jar to class folder and bump version to v0.1.0-snapshot 2020-10-14 20:18:45 +08:00
金戟
c869caa0c9 support targetMethod parameter of TestableInject annotation 2020-10-13 23:13:07 +08:00
金戟
64227f1ed0 implement member method substitution for common object member method 2020-10-13 22:40:59 +08:00
金戟
bc315b72e3 use bytecode stack effect to calculate method begin pos 2020-10-13 21:20:20 +08:00
金戟
6c5bfb9c9b support specify target class and method for injection 2020-10-12 23:34:21 +08:00
金戟
bf90b5c3b9 bump version to 0.0.5-snapshot 2020-10-12 20:49:10 +08:00
金戟
a8a84900ef reduce complexity 2020-10-12 20:15:42 +08:00
金戟
b2ecd2fd14 generate testable internal ref at runtime instead of compile time 2020-10-12 20:09:11 +08:00
金戟
ce0e7e4d3a dynamically update testable inject method access 2020-10-12 19:20:03 +08:00
金戟
efccedc996 refactor and remove unit test framework dependence 2020-10-12 19:01:01 +08:00
金戟
78d3b2ea90 add parameter to allow choose use code or bytecode modification for private member access 2020-08-02 22:57:07 +08:00
金戟
276c23e906 refact and remove unused method 2020-08-02 22:54:21 +08:00
金戟
f614690016 remove n.e class and testable setup method 2020-07-30 00:16:08 +08:00