diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2017-01-11 10:55:27 +0100 |
---|---|---|
committer | Julien HENRY <henryju@yahoo.fr> | 2017-01-12 11:26:48 +0100 |
commit | c82f3ab5c6e65a6ab65c743e2645d3c5345fffe6 (patch) | |
tree | 57704793481b5201e0f5d38f19db79b7bbc4ffa4 /sonar-scanner-engine/src/test/java/org/sonar/scanner/util | |
parent | 82852ffe4457fce2a57aa25c468f0b75645cc848 (diff) | |
download | sonarqube-c82f3ab5c6e65a6ab65c743e2645d3c5345fffe6.tar.gz sonarqube-c82f3ab5c6e65a6ab65c743e2645d3c5345fffe6.zip |
Rename BatchUtils -> ScannerUtils
Diffstat (limited to 'sonar-scanner-engine/src/test/java/org/sonar/scanner/util')
-rw-r--r-- | sonar-scanner-engine/src/test/java/org/sonar/scanner/util/ScannerUtilsTest.java (renamed from sonar-scanner-engine/src/test/java/org/sonar/scanner/util/BatchUtilsTest.java) | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/util/BatchUtilsTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/util/ScannerUtilsTest.java index f0f0085b897..150dc109670 100644 --- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/util/BatchUtilsTest.java +++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/util/ScannerUtilsTest.java @@ -20,18 +20,18 @@ package org.sonar.scanner.util; import org.junit.Test; -import org.sonar.scanner.util.BatchUtils; +import org.sonar.scanner.util.ScannerUtils; import static org.assertj.core.api.Assertions.assertThat; -public class BatchUtilsTest { +public class ScannerUtilsTest { @Test public void encodeForUrl() throws Exception { - assertThat(BatchUtils.encodeForUrl(null)).isEqualTo(""); - assertThat(BatchUtils.encodeForUrl("")).isEqualTo(""); - assertThat(BatchUtils.encodeForUrl("foo")).isEqualTo("foo"); - assertThat(BatchUtils.encodeForUrl("foo&bar")).isEqualTo("foo%26bar"); + assertThat(ScannerUtils.encodeForUrl(null)).isEqualTo(""); + assertThat(ScannerUtils.encodeForUrl("")).isEqualTo(""); + assertThat(ScannerUtils.encodeForUrl("foo")).isEqualTo("foo"); + assertThat(ScannerUtils.encodeForUrl("foo&bar")).isEqualTo("foo%26bar"); } private class MyClass { @@ -51,8 +51,8 @@ public class BatchUtilsTest { Object withoutToString = new Object(); - assertThat(BatchUtils.describe(withToString)).isEqualTo(("desc")); - assertThat(BatchUtils.describe(withoutToString)).isEqualTo("java.lang.Object"); - assertThat(BatchUtils.describe(new MyClass())).endsWith("MyClass"); + assertThat(ScannerUtils.describe(withToString)).isEqualTo(("desc")); + assertThat(ScannerUtils.describe(withoutToString)).isEqualTo("java.lang.Object"); + assertThat(ScannerUtils.describe(new MyClass())).endsWith("MyClass"); } } |