release v0.7.5

This commit is contained in:
金戟 2022-03-08 12:38:35 +08:00
parent ff54c57608
commit 2e58ae8360
17 changed files with 29 additions and 23 deletions

View File

@ -49,7 +49,7 @@ dependencies {
testImplementation 'androidx.test:runner:1.4.0-alpha05' testImplementation 'androidx.test:runner:1.4.0-alpha05'
testImplementation 'junit:junit:4.+' testImplementation 'junit:junit:4.+'
testImplementation 'org.robolectric:robolectric:4.5.1' testImplementation 'org.robolectric:robolectric:4.5.1'
testImplementation 'com.alibaba.testable:testable-all:0.7.4' testImplementation 'com.alibaba.testable:testable-all:0.7.5'
androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
} }

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.7.4') testImplementation('com.alibaba.testable:testable-all:0.7.5')
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.4') testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5')
} }
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.7.4</testable.version> <testable.version>0.7.5</testable.version>
</properties> </properties>
<dependencies> <dependencies>

View File

@ -17,8 +17,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.7.4") testImplementation("com.alibaba.testable:testable-all:0.7.5")
testAnnotationProcessor("com.alibaba.testable:testable-processor:0.7.4") testAnnotationProcessor("com.alibaba.testable:testable-processor:0.7.5")
} }
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.7.4</testable.version> <testable.version>0.7.5</testable.version>
</properties> </properties>
<dependencies> <dependencies>

View File

@ -14,8 +14,8 @@ repositories {
dependencies { dependencies {
testImplementation 'org.codehaus.groovy:groovy-all:3.0.7' testImplementation 'org.codehaus.groovy:groovy-all:3.0.7'
testImplementation 'org.spockframework:spock-core:2.0-M5-groovy-3.0' testImplementation 'org.spockframework:spock-core:2.0-M5-groovy-3.0'
testImplementation('com.alibaba.testable:testable-all:0.7.4') testImplementation('com.alibaba.testable:testable-all:0.7.5')
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.4') testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5')
} }
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {

View File

@ -12,7 +12,7 @@
<java.version>1.8</java.version> <java.version>1.8</java.version>
<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>
<testable.version>0.7.4</testable.version> <testable.version>0.7.5</testable.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>

View File

@ -1,5 +1,8 @@
# Release Note # Release Note
## 0.7.5
- fix an issue cause mocking method with array return type fails
## 0.7.4 ## 0.7.4
- fix an `OmniConstructor.newInstance()` fail issue caused by `java.net.URL` class cannot be instrumented - fix an `OmniConstructor.newInstance()` fail issue caused by `java.net.URL` class cannot be instrumented

View File

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

View File

@ -1,5 +1,8 @@
# Release Note # Release Note
## 0.7.5
- 修复Mock数组类型返回值方法报错的问题issue-267
## 0.7.4 ## 0.7.4
- 修复`java.net.URL`类无法被instrument导致使用`OmniConstructor`构造报错的问题issue-261 - 修复`java.net.URL`类无法被instrument导致使用`OmniConstructor`构造报错的问题issue-261

View File

@ -16,7 +16,7 @@
```xml ```xml
<properties> <properties>
<testable.version>0.7.4</testable.version> <testable.version>0.7.5</testable.version>
</properties> </properties>
``` ```
@ -63,8 +63,8 @@
```groovy ```groovy
dependencies { dependencies {
testImplementation('com.alibaba.testable:testable-all:0.7.4') testImplementation('com.alibaba.testable:testable-all:0.7.5')
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.4') testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5')
} }
``` ```

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.7.4</version> <version>0.7.5</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.7.4</version> <version>0.7.5</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.7.4</version> <version>0.7.5</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.7.4</version> <version>0.7.5</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.7.4</version> <version>0.7.5</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.7.4</testable.version> <testable.version>0.7.5</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.7.4</version> <version>0.7.5</version>
<relativePath>../testable-parent</relativePath> <relativePath>../testable-parent</relativePath>
</parent> </parent>
<artifactId>testable-processor</artifactId> <artifactId>testable-processor</artifactId>