金戟
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
金戟
adfba4bac0
support verbose log for self diagnosing
2021-02-05 22:30:04 +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
金戟
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
金戟
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
金戟
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
金戟
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
金戟
703aa319ba
type assignable instead of equal
2020-12-23 18:53:26 +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
金戟
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
金戟
dad2ea3a76
update log level when default log level changed
2020-12-10 19:22:22 +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
金戟
65807eece7
avoid test case naming conflict between classes
2020-12-05 10:16:22 +08:00
金戟
ad63de628d
refactor log methods
2020-12-05 09:29:14 +08:00
金戟
1d98e3c618
support invoke private companion object method in kotlin
2020-12-01 23:49:48 +08:00
金戟
472f90e7e4
add static access methods to private accessor
2020-11-30 22:57:37 +08:00
金戟
1bf6ab3b21
fit test case name fetcher for gradle build
2020-11-29 10:39:55 +08:00
金戟
35dbc1f497
also look current thread for test case name
2020-11-28 22:42:25 +08:00
金戟
401b5f83d7
support enable diagnose log by test class
2020-11-18 10:31:33 +08:00
金戟
b275f32e44
bump version to 0.3.0, fix javadoc
2020-11-17 15:33:39 +08:00
金戟
c68289920f
move verify method to verifier class
2020-11-17 14:06:59 +08:00
金戟
40a1a999a7
use variable length args
2020-11-17 13:07:53 +08:00
金戟
43cd4aeeec
add test case for matchers
2020-11-16 21:53:32 +08:00
金戟
525e252f96
skip type comparation for macher
2020-11-16 19:19:02 +08:00
金戟
f63b694b0c
move matchers to standalone package
2020-11-16 19:11:31 +08:00
金戟
648e4aa9cc
print code location in warning message
2020-11-16 14:16:58 +08:00
Fan Lin
d7ffbcbc32
remove unused mock type
2020-11-15 14:36:57 +08:00
Fan Lin
e586d5db79
handle matcher in verification
2020-11-15 14:34:29 +08:00
金戟
c6ea4c168d
add verify matcher
2020-11-13 23:41:34 +08:00
金戟
88fddf2bcc
allow to check method never invoke with parameters
2020-11-07 23:24:53 +08:00
金戟
6454ae547e
quick check several invocation with same parameters
2020-11-01 13:43:56 +08:00
金戟
dc904496fc
rename verify method names
2020-11-01 09:41:01 +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
金戟
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