Commit Graph

288 Commits

Author SHA1 Message Date
金戟
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
金戟
9321980a68 dynamical make substitution via byte code exchange 2020-07-29 21:41:38 +08:00
金戟
47aa73bd13 make testable inject method public 2020-07-29 11:57:50 +08:00
金戟
bd203dc409 generate testable reference field 2020-07-28 17:50:12 +08:00
金戟
ee275a319a exact match substitution method 2020-07-27 23:13:55 +08:00
金戟
4918a17a08 bump version to 0.0.4 2020-07-27 22:45:08 +08:00
金戟
e6ff355da9 code refactor and add test case for util classes 2020-07-27 20:41:12 +08:00
金戟
2f6c2105f6 handle inner class correctly 2020-07-26 21:16:46 +08:00
金戟
9e1c1b8c3b some annotation type can be null, e.g. java.lang.Override 2020-07-26 20:42:27 +08:00
金戟
a814e51f66 implement util function to get current member method and test case 2020-07-26 20:20:32 +08:00
金戟
5ac7f354f3 standalone annotation jar is not necessary 2020-07-26 16:55:53 +08:00
金戟
6473efd652 get types instead of size 2020-07-25 23:20:55 +08:00
金戟
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