summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-04-10 19:06:58 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-04-19 08:26:03 +0200
commit8170b995613482f4b31e53c9f1117f969f5a1c2e (patch)
tree11beef30bc25a67b14be2a04af894c818a66b294
parentdead90f1cf1992842b094359fbddcd84894db414 (diff)
downloadnextcloud-server-8170b995613482f4b31e53c9f1117f969f5a1c2e.tar.gz
nextcloud-server-8170b995613482f4b31e53c9f1117f969f5a1c2e.zip
Remove no longer needed methods
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r--build/acceptance/features/core/NextcloudTestServerDockerHelper.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/build/acceptance/features/core/NextcloudTestServerDockerHelper.php b/build/acceptance/features/core/NextcloudTestServerDockerHelper.php
index b7b2bcc2544..bfa5f695fdb 100644
--- a/build/acceptance/features/core/NextcloudTestServerDockerHelper.php
+++ b/build/acceptance/features/core/NextcloudTestServerDockerHelper.php
@@ -192,18 +192,6 @@ class NextcloudTestServerDockerHelper {
}
/**
- * Returns the container name.
- *
- * If the container has not been created yet the container name will be
- * null.
- *
- * @return string the container name.
- */
- public function getContainerName() {
- return $this->containerName;
- }
-
- /**
* Returns the base URL of the Nextcloud test server.
*
* @return string the base URL of the Nextcloud test server.
@@ -227,22 +215,6 @@ class NextcloudTestServerDockerHelper {
}
/**
- * Returns whether the container is running or not.
- *
- * @return boolean true if the container is running, false otherwise.
- * @throws \Exception if the Docker command failed to execute.
- */
- public function isContainerRunning() {
- // By default, "docker ps" only shows running containers, and the
- // "--quiet" option only shows the ID of the matching containers,
- // without table headers. Therefore, if the container is not running the
- // output will be empty (not even a new line, as the last line of output
- // returned by "executeDockerCommand" does not include a trailing new
- // line character).
- return $this->executeDockerCommand("ps --quiet --filter 'name=" . $this->containerName . "'") !== "";
- }
-
- /**
* Returns whether the container exists (no matter its state) or not.
*
* @return boolean true if the container exists, false otherwise.