金戟
c76ed2d84a
implement origin-invoker method
2021-02-18 12:10:08 +08:00
金戟
14549040d9
fit invoke from test case without testable
2021-02-17 23:24:14 +08:00
金戟
03ec857cd0
invoke origin method if not associated
2021-02-17 22:59:24 +08:00
金戟
b4a29e7e8e
mock target is always in parameter when recording
2021-02-17 20:04:26 +08:00
金戟
02c74299f4
prepare mock association util
2021-02-17 19:53:12 +08:00
金戟
6d6e2ecb7f
add mock method scope
2021-02-17 17:59:13 +08:00
金戟
c364e96f77
add association check method
2021-02-17 17:38:30 +08:00
金戟
be53ea2d9c
suggest use MockDiagnose to set log level
2021-02-16 10:47:18 +08:00
金戟
2a54fe70dd
mock context can be null
2021-02-15 14:39:43 +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
金戟
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
金戟
948878687c
add mock class handler
2021-02-10 10:36:51 +08:00
金戟
d626906d28
thread mark not actually needed
2021-02-09 22:27:30 +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
金戟
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
金戟
f9be92e9d0
for InvocationTargetException, bring root cause out
2021-01-21 22:49:49 +08:00
金戟
019e407a4f
Merge branch 'master' into 0.5
...
* master:
support private method invoke with null parameter
put parameter constructor doc to sidebar
update en-us docs to fit targetClass parameter usage
2021-01-21 22:36:18 +08:00
金戟
6951b98c7e
support private method invoke with null parameter
2021-01-21 22:03:53 +08:00
金戟
453908cd46
add NoVerify class for accessing private member of any object
2021-01-11 11:25:45 +08:00
金戟
2f110ae4d6
bump version to 0.4.9
2021-01-09 08:03:11 +08:00
金戟
c1744d2254
bump to v0.4.8
2021-01-08 08:14:12 +08:00
金戟
070aeb6559
fit mock invocation recorder for targetClass parameter
2021-01-05 14:57:20 +08:00
金戟
f64e0cd959
handle targetClass parameter
2021-01-05 10:34:05 +08:00
金戟
74b68d495a
add targetClass parameter
2021-01-04 23:31:58 +08:00
金戟
36f170bdd3
release version 0.4.7
2020-12-31 07:30:21 +08:00
金戟
cd7097ded9
release version 0.4.6
2020-12-30 07:24:49 +08:00
金戟
9e393b5ef5
use mock context to inject extra mock parameters
2020-12-29 16:35:49 +08:00
金戟
3df95db607
static constraint will be remove in future
2020-12-29 11:45:07 +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
金戟
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
金戟
703aa319ba
type assignable instead of equal
2020-12-23 18:53:26 +08:00
金戟
d17bdb258b
release v0.4.3
2020-12-21 10:27:46 +08:00
金戟
bf4c263d93
bump to v0.4.2
2020-12-15 19:19:58 +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