aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2019-10-21 16:21:29 -0500
committerSonarTech <sonartech@sonarsource.com>2019-11-12 20:21:06 +0100
commit1a260e18bbee33c8e2249908774ac326bf7ec5f2 (patch)
treed6d156f96f389786f8e1781c864bb3b876ab8ea3
parent9e5e816c69bfbd6bff0b235ec2351eed7e9e6278 (diff)
downloadsonarqube-1a260e18bbee33c8e2249908774ac326bf7ec5f2.tar.gz
sonarqube-1a260e18bbee33c8e2249908774ac326bf7ec5f2.zip
SONAR-12383 Test libraries update
* org.awaitility:awaitility:3.1.6 -> 4.0.1 * org.assertj:assertj-core:3.12.2 -> 3.13.2 * org.jsoup:jsoup:1.11.3 -> 1.12.1 * org.mockito:mockito-core:2.22.0 - > 3.1.0 * org.xmlunit:xmlunit-core:2.5.1 -> 2.6.3 * org.xmlunit:xmlunit-matchers:2.5.1 -> 2.6.3 * org.tmatesoft.svnkit:svnkit:1.9.0 -> 1.10.1
-rw-r--r--build.gradle8
-rw-r--r--server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ComputeQProfileMeasureStepTest.java2
2 files changed, 5 insertions, 5 deletions
diff --git a/build.gradle b/build.gradle
index e9d696f7580..88b8f5f6211 100644
--- a/build.gradle
+++ b/build.gradle
@@ -208,7 +208,7 @@ subprojects {
dependency 'junit:junit:4.12'
dependency 'net.jpountz.lz4:lz4:1.3.0'
dependency 'net.lightbody.bmp:littleproxy:1.1.0-beta-bmp-17'
- dependency 'org.awaitility:awaitility:3.1.6'
+ dependency 'org.awaitility:awaitility:4.0.1'
dependency 'org.apache.commons:commons-csv:1.4'
dependency 'org.apache.commons:commons-email:1.5'
dependency 'org.apache.commons:commons-dbcp2:2.5.0'
@@ -227,7 +227,7 @@ subprojects {
exclude 'org.eclipse.jdt.core.compiler:ecj'
}
}
- dependency 'org.assertj:assertj-core:3.12.2'
+ dependency 'org.assertj:assertj-core:3.13.2'
dependency 'org.assertj:assertj-guava:3.2.1'
dependency('org.codehaus.sonar:sonar-channel:4.1') {
exclude 'org.slf4j:slf4j-api'
@@ -263,9 +263,9 @@ subprojects {
dependency 'org.codelibs.elasticsearch.module:analysis-common:6.8.0'
dependency 'org.freemarker:freemarker:2.3.20'
dependency 'org.hamcrest:hamcrest-all:1.3'
- dependency 'org.jsoup:jsoup:1.11.3'
+ dependency 'org.jsoup:jsoup:1.12.1'
dependency 'org.mindrot:jbcrypt:0.4'
- dependency('org.mockito:mockito-core:2.22.0') {
+ dependency('org.mockito:mockito-core:3.1.0') {
exclude 'org.hamcrest:hamcrest-core'
}
dependency 'org.mybatis:mybatis:3.5.1'
diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ComputeQProfileMeasureStepTest.java b/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ComputeQProfileMeasureStepTest.java
index 3dc7fe868cb..6a6d1163904 100644
--- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ComputeQProfileMeasureStepTest.java
+++ b/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ComputeQProfileMeasureStepTest.java
@@ -101,7 +101,7 @@ public class ComputeQProfileMeasureStepTest {
underTest.execute(new TestComputationStepContext());
assertThat(measureRepository.getAddedRawMeasures(PROJECT_REF).get(QUALITY_PROFILES_KEY))
- .extracting("data").containsOnly(toJson(qpJava, qpPhp));
+ .extracting("data").isEqualTo(toJson(qpJava, qpPhp));
}
@Test