diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2017-08-18 09:51:33 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-09-05 14:24:12 +0200 |
commit | dd056cf31ff9cbd6b230cf824227fbb26ee29bc8 (patch) | |
tree | 2e9bab9ac431d120d0372a7e484b3794505e5a89 /server/sonar-process/src/test/java | |
parent | 92a27e7b4d09b170825ada0cb2c9e971a44c2a8c (diff) | |
download | sonarqube-dd056cf31ff9cbd6b230cf824227fbb26ee29bc8.tar.gz sonarqube-dd056cf31ff9cbd6b230cf824227fbb26ee29bc8.zip |
SONAR-9590 move shared memory file classes to dedicated package
Diffstat (limited to 'server/sonar-process/src/test/java')
-rw-r--r-- | server/sonar-process/src/test/java/org/sonar/process/ProcessEntryPointTest.java | 1 | ||||
-rw-r--r-- | server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java | 1 | ||||
-rw-r--r-- | server/sonar-process/src/test/java/org/sonar/process/StopperThreadTest.java | 1 | ||||
-rw-r--r-- | server/sonar-process/src/test/java/org/sonar/process/sharedmemoryfile/AllProcessesCommandsTest.java (renamed from server/sonar-process/src/test/java/org/sonar/process/AllProcessesCommandsTest.java) | 4 | ||||
-rw-r--r-- | server/sonar-process/src/test/java/org/sonar/process/sharedmemoryfile/DefaultProcessCommandsTest.java (renamed from server/sonar-process/src/test/java/org/sonar/process/DefaultProcessCommandsTest.java) | 4 | ||||
-rw-r--r-- | server/sonar-process/src/test/java/org/sonar/process/test/HttpProcess.java | 2 |
6 files changed, 8 insertions, 5 deletions
diff --git a/server/sonar-process/src/test/java/org/sonar/process/ProcessEntryPointTest.java b/server/sonar-process/src/test/java/org/sonar/process/ProcessEntryPointTest.java index 68996625c72..3b7a4659d31 100644 --- a/server/sonar-process/src/test/java/org/sonar/process/ProcessEntryPointTest.java +++ b/server/sonar-process/src/test/java/org/sonar/process/ProcessEntryPointTest.java @@ -28,6 +28,7 @@ import org.junit.rules.TemporaryFolder; import org.junit.rules.TestRule; import org.junit.rules.Timeout; import org.sonar.process.Lifecycle.State; +import org.sonar.process.sharedmemoryfile.ProcessCommands; import org.sonar.process.test.StandardProcess; import java.io.File; diff --git a/server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java b/server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java index 9938ae1050c..fa5704f37e9 100644 --- a/server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java +++ b/server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java @@ -24,6 +24,7 @@ import org.junit.Test; import org.junit.rules.DisableOnDebug; import org.junit.rules.TestRule; import org.junit.rules.Timeout; +import org.sonar.process.sharedmemoryfile.ProcessCommands; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; diff --git a/server/sonar-process/src/test/java/org/sonar/process/StopperThreadTest.java b/server/sonar-process/src/test/java/org/sonar/process/StopperThreadTest.java index cfd00bf01c8..e62c479e1bf 100644 --- a/server/sonar-process/src/test/java/org/sonar/process/StopperThreadTest.java +++ b/server/sonar-process/src/test/java/org/sonar/process/StopperThreadTest.java @@ -22,6 +22,7 @@ package org.sonar.process; import org.junit.Test; import org.mockito.invocation.InvocationOnMock; import org.mockito.stubbing.Answer; +import org.sonar.process.sharedmemoryfile.ProcessCommands; import static org.mockito.Mockito.*; diff --git a/server/sonar-process/src/test/java/org/sonar/process/AllProcessesCommandsTest.java b/server/sonar-process/src/test/java/org/sonar/process/sharedmemoryfile/AllProcessesCommandsTest.java index 4667f055fbc..2bad735aaa6 100644 --- a/server/sonar-process/src/test/java/org/sonar/process/AllProcessesCommandsTest.java +++ b/server/sonar-process/src/test/java/org/sonar/process/sharedmemoryfile/AllProcessesCommandsTest.java @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -package org.sonar.process; +package org.sonar.process.sharedmemoryfile; import java.io.File; import java.io.IOException; @@ -29,7 +29,7 @@ import org.junit.rules.TemporaryFolder; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; -import static org.sonar.process.ProcessCommands.MAX_PROCESSES; +import static org.sonar.process.sharedmemoryfile.ProcessCommands.MAX_PROCESSES; public class AllProcessesCommandsTest { diff --git a/server/sonar-process/src/test/java/org/sonar/process/DefaultProcessCommandsTest.java b/server/sonar-process/src/test/java/org/sonar/process/sharedmemoryfile/DefaultProcessCommandsTest.java index 3c311c208de..76d450e3bc8 100644 --- a/server/sonar-process/src/test/java/org/sonar/process/DefaultProcessCommandsTest.java +++ b/server/sonar-process/src/test/java/org/sonar/process/sharedmemoryfile/DefaultProcessCommandsTest.java @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -package org.sonar.process; +package org.sonar.process.sharedmemoryfile; import java.io.File; import java.io.IOException; @@ -29,7 +29,7 @@ import org.junit.rules.TemporaryFolder; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; -import static org.sonar.process.ProcessCommands.MAX_PROCESSES; +import static org.sonar.process.sharedmemoryfile.ProcessCommands.MAX_PROCESSES; public class DefaultProcessCommandsTest { diff --git a/server/sonar-process/src/test/java/org/sonar/process/test/HttpProcess.java b/server/sonar-process/src/test/java/org/sonar/process/test/HttpProcess.java index 93110668414..8f7ab283049 100644 --- a/server/sonar-process/src/test/java/org/sonar/process/test/HttpProcess.java +++ b/server/sonar-process/src/test/java/org/sonar/process/test/HttpProcess.java @@ -25,7 +25,7 @@ import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.handler.AbstractHandler; import org.eclipse.jetty.server.handler.ContextHandler; import org.sonar.process.Monitored; -import org.sonar.process.ProcessCommands; +import org.sonar.process.sharedmemoryfile.ProcessCommands; import org.sonar.process.ProcessEntryPoint; import javax.servlet.ServletException; |