bump version to 0.4.9

This commit is contained in:
金戟 2021-01-09 08:03:11 +08:00
parent 7ba44ae618
commit 2f110ae4d6
14 changed files with 32 additions and 24 deletions

View File

@ -13,8 +13,8 @@ repositories {
dependencies { dependencies {
testImplementation('org.junit.jupiter:junit-jupiter:5.6.2') testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
testImplementation('com.alibaba.testable:testable-all:0.4.8') testImplementation('com.alibaba.testable:testable-all:0.4.9')
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.8') testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.9')
} }
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {

View File

@ -12,7 +12,7 @@
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
<junit.version>5.6.2</junit.version> <junit.version>5.6.2</junit.version>
<testable.version>0.4.8</testable.version> <testable.version>0.4.9</testable.version>
</properties> </properties>
<dependencies> <dependencies>

View File

@ -16,8 +16,8 @@ dependencies {
implementation("org.jetbrains.kotlin:kotlin-reflect") implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
testImplementation("org.junit.jupiter:junit-jupiter:5.6.2") testImplementation("org.junit.jupiter:junit-jupiter:5.6.2")
testImplementation("com.alibaba.testable:testable-all:0.4.8") testImplementation("com.alibaba.testable:testable-all:0.4.9")
testAnnotationProcessor("com.alibaba.testable:testable-processor:0.4.8") testAnnotationProcessor("com.alibaba.testable:testable-processor:0.4.9")
} }
tasks.withType<KotlinCompile> { tasks.withType<KotlinCompile> {

View File

@ -14,7 +14,7 @@
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
<junit.version>5.6.2</junit.version> <junit.version>5.6.2</junit.version>
<testable.version>0.4.8</testable.version> <testable.version>0.4.9</testable.version>
</properties> </properties>
<dependencies> <dependencies>

View File

@ -1,13 +1,17 @@
# Release Note # 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 ## 0.4.8
- Fix an issue of private method invocation failed in assignment statements - fix an issue of private method invocation failed in assignment statements
- Support using mock for testing with `SpringRunner` - support using mock for testing with `SpringRunner`
- Support `targetClass` parameter in `@MockMethod` annotation - support `targetClass` parameter in `@MockMethod` annotation
## 0.4.7 ## 0.4.7
- Fix incorrect stack size caused by `MOCK_CONTEXT` variable initialization - fix incorrect stack size caused by `MOCK_CONTEXT` variable initialization
- Fix incorrect gradle build path of under Windows operating system - fix incorrect gradle build path of under Windows operating system
## 0.4.6 ## 0.4.6
- fix an issue of `IINC` bytecode processing - fix an issue of `IINC` bytecode processing

View File

@ -15,7 +15,7 @@ It is recommended to add a `property` field that identifies the TestableMock ver
```xml ```xml
<properties> <properties>
<testable.version>0.4.8</testable.version> <testable.version>0.4.9</testable.version>
</properties> </properties>
``` ```
@ -62,8 +62,8 @@ Add dependence of `TestableMock` in `build.gradle` file:
```groovy ```groovy
dependencies { dependencies {
testImplementation('com.alibaba.testable:testable-all:0.4.8') testImplementation('com.alibaba.testable:testable-all:0.4.9')
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.8') testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.9')
} }
``` ```

View File

@ -1,5 +1,9 @@
# Release Note # Release Note
## 0.4.9
- 修复发起调用的对象不是局部或成员变量时Mock出错的BUG (issue-40)
- 增加`PrivateAccessor`访问目标有效性检查,提高抗代码重构能力 (issue-21)
## 0.4.8 ## 0.4.8
- 修复赋值语句中的私有方法调用无法访问的BUG (issue-33) - 修复赋值语句中的私有方法调用无法访问的BUG (issue-33)
- 支持在包含`SpringRunner`的测试中使用Mock (issue-30) - 支持在包含`SpringRunner`的测试中使用Mock (issue-30)

View File

@ -15,7 +15,7 @@
```xml ```xml
<properties> <properties>
<testable.version>0.4.8</testable.version> <testable.version>0.4.9</testable.version>
</properties> </properties>
``` ```
@ -62,8 +62,8 @@
```groovy ```groovy
dependencies { dependencies {
testImplementation('com.alibaba.testable:testable-all:0.4.8') testImplementation('com.alibaba.testable:testable-all:0.4.9')
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.8') testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.9')
} }
``` ```

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>com.alibaba.testable</groupId> <groupId>com.alibaba.testable</groupId>
<artifactId>testable-parent</artifactId> <artifactId>testable-parent</artifactId>
<version>0.4.8</version> <version>0.4.9</version>
<relativePath>../testable-parent</relativePath> <relativePath>../testable-parent</relativePath>
</parent> </parent>
<artifactId>testable-agent</artifactId> <artifactId>testable-agent</artifactId>

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>com.alibaba.testable</groupId> <groupId>com.alibaba.testable</groupId>
<artifactId>testable-parent</artifactId> <artifactId>testable-parent</artifactId>
<version>0.4.8</version> <version>0.4.9</version>
<relativePath>../testable-parent</relativePath> <relativePath>../testable-parent</relativePath>
</parent> </parent>
<artifactId>testable-all</artifactId> <artifactId>testable-all</artifactId>

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>com.alibaba.testable</groupId> <groupId>com.alibaba.testable</groupId>
<artifactId>testable-parent</artifactId> <artifactId>testable-parent</artifactId>
<version>0.4.8</version> <version>0.4.9</version>
<relativePath>../testable-parent</relativePath> <relativePath>../testable-parent</relativePath>
</parent> </parent>
<artifactId>testable-core</artifactId> <artifactId>testable-core</artifactId>

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>com.alibaba.testable</groupId> <groupId>com.alibaba.testable</groupId>
<artifactId>testable-parent</artifactId> <artifactId>testable-parent</artifactId>
<version>0.4.8</version> <version>0.4.9</version>
<relativePath>../testable-parent</relativePath> <relativePath>../testable-parent</relativePath>
</parent> </parent>
<artifactId>testable-maven-plugin</artifactId> <artifactId>testable-maven-plugin</artifactId>

View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.alibaba.testable</groupId> <groupId>com.alibaba.testable</groupId>
<artifactId>testable-parent</artifactId> <artifactId>testable-parent</artifactId>
<version>0.4.8</version> <version>0.4.9</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>testable-parent</name> <name>testable-parent</name>
<description>Unit test enhancement toolkit</description> <description>Unit test enhancement toolkit</description>
@ -42,7 +42,7 @@
<plugin.gpg.version>1.6</plugin.gpg.version> <plugin.gpg.version>1.6</plugin.gpg.version>
<plugin.staging.version>1.6.8</plugin.staging.version> <plugin.staging.version>1.6.8</plugin.staging.version>
<plugin.maven.version>3.6.0</plugin.maven.version> <plugin.maven.version>3.6.0</plugin.maven.version>
<testable.version>0.4.8</testable.version> <testable.version>0.4.9</testable.version>
</properties> </properties>
<profiles> <profiles>

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>com.alibaba.testable</groupId> <groupId>com.alibaba.testable</groupId>
<artifactId>testable-parent</artifactId> <artifactId>testable-parent</artifactId>
<version>0.4.8</version> <version>0.4.9</version>
<relativePath>../testable-parent</relativePath> <relativePath>../testable-parent</relativePath>
</parent> </parent>
<artifactId>testable-processor</artifactId> <artifactId>testable-processor</artifactId>