mirror of
https://github.com/alibaba/testable-mock.git
synced 2026-08-22 19:23:29 +08:00
bump version to 0.4.9
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
# Release Note
|
||||
|
||||
## 0.4.9
|
||||
- fix an issue cause by improperly bytecode processing while using `targetClass` parameter
|
||||
- auto validate access target of `PrivateAccessor`, improve resistance to code refactoring
|
||||
|
||||
## 0.4.8
|
||||
- Fix an issue of private method invocation failed in assignment statements
|
||||
- Support using mock for testing with `SpringRunner`
|
||||
- Support `targetClass` parameter in `@MockMethod` annotation
|
||||
- fix an issue of private method invocation failed in assignment statements
|
||||
- support using mock for testing with `SpringRunner`
|
||||
- support `targetClass` parameter in `@MockMethod` annotation
|
||||
|
||||
## 0.4.7
|
||||
- Fix incorrect stack size caused by `MOCK_CONTEXT` variable initialization
|
||||
- Fix incorrect gradle build path of under Windows operating system
|
||||
- fix incorrect stack size caused by `MOCK_CONTEXT` variable initialization
|
||||
- fix incorrect gradle build path of under Windows operating system
|
||||
|
||||
## 0.4.6
|
||||
- fix an issue of `IINC` bytecode processing
|
||||
|
||||
@@ -15,7 +15,7 @@ It is recommended to add a `property` field that identifies the TestableMock ver
|
||||
|
||||
```xml
|
||||
<properties>
|
||||
<testable.version>0.4.8</testable.version>
|
||||
<testable.version>0.4.9</testable.version>
|
||||
</properties>
|
||||
```
|
||||
|
||||
@@ -62,8 +62,8 @@ Add dependence of `TestableMock` in `build.gradle` file:
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
testImplementation('com.alibaba.testable:testable-all:0.4.8')
|
||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.8')
|
||||
testImplementation('com.alibaba.testable:testable-all:0.4.9')
|
||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.9')
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Release Note
|
||||
|
||||
## 0.4.9
|
||||
- 修复发起调用的对象不是局部或成员变量时Mock出错的BUG (issue-40)
|
||||
- 增加`PrivateAccessor`访问目标有效性检查,提高抗代码重构能力 (issue-21)
|
||||
|
||||
## 0.4.8
|
||||
- 修复赋值语句中的私有方法调用无法访问的BUG (issue-33)
|
||||
- 支持在包含`SpringRunner`的测试中使用Mock (issue-30)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
```xml
|
||||
<properties>
|
||||
<testable.version>0.4.8</testable.version>
|
||||
<testable.version>0.4.9</testable.version>
|
||||
</properties>
|
||||
```
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
testImplementation('com.alibaba.testable:testable-all:0.4.8')
|
||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.8')
|
||||
testImplementation('com.alibaba.testable:testable-all:0.4.9')
|
||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.9')
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user