diff --git a/demo/android-demo/app/build.gradle b/demo/android-demo/app/build.gradle index b9db515..e5a9365 100644 --- a/demo/android-demo/app/build.gradle +++ b/demo/android-demo/app/build.gradle @@ -49,7 +49,7 @@ dependencies { testImplementation 'androidx.test:runner:1.4.0-alpha05' testImplementation 'junit:junit:4.+' 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.espresso:espresso-core:3.2.0' } \ No newline at end of file diff --git a/demo/java-demo/build.gradle b/demo/java-demo/build.gradle index 884cc01..519333d 100644 --- a/demo/java-demo/build.gradle +++ b/demo/java-demo/build.gradle @@ -13,8 +13,8 @@ repositories { dependencies { testImplementation('org.junit.jupiter:junit-jupiter:5.6.2') - testImplementation('com.alibaba.testable:testable-all:0.7.4') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.4') + testImplementation('com.alibaba.testable:testable-all:0.7.5') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5') } tasks.withType(JavaCompile) { diff --git a/demo/java-demo/pom.xml b/demo/java-demo/pom.xml index 6e1f1c0..e7155d2 100644 --- a/demo/java-demo/pom.xml +++ b/demo/java-demo/pom.xml @@ -12,7 +12,7 @@ 1.8 1.8 5.6.2 - 0.7.4 + 0.7.5 diff --git a/demo/kotlin-demo/build.gradle.kts b/demo/kotlin-demo/build.gradle.kts index b8e2205..1fabaa2 100644 --- a/demo/kotlin-demo/build.gradle.kts +++ b/demo/kotlin-demo/build.gradle.kts @@ -17,8 +17,8 @@ dependencies { implementation("org.jetbrains.kotlin:kotlin-reflect") implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") testImplementation("org.junit.jupiter:junit-jupiter:5.6.2") - testImplementation("com.alibaba.testable:testable-all:0.7.4") - testAnnotationProcessor("com.alibaba.testable:testable-processor:0.7.4") + testImplementation("com.alibaba.testable:testable-all:0.7.5") + testAnnotationProcessor("com.alibaba.testable:testable-processor:0.7.5") } tasks.withType { diff --git a/demo/kotlin-demo/pom.xml b/demo/kotlin-demo/pom.xml index d463c3a..9583143 100644 --- a/demo/kotlin-demo/pom.xml +++ b/demo/kotlin-demo/pom.xml @@ -14,7 +14,7 @@ 1.8 1.8 5.6.2 - 0.7.4 + 0.7.5 diff --git a/demo/spock-demo/build.gradle b/demo/spock-demo/build.gradle index e908fc7..94badcd 100644 --- a/demo/spock-demo/build.gradle +++ b/demo/spock-demo/build.gradle @@ -14,8 +14,8 @@ repositories { dependencies { testImplementation 'org.codehaus.groovy:groovy-all:3.0.7' testImplementation 'org.spockframework:spock-core:2.0-M5-groovy-3.0' - testImplementation('com.alibaba.testable:testable-all:0.7.4') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.4') + testImplementation('com.alibaba.testable:testable-all:0.7.5') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5') } tasks.withType(JavaCompile) { diff --git a/demo/spock-demo/pom.xml b/demo/spock-demo/pom.xml index 57d4134..5e94ee8 100644 --- a/demo/spock-demo/pom.xml +++ b/demo/spock-demo/pom.xml @@ -12,7 +12,7 @@ 1.8 1.8 1.8 - 0.7.4 + 0.7.5 diff --git a/docs/en-us/doc/release-note.md b/docs/en-us/doc/release-note.md index a3364bc..0134a7a 100644 --- a/docs/en-us/doc/release-note.md +++ b/docs/en-us/doc/release-note.md @@ -1,5 +1,8 @@ # Release Note +## 0.7.5 +- fix an issue cause mocking method with array return type fails + ## 0.7.4 - fix an `OmniConstructor.newInstance()` fail issue caused by `java.net.URL` class cannot be instrumented diff --git a/docs/en-us/doc/setup.md b/docs/en-us/doc/setup.md index 1175aca..620d035 100644 --- a/docs/en-us/doc/setup.md +++ b/docs/en-us/doc/setup.md @@ -16,7 +16,7 @@ It is recommended to add a `property` field that identifies the TestableMock ver ```xml - 0.7.4 + 0.7.5 ``` @@ -63,8 +63,8 @@ Add dependence of `TestableMock` in `build.gradle` file: ```groovy dependencies { - testImplementation('com.alibaba.testable:testable-all:0.7.4') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.4') + testImplementation('com.alibaba.testable:testable-all:0.7.5') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5') } ``` diff --git a/docs/zh-cn/doc/release-note.md b/docs/zh-cn/doc/release-note.md index 9caf6ea..0373c61 100644 --- a/docs/zh-cn/doc/release-note.md +++ b/docs/zh-cn/doc/release-note.md @@ -1,5 +1,8 @@ # Release Note +## 0.7.5 +- 修复Mock数组类型返回值方法报错的问题(issue-267) + ## 0.7.4 - 修复`java.net.URL`类无法被instrument导致使用`OmniConstructor`构造报错的问题(issue-261) diff --git a/docs/zh-cn/doc/setup.md b/docs/zh-cn/doc/setup.md index 3446bb1..a7ab5b5 100644 --- a/docs/zh-cn/doc/setup.md +++ b/docs/zh-cn/doc/setup.md @@ -16,7 +16,7 @@ ```xml - 0.7.4 + 0.7.5 ``` @@ -63,8 +63,8 @@ ```groovy dependencies { - testImplementation('com.alibaba.testable:testable-all:0.7.4') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.4') + testImplementation('com.alibaba.testable:testable-all:0.7.5') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5') } ``` diff --git a/testable-agent/pom.xml b/testable-agent/pom.xml index 1cb3f46..3963720 100755 --- a/testable-agent/pom.xml +++ b/testable-agent/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.7.4 + 0.7.5 ../testable-parent testable-agent diff --git a/testable-all/pom.xml b/testable-all/pom.xml index c2eceb3..df3cff0 100644 --- a/testable-all/pom.xml +++ b/testable-all/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.7.4 + 0.7.5 ../testable-parent testable-all diff --git a/testable-core/pom.xml b/testable-core/pom.xml index 9f02a1f..b47f4f5 100644 --- a/testable-core/pom.xml +++ b/testable-core/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.7.4 + 0.7.5 ../testable-parent testable-core diff --git a/testable-maven-plugin/pom.xml b/testable-maven-plugin/pom.xml index ba996b7..d3e1773 100644 --- a/testable-maven-plugin/pom.xml +++ b/testable-maven-plugin/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.7.4 + 0.7.5 ../testable-parent testable-maven-plugin diff --git a/testable-parent/pom.xml b/testable-parent/pom.xml index 52f3aff..3362adc 100644 --- a/testable-parent/pom.xml +++ b/testable-parent/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.alibaba.testable testable-parent - 0.7.4 + 0.7.5 pom testable-parent Unit test enhancement toolkit @@ -42,7 +42,7 @@ 1.6 1.6.8 3.6.0 - 0.7.4 + 0.7.5 diff --git a/testable-processor/pom.xml b/testable-processor/pom.xml index 39c5a45..c264e95 100644 --- a/testable-processor/pom.xml +++ b/testable-processor/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.7.4 + 0.7.5 ../testable-parent testable-processor