Commit Graph

257 Commits

Author SHA1 Message Date
金戟
c68289920f move verify method to verifier class 2020-11-17 14:06:59 +08:00
金戟
7e77f77fa2 print count of mock method found 2020-11-17 13:09:34 +08:00
金戟
40a1a999a7 use variable length args 2020-11-17 13:07:53 +08:00
金戟
7d2dd83410 consider return type when calculating stack change 2020-11-16 23:13:45 +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
金戟
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
金戟
648e4aa9cc print code location in warning message 2020-11-16 14:16:58 +08:00
Fan Lin
80499f0da2 update release note 2020-11-15 14:37:44 +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
金戟
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
金戟
c6ea4c168d add verify matcher 2020-11-13 23:41:34 +08:00
金戟
3f59e9e098 opensourced with MIT license 2020-11-10 14:12:25 +08:00
金戟
754d9ce08d update upcoming version feature 2020-11-10 14:10:14 +08:00
金戟
72269fbcd8 rename to testable mock 2020-11-10 13:06:48 +08:00
金戟
6e47057d7f add test case for final field modification 2020-11-10 11:20:21 +08:00
金戟
854c062e93 implement getter of private field 2020-11-10 11:01:22 +08:00
金戟
baf3c8d657 add verify method to doc 2020-11-10 06:54:01 +08:00
金戟
7e88813518 v0.2.2 released 2020-11-07 23:39:21 +08:00
金戟
88fddf2bcc allow to check method never invoke with parameters 2020-11-07 23:24:53 +08:00
金戟
ba2a823c19 add second solution for IDE test problem 2020-11-05 16:53:01 +08:00
金戟
4b282179f4 fix tools.jar issue with java 9+ 2020-11-04 11:48:07 +08:00
金戟
6454ae547e quick check several invocation with same parameters 2020-11-01 13:43:56 +08:00
金戟
5b7382e9b0 require more stack space 2020-11-01 13:42:44 +08:00
金戟
dc904496fc rename verify method names 2020-11-01 09:41:01 +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
金戟
e33c208b8d split private access and mock demo class 2020-10-28 09:12:25 +08:00
金戟
afecf4ddf5 add faq and known issue doc 2020-10-27 23:08:27 +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
金戟
419a10669d add case to test kotlin invoke java method 2020-10-26 20:39:12 +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
金戟
9981aafa93 add project description 2020-10-25 14:24:21 +08:00
金戟
53d27f337c update release note, put surefire config back as comment 2020-10-25 13:58:03 +08:00