金戟
|
189ef43565
|
support mock class inheriting
|
2021-02-15 14:08:56 +08:00 |
|
金戟
|
34f1dc8f73
|
use treatAs instead of isSrc
|
2021-02-15 13:14:04 +08:00 |
|
金戟
|
b60ebf2f2c
|
fix NoClassDefFoundError while using MockWith annotation
|
2021-02-14 18:38:51 +08:00 |
|
金戟
|
d95cba6d37
|
simplify mock context init
|
2021-02-14 13:50:24 +08:00 |
|
金戟
|
5ef06c4bde
|
remove mock context after test
|
2021-02-14 13:22:28 +08:00 |
|
金戟
|
8814276d63
|
remove old mock context holder
|
2021-02-13 17:47:19 +08:00 |
|
金戟
|
374a4d5442
|
use mock context to store invocation record
|
2021-02-13 16:26:47 +08:00 |
|
金戟
|
9a22f361f3
|
use mock context to fetch current test case
|
2021-02-12 01:02:34 +08:00 |
|
金戟
|
94c5aa8621
|
use transmittable thread local to record test case context
|
2021-02-13 12:17:53 +08:00 |
|
金戟
|
19f28c32db
|
fix test case mark and add unnullable map
|
2021-02-11 13:29:08 +08:00 |
|
金戟
|
affa56d057
|
use global mock context parameter
|
2021-02-11 10:15:06 +08:00 |
|
金戟
|
f1edf92626
|
move invoke recorder injection to mock class
|
2021-02-10 22:42:00 +08:00 |
|
金戟
|
6f9accf319
|
invoke via mock singleton instance
|
2021-02-10 22:30:38 +08:00 |
|
金戟
|
cefc5fb1df
|
inject singleton field and method to mock class
|
2021-02-10 13:09:56 +08:00 |
|
金戟
|
948878687c
|
add mock class handler
|
2021-02-10 10:36:51 +08:00 |
|
金戟
|
705ba796f1
|
remove deprecated TestableMock annotation
|
2021-02-09 16:04:13 +08:00 |
|
金戟
|
d57dedb6fc
|
release v0.4.12
|
2021-02-07 10:41:07 +08:00 |
|
金戟
|
7bbdf82a41
|
support specify package prefix of class to be mocked
|
2021-02-06 11:31:51 +08:00 |
|
金戟
|
126c7257d8
|
fix out of index exception when mocking native method
|
2021-02-06 10:44:51 +08:00 |
|
金戟
|
adfba4bac0
|
support verbose log for self diagnosing
|
2021-02-05 22:30:04 +08:00 |
|
金戟
|
f228ed5002
|
release v0.4.11
|
2021-02-02 07:49:20 +08:00 |
|
金戟
|
77b955a5ce
|
use system null type
|
2021-01-31 21:46:46 +08:00 |
|
金戟
|
ba951ce744
|
should always load array variable via aload
|
2021-01-30 23:53:22 +08:00 |
|
金戟
|
650b385785
|
remove TestableMock annotation
|
2021-01-24 16:32:05 +08:00 |
|
金戟
|
99e7c3bf18
|
bump to version 0.4.10
|
2021-01-22 08:26:01 +08:00 |
|
金戟
|
ef5d21baf6
|
fit INVOKEDYNAMIC
|
2021-01-22 00:09:32 +08:00 |
|
金戟
|
2f110ae4d6
|
bump version to 0.4.9
|
2021-01-09 08:03:11 +08:00 |
|
金戟
|
66cb8f7732
|
correctly remove the invoker instance byte code
|
2021-01-08 17:30:30 +08:00 |
|
金戟
|
c1744d2254
|
bump to v0.4.8
|
2021-01-08 08:14:12 +08:00 |
|
金戟
|
31a0b49b7a
|
use targetClass in demo
|
2021-01-06 00:23:46 +08:00 |
|
金戟
|
0a1b46b352
|
fit for kotlin auto generated accessor method
|
2021-01-05 23:28:35 +08:00 |
|
金戟
|
070aeb6559
|
fit mock invocation recorder for targetClass parameter
|
2021-01-05 14:57:20 +08:00 |
|
金戟
|
0255ffa911
|
record mock method desc
|
2021-01-05 14:15:18 +08:00 |
|
金戟
|
f64e0cd959
|
handle targetClass parameter
|
2021-01-05 10:34:05 +08:00 |
|
金戟
|
b42ee1c9b9
|
also fit for EnhancerBySpringCGLIB
|
2021-01-02 19:47:12 +08:00 |
|
itwild
|
631f45f4c5
|
fit for class which enhanced by CGLIB,for example,some class annotated with '@Service' in Spring Framework
|
2021-01-01 22:23:50 +08:00 |
|
金戟
|
36f170bdd3
|
release version 0.4.7
|
2020-12-31 07:30:21 +08:00 |
|
金戟
|
68075a2ead
|
fix method node stack change
|
2020-12-30 22:38:17 +08:00 |
|
金戟
|
783b127bbb
|
fit windows path split
|
2020-12-30 16:03:36 +08:00 |
|
金戟
|
cd7097ded9
|
release version 0.4.6
|
2020-12-30 07:24:49 +08:00 |
|
金戟
|
0f2c889c46
|
rename mock context class
|
2020-12-29 17:41:27 +08:00 |
|
金戟
|
df4ac8e950
|
for static invoke, no more stack required
|
2020-12-29 16:38:13 +08:00 |
|
金戟
|
9e393b5ef5
|
use mock context to inject extra mock parameters
|
2020-12-29 16:35:49 +08:00 |
|
金戟
|
a6b289e136
|
fix issue cause by iinc bytecode
|
2020-12-28 14:43:08 +08:00 |
|
金戟
|
9a7372d9ab
|
recommand to use static declared mock method
|
2020-12-27 22:07:08 +08:00 |
|
金戟
|
e11f2e1645
|
release version 0.4.5
|
2020-12-27 20:13:07 +08:00 |
|
金戟
|
d14c570c96
|
search this reference properly
|
2020-12-27 13:11:26 +08:00 |
|
金戟
|
8a8065e179
|
show warning when access none static method in mock method
|
2020-12-27 11:35:14 +08:00 |
|
金戟
|
28bb6454c8
|
avoid source class be re-transformed
|
2020-12-27 11:34:25 +08:00 |
|
金戟
|
13fa8a76ce
|
support dump transformed bytecode to local file
|
2020-12-26 21:48:57 +08:00 |
|
金戟
|
d7945f52f3
|
extra global config
|
2020-12-26 19:31:10 +08:00 |
|
金戟
|
ee21c8dcd8
|
transform mock method body to static context
|
2020-12-26 16:20:34 +08:00 |
|
金戟
|
281be6bd51
|
let mock method be static
|
2020-12-26 14:27:08 +08:00 |
|
金戟
|
d6ac715f57
|
release v0.4.4
|
2020-12-24 07:33:45 +08:00 |
|
金戟
|
6b126223e8
|
fix mocking bug of static method without parameter
|
2020-12-23 21:12:40 +08:00 |
|
金戟
|
d17bdb258b
|
release v0.4.3
|
2020-12-21 10:27:46 +08:00 |
|
金戟
|
d1007f6166
|
support mute agent log
|
2020-12-17 13:17:56 +08:00 |
|
金戟
|
bf4c263d93
|
bump to v0.4.2
|
2020-12-15 19:19:58 +08:00 |
|
金戟
|
28bde0b85a
|
method invocation could contain LabelNode and LineNumberNode
|
2020-12-15 14:19:05 +08:00 |
|
金戟
|
179e71c7c2
|
loaded class cache not actually working
|
2020-12-14 22:57:13 +08:00 |
|
金戟
|
83974cfb2a
|
avoid duplicate test class injection
|
2020-12-14 22:36:35 +08:00 |
|
金戟
|
abb6d04c16
|
support set log level via maven plugin
|
2020-12-14 21:25:51 +08:00 |
|
金戟
|
180dfe9da8
|
set to next snapshot
|
2020-12-14 19:06:38 +08:00 |
|
金戟
|
2dea6f9480
|
update docs and bump version to 0.4.1
|
2020-12-12 00:05:53 +08:00 |
|
金戟
|
3f672e45da
|
do deprecate instead of removal
|
2020-12-11 21:19:16 +08:00 |
|
金戟
|
328c8540a8
|
use MockMethod and MockConstructor replace TestableMock annotation
|
2020-12-11 20:29:49 +08:00 |
|
金戟
|
857b5e2295
|
bump to v0.4.0
|
2020-12-11 12:22:22 +08:00 |
|
金戟
|
0ae39d9deb
|
green light the demo package
|
2020-12-10 20:02:23 +08:00 |
|
金戟
|
260fe94a49
|
fix a classloader filter issue for java 9+
|
2020-12-10 19:21:33 +08:00 |
|
金戟
|
c8115f9623
|
add verbose log when test start
|
2020-12-10 15:47:55 +08:00 |
|
金戟
|
5150868e8c
|
move CONSTRUCTOR to TestableConst
|
2020-12-10 08:45:01 +08:00 |
|
金戟
|
495c08f716
|
extra common configure to parent pom
|
2020-12-08 16:22:14 +08:00 |
|
金戟
|
bd0ec5f4b7
|
reduce log reset frequency
|
2020-12-07 23:26:18 +08:00 |
|
金戟
|
b74b21cae6
|
set to snapshot
|
2020-12-05 09:39:20 +08:00 |
|
金戟
|
ad63de628d
|
refactor log methods
|
2020-12-05 09:29:14 +08:00 |
|
金戟
|
08aa73b4bd
|
use global log level
|
2020-12-04 22:50:02 +08:00 |
|
金戟
|
dd7499f3cf
|
bump version to 0.3.2
|
2020-12-01 23:54:04 +08:00 |
|
金戟
|
92f9c27561
|
dump to snapshot version
|
2020-11-28 20:36:20 +08:00 |
|
金戟
|
d75fdcd4e9
|
update docs and release 0.3.1
|
2020-11-24 23:18:12 +08:00 |
|
金戟
|
47115b22af
|
remove spring framework from demos
|
2020-11-22 00:46:50 +08:00 |
|
金戟
|
401b5f83d7
|
support enable diagnose log by test class
|
2020-11-18 10:31:33 +08:00 |
|
金戟
|
0657c19da3
|
set to next snapshot version
|
2020-11-17 19:45:31 +08:00 |
|
金戟
|
b275f32e44
|
bump version to 0.3.0, fix javadoc
|
2020-11-17 15:33:39 +08:00 |
|
金戟
|
7e77f77fa2
|
print count of mock method found
|
2020-11-17 13:09:34 +08:00 |
|
金戟
|
7d2dd83410
|
consider return type when calculating stack change
|
2020-11-16 23:13:45 +08:00 |
|
金戟
|
f63b694b0c
|
move matchers to standalone package
|
2020-11-16 19:11:31 +08:00 |
|
金戟
|
809b1aa57f
|
let's handle invoke and array correctly
|
2020-11-16 19:01:29 +08:00 |
|
金戟
|
f7dba2d33d
|
add instrument process debug log
|
2020-11-16 14:47:49 +08:00 |
|
金戟
|
36e260688e
|
need to increase stack by 1
|
2020-11-16 14:25:20 +08:00 |
|
金戟
|
bf9ceeea0f
|
use release profile
|
2020-11-14 07:06:36 +08:00 |
|
金戟
|
73ef418f39
|
complete pom file information
|
2020-11-14 06:54:56 +08:00 |
|
金戟
|
5b7382e9b0
|
require more stack space
|
2020-11-01 13:42:44 +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 |
|
金戟
|
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 |
|
金戟
|
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 |
|
金戟
|
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 |
|
金戟
|
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 |
|