From 59bcbfdf37feac9174fb34e6a3b517933dffca24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E6=88=9F?= Date: Fri, 17 Dec 2021 14:39:20 +0800 Subject: [PATCH] release v0.7.2 --- demo/android-demo/app/build.gradle | 2 +- demo/java-demo/build.gradle | 4 ++-- demo/java-demo/pom.xml | 2 +- demo/kotlin-demo/build.gradle.kts | 4 ++-- demo/kotlin-demo/pom.xml | 2 +- demo/spock-demo/build.gradle | 4 ++-- demo/spock-demo/pom.xml | 2 +- docs/en-us/doc/release-note.md | 3 +++ docs/en-us/doc/setup.md | 6 +++--- docs/zh-cn/doc/release-note.md | 3 +++ docs/zh-cn/doc/setup.md | 6 +++--- testable-agent/pom.xml | 2 +- testable-all/pom.xml | 2 +- testable-core/pom.xml | 2 +- testable-maven-plugin/pom.xml | 2 +- testable-parent/pom.xml | 4 ++-- testable-processor/pom.xml | 2 +- 17 files changed, 29 insertions(+), 23 deletions(-) diff --git a/demo/android-demo/app/build.gradle b/demo/android-demo/app/build.gradle index 3854b59..06c1529 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.1' + testImplementation 'com.alibaba.testable:testable-all:0.7.2' 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 bfccee2..1e63d78 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.1') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.1') + testImplementation('com.alibaba.testable:testable-all:0.7.2') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.2') } tasks.withType(JavaCompile) { diff --git a/demo/java-demo/pom.xml b/demo/java-demo/pom.xml index 0677f57..e806d71 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.1 + 0.7.2 diff --git a/demo/kotlin-demo/build.gradle.kts b/demo/kotlin-demo/build.gradle.kts index 3650799..4dedd97 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.1") - testAnnotationProcessor("com.alibaba.testable:testable-processor:0.7.1") + testImplementation("com.alibaba.testable:testable-all:0.7.2") + testAnnotationProcessor("com.alibaba.testable:testable-processor:0.7.2") } tasks.withType { diff --git a/demo/kotlin-demo/pom.xml b/demo/kotlin-demo/pom.xml index 83b2dee..a0f7ca5 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.1 + 0.7.2 diff --git a/demo/spock-demo/build.gradle b/demo/spock-demo/build.gradle index ca55303..cadc112 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.1') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.1') + testImplementation('com.alibaba.testable:testable-all:0.7.2') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.2') } tasks.withType(JavaCompile) { diff --git a/demo/spock-demo/pom.xml b/demo/spock-demo/pom.xml index 67c5380..9f2c9cb 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.1 + 0.7.2 diff --git a/docs/en-us/doc/release-note.md b/docs/en-us/doc/release-note.md index 733582c..593c29d 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.2 +- fix an issue cause mock failed with static method reference + ## 0.7.1 - fix an issue cause mock class unrecognized after package-mapping diff --git a/docs/en-us/doc/setup.md b/docs/en-us/doc/setup.md index fa41854..c169e76 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.1 + 0.7.2 ``` @@ -63,8 +63,8 @@ Add dependence of `TestableMock` in `build.gradle` file: ```groovy dependencies { - testImplementation('com.alibaba.testable:testable-all:0.7.1') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.1') + testImplementation('com.alibaba.testable:testable-all:0.7.2') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.2') } ``` diff --git a/docs/zh-cn/doc/release-note.md b/docs/zh-cn/doc/release-note.md index 357acc1..8c2cd9f 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.2 +- 修复静态方法引用导致Mock报错的问题(issue-250) + ## 0.7.1 - 修复包路径映射时后识别不到Mock类的问题(issue-248) diff --git a/docs/zh-cn/doc/setup.md b/docs/zh-cn/doc/setup.md index ebd9377..7549a72 100644 --- a/docs/zh-cn/doc/setup.md +++ b/docs/zh-cn/doc/setup.md @@ -16,7 +16,7 @@ ```xml - 0.7.1 + 0.7.2 ``` @@ -63,8 +63,8 @@ ```groovy dependencies { - testImplementation('com.alibaba.testable:testable-all:0.7.1') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.1') + testImplementation('com.alibaba.testable:testable-all:0.7.2') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.2') } ``` diff --git a/testable-agent/pom.xml b/testable-agent/pom.xml index f4f3a22..15663ac 100755 --- a/testable-agent/pom.xml +++ b/testable-agent/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.7.1 + 0.7.2 ../testable-parent testable-agent diff --git a/testable-all/pom.xml b/testable-all/pom.xml index b1bf7e2..7e7ca4d 100644 --- a/testable-all/pom.xml +++ b/testable-all/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.7.1 + 0.7.2 ../testable-parent testable-all diff --git a/testable-core/pom.xml b/testable-core/pom.xml index 49dad92..883c2c8 100644 --- a/testable-core/pom.xml +++ b/testable-core/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.7.1 + 0.7.2 ../testable-parent testable-core diff --git a/testable-maven-plugin/pom.xml b/testable-maven-plugin/pom.xml index eff91a1..bb3bae2 100644 --- a/testable-maven-plugin/pom.xml +++ b/testable-maven-plugin/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.7.1 + 0.7.2 ../testable-parent testable-maven-plugin diff --git a/testable-parent/pom.xml b/testable-parent/pom.xml index 5749c60..ee17327 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.1 + 0.7.2 pom testable-parent Unit test enhancement toolkit @@ -42,7 +42,7 @@ 1.6 1.6.8 3.6.0 - 0.7.1 + 0.7.2 diff --git a/testable-processor/pom.xml b/testable-processor/pom.xml index c3b3d83..f6788db 100644 --- a/testable-processor/pom.xml +++ b/testable-processor/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.7.1 + 0.7.2 ../testable-parent testable-processor