diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2022-03-21 13:20:18 -0500 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-03-24 20:03:07 +0000 |
commit | f0768d2ff905feff76d40bb476832b4ddacff8c4 (patch) | |
tree | 113f78c2e66ceadbe6103cda6fc2dc38d783174a /sonar-plugin-api-impl/src/test | |
parent | 6abdf0edd97aa76ccc42d65ed0e30f401d75f79f (diff) | |
download | sonarqube-f0768d2ff905feff76d40bb476832b4ddacff8c4.tar.gz sonarqube-f0768d2ff905feff76d40bb476832b4ddacff8c4.zip |
SONAR-16097 Rename 'previousAnalysisCache' to 'previousCache'
Diffstat (limited to 'sonar-plugin-api-impl/src/test')
-rw-r--r-- | sonar-plugin-api-impl/src/test/java/org/sonar/api/batch/sensor/internal/SensorContextTesterTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-plugin-api-impl/src/test/java/org/sonar/api/batch/sensor/internal/SensorContextTesterTest.java b/sonar-plugin-api-impl/src/test/java/org/sonar/api/batch/sensor/internal/SensorContextTesterTest.java index 12e42d9b3ff..99f28cb066b 100644 --- a/sonar-plugin-api-impl/src/test/java/org/sonar/api/batch/sensor/internal/SensorContextTesterTest.java +++ b/sonar-plugin-api-impl/src/test/java/org/sonar/api/batch/sensor/internal/SensorContextTesterTest.java @@ -87,18 +87,18 @@ public class SensorContextTesterTest { @Test public void testPluginCache() { assertThat(tester.nextCache()).isNull(); - assertThat(tester.previousAnalysisCache()).isNull(); + assertThat(tester.previousCache()).isNull(); assertThat(tester.isCacheEnabled()).isFalse(); ReadCache readCache = mock(ReadCache.class); WriteCache writeCache = mock(WriteCache.class); - tester.setPreviousAnalysisCache(readCache); + tester.setPreviousCache(readCache); tester.setNextCache(writeCache); tester.setCacheEnabled(true); assertThat(tester.nextCache()).isEqualTo(writeCache); - assertThat(tester.previousAnalysisCache()).isEqualTo(readCache); + assertThat(tester.previousCache()).isEqualTo(readCache); assertThat(tester.isCacheEnabled()).isTrue(); } |