mirror of
https://github.com/alibaba/testable-mock.git
synced 2025-01-01 07:50:22 +08:00
release v0.7.6
This commit is contained in:
parent
0f64d52718
commit
7aedcf63b5
@ -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.5'
|
||||
testImplementation 'com.alibaba.testable:testable-all:0.7.6'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
||||
}
|
@ -13,8 +13,8 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
|
||||
testImplementation('com.alibaba.testable:testable-all:0.7.5')
|
||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5')
|
||||
testImplementation('com.alibaba.testable:testable-all:0.7.6')
|
||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.6')
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
|
@ -12,7 +12,7 @@
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<junit.version>5.6.2</junit.version>
|
||||
<testable.version>0.7.5</testable.version>
|
||||
<testable.version>0.7.6</testable.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -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.5")
|
||||
testAnnotationProcessor("com.alibaba.testable:testable-processor:0.7.5")
|
||||
testImplementation("com.alibaba.testable:testable-all:0.7.6")
|
||||
testAnnotationProcessor("com.alibaba.testable:testable-processor:0.7.6")
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile> {
|
||||
|
@ -14,7 +14,7 @@
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<junit.version>5.6.2</junit.version>
|
||||
<testable.version>0.7.5</testable.version>
|
||||
<testable.version>0.7.6</testable.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -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.5')
|
||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5')
|
||||
testImplementation('com.alibaba.testable:testable-all:0.7.6')
|
||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.6')
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
|
@ -12,7 +12,7 @@
|
||||
<java.version>1.8</java.version>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<testable.version>0.7.5</testable.version>
|
||||
<testable.version>0.7.6</testable.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
|
@ -1,5 +1,10 @@
|
||||
# Release Note
|
||||
|
||||
## 0.7.6
|
||||
- define package mapping rule according to order in config, to avoid a short path overwrite longer ones
|
||||
- fix compatibility issue with jdk 9+
|
||||
- skip classes generated by mockito during `OmniConstructor` bytecode enhancing
|
||||
|
||||
## 0.7.5
|
||||
- fix an issue cause mocking method with array return type fails
|
||||
|
||||
|
@ -16,7 +16,7 @@ It is recommended to add a `property` field that identifies the TestableMock ver
|
||||
|
||||
```xml
|
||||
<properties>
|
||||
<testable.version>0.7.5</testable.version>
|
||||
<testable.version>0.7.6</testable.version>
|
||||
</properties>
|
||||
```
|
||||
|
||||
@ -63,8 +63,8 @@ Add dependence of `TestableMock` in `build.gradle` file:
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
testImplementation('com.alibaba.testable:testable-all:0.7.5')
|
||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5')
|
||||
testImplementation('com.alibaba.testable:testable-all:0.7.6')
|
||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.6')
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -1,5 +1,10 @@
|
||||
# Release Note
|
||||
|
||||
## 0.7.6
|
||||
- 依据定义顺序匹配包映射规则,防止短路径覆盖长路径(issue-275)
|
||||
- 修复JDK 9+的兼容性问题(issue-270 / pr-274)
|
||||
- 在`OmniConstructor`字节码增强时忽略Mockito生成的类型(issue-197)
|
||||
|
||||
## 0.7.5
|
||||
- 修复Mock数组类型返回值方法报错的问题(issue-267)
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
```xml
|
||||
<properties>
|
||||
<testable.version>0.7.5</testable.version>
|
||||
<testable.version>0.7.6</testable.version>
|
||||
</properties>
|
||||
```
|
||||
|
||||
@ -63,8 +63,8 @@
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
testImplementation('com.alibaba.testable:testable-all:0.7.5')
|
||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5')
|
||||
testImplementation('com.alibaba.testable:testable-all:0.7.6')
|
||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.6')
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.testable</groupId>
|
||||
<artifactId>testable-parent</artifactId>
|
||||
<version>0.7.5</version>
|
||||
<version>0.7.6</version>
|
||||
<relativePath>../testable-parent</relativePath>
|
||||
</parent>
|
||||
<artifactId>testable-agent</artifactId>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.testable</groupId>
|
||||
<artifactId>testable-parent</artifactId>
|
||||
<version>0.7.5</version>
|
||||
<version>0.7.6</version>
|
||||
<relativePath>../testable-parent</relativePath>
|
||||
</parent>
|
||||
<artifactId>testable-all</artifactId>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.testable</groupId>
|
||||
<artifactId>testable-parent</artifactId>
|
||||
<version>0.7.5</version>
|
||||
<version>0.7.6</version>
|
||||
<relativePath>../testable-parent</relativePath>
|
||||
</parent>
|
||||
<artifactId>testable-core</artifactId>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.testable</groupId>
|
||||
<artifactId>testable-parent</artifactId>
|
||||
<version>0.7.5</version>
|
||||
<version>0.7.6</version>
|
||||
<relativePath>../testable-parent</relativePath>
|
||||
</parent>
|
||||
<artifactId>testable-maven-plugin</artifactId>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.alibaba.testable</groupId>
|
||||
<artifactId>testable-parent</artifactId>
|
||||
<version>0.7.5</version>
|
||||
<version>0.7.6</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>testable-parent</name>
|
||||
<description>Unit test enhancement toolkit</description>
|
||||
@ -42,7 +42,7 @@
|
||||
<plugin.gpg.version>1.6</plugin.gpg.version>
|
||||
<plugin.staging.version>1.6.8</plugin.staging.version>
|
||||
<plugin.maven.version>3.6.0</plugin.maven.version>
|
||||
<testable.version>0.7.5</testable.version>
|
||||
<testable.version>0.7.6</testable.version>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.testable</groupId>
|
||||
<artifactId>testable-parent</artifactId>
|
||||
<version>0.7.5</version>
|
||||
<version>0.7.6</version>
|
||||
<relativePath>../testable-parent</relativePath>
|
||||
</parent>
|
||||
<artifactId>testable-processor</artifactId>
|
||||
|
Loading…
Reference in New Issue
Block a user