Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(test): upgrade mockito and optimize tests coverage #6117

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
jacoco.toolVersion optimize
chaosuper123321 committed Dec 26, 2024
commit 42e79c279b7932344c48a60fdfdcda2cb1f4ba2c
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -11,6 +11,9 @@ subprojects {
targetCompatibility = JavaVersion.VERSION_1_8

[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
jacoco {
toolVersion = "0.8.12" // see https://www.jacoco.org/jacoco/trunk/doc/changes.html
}

buildscript {
repositories {
5 changes: 0 additions & 5 deletions chainbase/build.gradle
Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@ description = "chainbase – a decentralized database for blockchain."

// Dependency versions
// ---------------------------------------
def jacocoVersion = "0.8.0"
def jansiVersion = "1.16"
// --------------------------------------

@@ -41,10 +40,6 @@ test {
}
}

jacoco {
toolVersion = jacocoVersion // See http://www.eclemma.org/jacoco/.
}

jacocoTestReport {
reports {
xml.enabled = true
3 changes: 0 additions & 3 deletions framework/build.gradle
Original file line number Diff line number Diff line change
@@ -15,9 +15,6 @@ def versions = [
checkstyle: '8.7',
]

jacoco {
toolVersion = "0.8.1"
}


configurations {
3 changes: 0 additions & 3 deletions plugins/build.gradle
Original file line number Diff line number Diff line change
@@ -5,9 +5,6 @@ plugins {
apply plugin: 'application'
apply plugin: 'checkstyle'

jacoco {
toolVersion = "0.8.8"
}
def versions = [
checkstyle: '8.7',
]