Commit Graph

267 Commits

Author SHA1 Message Date
金戟
6009326150 fix incorrect type name in byte code 2020-07-25 23:12:18 +08:00
金戟
a947939d08 fix package path in strings 2020-07-25 22:54:57 +08:00
金戟
5a4c5d847e use runtime byte rewrite to invoke testableSetup method 2020-07-25 22:47:32 +08:00
金戟
53d9495838 change package path to avoid conflict between core and agent 2020-07-25 22:46:17 +08:00
金戟
264d3d95b6 move enable testable inject annotation to separate jar 2020-07-25 20:34:57 +08:00
金戟
6a2269a107 remove unused processor and upgrade version to 0.0.3 snapshot 2020-07-25 19:06:17 +08:00
金戟
928e2f4414 fit more method return type 2020-07-25 11:35:23 +08:00
金戟
c93a5855de successfully pass member subsitution test cases 2020-07-25 10:04:57 +08:00
金戟
83df20c36b implement member method call substitution 2020-07-24 22:12:52 +08:00
金戟
9c5be87f42 refactor and add comments 2020-07-22 23:57:23 +08:00
金戟
9c757cebc1 unfold parameter list for n.e.f method 2020-07-22 23:26:03 +08:00
金戟
8dd76e22ff remove not used visitor 2020-07-22 22:42:58 +08:00
金戟
b75e3f5291 rename transformer to handler 2020-07-22 22:39:34 +08:00
金戟
d91d972aa7 refactor n.e class to type util 2020-07-22 22:09:03 +08:00
金戟
f30e8ffd3a add test case of array type parameter 2020-07-22 00:17:23 +08:00
金戟
044f201492 implement new operation replacement 2020-07-21 23:23:56 +08:00
金戟
6f292b6334 simple dirty way to pass new class test case 2020-07-21 22:45:00 +08:00
金戟
a1ee894faf use asm tree api 2020-07-21 22:02:05 +08:00
金戟
612173f193 add author doc 2020-07-21 12:22:54 +08:00
金戟
6103a691ce more effective check 2020-07-21 12:19:08 +08:00
金戟
592731a3e6 implement method record visitor 2020-07-21 00:08:05 +08:00
金戟
e51da09824 move testable agent generation to EnableTestableProcessor 2020-07-20 23:18:54 +08:00
金戟
0f007c6d96 no need to generate e.java any more 2020-07-20 22:45:01 +08:00
金戟
bc62af8bb1 avoid "n" naming conflict 2020-07-20 22:16:45 +08:00
金戟
c449649679 auto copy testable agent to target folder 2020-07-20 21:53:59 +08:00
金戟
d1d34cae1c let agent be resource of core jar 2020-07-20 20:29:50 +08:00
金戟
738f2fc431 handle binary operator case 2020-06-04 00:22:04 +08:00
金戟
48993d7f18 add readme 2020-06-03 16:44:44 +08:00
金戟
8e95fefb58 travel all methods before handle testable injection 2020-06-01 19:43:31 +08:00
金戟
0410990a90 add agent module 2020-05-30 00:28:07 +08:00
金戟
4f7fb190db fix case of using member method invocation as invoker 2020-05-29 19:18:54 +08:00
金戟
df0e6766aa testable class is not needed any more 2020-05-22 21:33:16 +08:00
金戟
c905acf44f use global invoke replace testable class method 2020-05-22 21:24:34 +08:00
金戟
229477a336 use global setter replace testable class setter 2020-05-22 20:18:02 +08:00
金戟
35a29aa95c extract test setup method to standalone generator 2020-05-21 23:38:28 +08:00
金戟
fa79075055 rename annotations 2020-05-21 22:21:17 +08:00
金戟
70b68425b4 bump v0.0.2 2020-05-21 10:40:18 +08:00
金戟
eeb3117e7b fix crash when meet primary parameter type 2020-05-21 10:37:13 +08:00
金戟
fecaafca88 able to inject member methods 2020-05-21 10:05:46 +08:00
金戟
973ca937f6 refactor e class, add pool for member method substitution 2020-05-20 17:32:13 +08:00
金戟
e17846120f fix global new method, v0.0.1 milestone complete 2020-05-19 23:05:18 +08:00
金戟
14659f332d add substitutions to global inject method pool 2020-05-19 21:18:08 +08:00
金戟
24a0cb32b2 extract testable context 2020-05-19 13:17:28 +08:00
金戟
7c1cb7d0ad create annotation via tree maker 2020-05-19 10:15:55 +08:00
金戟
7c1da02293 extract setup method and inject methods 2020-05-19 00:21:58 +08:00
金戟
ce296710d9 generate correct setter and getter 2020-05-17 01:22:51 +08:00
金戟
bc49fda272 handling setter exchange 2020-05-16 23:39:02 +08:00
金戟
cbb3a62fff add private field access generators 2020-05-16 21:13:41 +08:00
金戟
12ddb9398c use testable annotation for both dev and test role 2020-05-16 12:29:37 +08:00
金戟
44eda2be06 add pool field to static new class 2020-05-16 12:03:29 +08:00