aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-16 21:41:03 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-16 21:41:03 +0200
commit57cb022d1b9751a1a73fcf7a2054aa1b24ab4c27 (patch)
tree316a18fb54f71039b89ea405915a397018ce8cb8 /sonar-application/src
parent97e740133e533f623b6a0bc774dda3804d8df62f (diff)
downloadsonarqube-57cb022d1b9751a1a73fcf7a2054aa1b24ab4c27.tar.gz
sonarqube-57cb022d1b9751a1a73fcf7a2054aa1b24ab4c27.zip
Rename variables "sut" to "underTest" in tests
Diffstat (limited to 'sonar-application/src')
-rw-r--r--sonar-application/src/test/java/org/sonar/application/AppLoggingTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-application/src/test/java/org/sonar/application/AppLoggingTest.java b/sonar-application/src/test/java/org/sonar/application/AppLoggingTest.java
index 4bc159a7af0..848f4bbc7c3 100644
--- a/sonar-application/src/test/java/org/sonar/application/AppLoggingTest.java
+++ b/sonar-application/src/test/java/org/sonar/application/AppLoggingTest.java
@@ -45,7 +45,7 @@ public class AppLoggingTest {
public TemporaryFolder temp = new TemporaryFolder();
Props props = new Props(new Properties());
- AppLogging sut = new AppLogging();
+ AppLogging underTest = new AppLogging();
@Before
public void setUp() throws Exception {
@@ -60,7 +60,7 @@ public class AppLoggingTest {
@Test
public void configure_defaults() {
- LoggerContext ctx = sut.configure(props);
+ LoggerContext ctx = underTest.configure(props);
Logger gobbler = ctx.getLogger(AppLogging.GOBBLER_LOGGER);
Appender<ILoggingEvent> appender = gobbler.getAppender(AppLogging.GOBBLER_APPENDER);
@@ -75,7 +75,7 @@ public class AppLoggingTest {
public void configure_no_rotation() {
props.set("sonar.log.rollingPolicy", "none");
- LoggerContext ctx = sut.configure(props);
+ LoggerContext ctx = underTest.configure(props);
Logger gobbler = ctx.getLogger(AppLogging.GOBBLER_LOGGER);
Appender<ILoggingEvent> appender = gobbler.getAppender(AppLogging.GOBBLER_APPENDER);
@@ -86,7 +86,7 @@ public class AppLoggingTest {
public void copyGobblerToConsole() {
props.set("sonar.log.console", "true");
- LoggerContext ctx = sut.configure(props);
+ LoggerContext ctx = underTest.configure(props);
Logger gobbler = ctx.getLogger(AppLogging.GOBBLER_LOGGER);
assertThat(gobbler.getAppender(AppLogging.GOBBLER_APPENDER)).isNotNull();
assertThat(gobbler.getAppender(AppLogging.CONSOLE_APPENDER)).isNotNull();