diff options
author | Joas Schilling <coding@schilljs.com> | 2019-09-05 15:29:09 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-09-05 15:29:09 +0300 |
commit | d4fc586f1a796b8cb19cff543b668470556e44b2 (patch) | |
tree | ca88292e6d2b903e045f5d5758b61f975d103bb9 /tests | |
parent | 7168522ece988505d0ed40a89f9ae238b8bf4ff6 (diff) |
Bye Spreed, hello Talk!
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
37 files changed, 186 insertions, 186 deletions
diff --git a/tests/integration/spreedcheats/appinfo/info.xml b/tests/integration/spreedcheats/appinfo/info.xml index b52b85837..cf266281c 100644 --- a/tests/integration/spreedcheats/appinfo/info.xml +++ b/tests/integration/spreedcheats/appinfo/info.xml @@ -1,7 +1,7 @@ <?xml version="1.0"?> <info> <id>spreedcheats</id> - <name>Spreed cheats app for Intergration tests</name> + <name>Talk cheats app for Intergration tests</name> <namespace>SpreedCheats</namespace> <description/> diff --git a/tests/php/Activity/Provider/BaseTest.php b/tests/php/Activity/Provider/BaseTest.php index a79e8c355..35a9c3bca 100644 --- a/tests/php/Activity/Provider/BaseTest.php +++ b/tests/php/Activity/Provider/BaseTest.php @@ -19,13 +19,13 @@ * */ -namespace OCA\Spreed\Tests\php\Activity\Provider; +namespace OCA\Talk\Tests\php\Activity\Provider; -use OCA\Spreed\Activity\Provider\Base; -use OCA\Spreed\Config; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; +use OCA\Talk\Activity\Provider\Base; +use OCA\Talk\Config; +use OCA\Talk\Manager; +use OCA\Talk\Room; use OCP\Activity\IEvent; use OCP\Activity\IManager; use OCP\IL10N; @@ -39,7 +39,7 @@ use Test\TestCase; /** * Class BaseTest * - * @package OCA\Spreed\Tests\php\Activity + * @package OCA\Talk\Tests\php\Activity */ class BaseTest extends TestCase { diff --git a/tests/php/Activity/Provider/InvitationTest.php b/tests/php/Activity/Provider/InvitationTest.php index ab71c9a5e..15055f390 100644 --- a/tests/php/Activity/Provider/InvitationTest.php +++ b/tests/php/Activity/Provider/InvitationTest.php @@ -19,14 +19,14 @@ * */ -namespace OCA\Spreed\Tests\php\Activity\Provider; +namespace OCA\Talk\Tests\php\Activity\Provider; -use OCA\Spreed\Activity\Provider\Invitation; -use OCA\Spreed\Config; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; +use OCA\Talk\Activity\Provider\Invitation; +use OCA\Talk\Config; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Manager; +use OCA\Talk\Room; use OCP\Activity\IEvent; use OCP\Activity\IManager; use OCP\IL10N; @@ -40,7 +40,7 @@ use Test\TestCase; /** * Class InvitationTest * - * @package OCA\Spreed\Tests\php\Activity + * @package OCA\Talk\Tests\php\Activity */ class InvitationTest extends TestCase { diff --git a/tests/php/Activity/SettingTest.php b/tests/php/Activity/SettingTest.php index b1c67a5bc..2f0760e22 100644 --- a/tests/php/Activity/SettingTest.php +++ b/tests/php/Activity/SettingTest.php @@ -19,9 +19,9 @@ * */ -namespace OCA\Spreed\Tests\php\Activity; +namespace OCA\Talk\Tests\php\Activity; -use OCA\Spreed\Activity\Setting; +use OCA\Talk\Activity\Setting; use OCP\Activity\ISetting; use Test\TestCase; diff --git a/tests/php/CapabilitiesTest.php b/tests/php/CapabilitiesTest.php index f5e759df7..8ddd71e09 100644 --- a/tests/php/CapabilitiesTest.php +++ b/tests/php/CapabilitiesTest.php @@ -22,10 +22,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\Unit; +namespace OCA\Talk\Tests\Unit; -use OCA\Spreed\Capabilities; -use OCA\Spreed\Config; +use OCA\Talk\Capabilities; +use OCA\Talk\Config; use OCP\Capabilities\IPublicCapability; use OCP\IConfig; use OCP\IUser; diff --git a/tests/php/Chat/AutoComplete/SearchPluginTest.php b/tests/php/Chat/AutoComplete/SearchPluginTest.php index 60ce03b5e..bae101153 100644 --- a/tests/php/Chat/AutoComplete/SearchPluginTest.php +++ b/tests/php/Chat/AutoComplete/SearchPluginTest.php @@ -19,14 +19,14 @@ * */ -namespace OCA\Spreed\Tests\php\Chat\AutoComplete; - -use OCA\Spreed\Chat\AutoComplete\SearchPlugin; -use OCA\Spreed\Files\Util; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\TalkSession; +namespace OCA\Talk\Tests\php\Chat\AutoComplete; + +use OCA\Talk\Chat\AutoComplete\SearchPlugin; +use OCA\Talk\Files\Util; +use OCA\Talk\GuestManager; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\TalkSession; use OCP\Collaboration\Collaborators\ISearchResult; use OCP\IL10N; use OCP\IUser; diff --git a/tests/php/Chat/AutoComplete/SorterTest.php b/tests/php/Chat/AutoComplete/SorterTest.php index a1eeaaff8..a04c325be 100644 --- a/tests/php/Chat/AutoComplete/SorterTest.php +++ b/tests/php/Chat/AutoComplete/SorterTest.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Chat; +namespace OCA\Talk\Tests\php\Chat; -use OCA\Spreed\Chat\AutoComplete\Sorter; -use OCA\Spreed\Chat\CommentsManager; +use OCA\Talk\Chat\AutoComplete\Sorter; +use OCA\Talk\Chat\CommentsManager; use PHPUnit\Framework\MockObject\MockObject; class SorterTest extends \Test\TestCase { diff --git a/tests/php/Chat/ChatManagerTest.php b/tests/php/Chat/ChatManagerTest.php index f49f3aa7c..e9f56f164 100644 --- a/tests/php/Chat/ChatManagerTest.php +++ b/tests/php/Chat/ChatManagerTest.php @@ -21,13 +21,13 @@ * */ -namespace OCA\Spreed\Tests\php\Chat; +namespace OCA\Talk\Tests\php\Chat; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Chat\CommentsManager; -use OCA\Spreed\Chat\Notifier; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Chat\CommentsManager; +use OCA\Talk\Chat\Notifier; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\AppFramework\Utility\ITimeFactory; use OCP\Comments\IComment; use OCP\Comments\ICommentsManager; diff --git a/tests/php/Chat/Command/ExecutorTest.php b/tests/php/Chat/Command/ExecutorTest.php index cb81d7fae..f21f1cf02 100644 --- a/tests/php/Chat/Command/ExecutorTest.php +++ b/tests/php/Chat/Command/ExecutorTest.php @@ -21,13 +21,13 @@ * */ -namespace OCA\Spreed\Tests\php\Chat\Command; +namespace OCA\Talk\Tests\php\Chat\Command; -use OCA\Spreed\Chat\Command\Executor; -use OCA\Spreed\Chat\Command\ShellExecutor; -use OCA\Spreed\Model\Command; -use OCA\Spreed\Room; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Chat\Command\Executor; +use OCA\Talk\Chat\Command\ShellExecutor; +use OCA\Talk\Model\Command; +use OCA\Talk\Room; +use OCA\Talk\Service\CommandService; use OCP\Comments\IComment; use OCP\IL10N; use OCP\ILogger; diff --git a/tests/php/Chat/Command/ShellExecutorTest.php b/tests/php/Chat/Command/ShellExecutorTest.php index 3d8b429d7..74c8978ce 100644 --- a/tests/php/Chat/Command/ShellExecutorTest.php +++ b/tests/php/Chat/Command/ShellExecutorTest.php @@ -21,13 +21,13 @@ * */ -namespace OCA\Spreed\Tests\php\Chat\Command; +namespace OCA\Talk\Tests\php\Chat\Command; -use OCA\Spreed\Chat\Command\Executor; -use OCA\Spreed\Chat\Command\ShellExecutor; -use OCA\Spreed\Model\Command; -use OCA\Spreed\Room; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Chat\Command\Executor; +use OCA\Talk\Chat\Command\ShellExecutor; +use OCA\Talk\Model\Command; +use OCA\Talk\Room; +use OCA\Talk\Service\CommandService; use OCP\Comments\IComment; use OCP\IL10N; use OCP\ILogger; diff --git a/tests/php/Chat/NotifierTest.php b/tests/php/Chat/NotifierTest.php index 0037a76cc..b88244c59 100644 --- a/tests/php/Chat/NotifierTest.php +++ b/tests/php/Chat/NotifierTest.php @@ -21,14 +21,14 @@ * */ -namespace OCA\Spreed\Tests\php\Chat; - -use OCA\Spreed\Chat\Notifier; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Files\Util; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +namespace OCA\Talk\Tests\php\Chat; + +use OCA\Talk\Chat\Notifier; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Files\Util; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Comments\IComment; use OCP\Notification\IManager as INotificationManager; use OCP\Notification\INotification; @@ -42,13 +42,13 @@ class NotifierTest extends \Test\TestCase { /** @var \OCP\IUserManager|\PHPUnit_Framework_MockObject_MockObject */ protected $userManager; - /** @var \OCA\Spreed\Manager|\PHPUnit_Framework_MockObject_MockObject */ + /** @var \OCA\Talk\Manager|\PHPUnit_Framework_MockObject_MockObject */ protected $manager; - /** @var \OCA\Spreed\Files\Util|\PHPUnit_Framework_MockObject_MockObject */ + /** @var \OCA\Talk\Files\Util|\PHPUnit_Framework_MockObject_MockObject */ protected $util; - /** @var \OCA\Spreed\Chat\Notifier */ + /** @var \OCA\Talk\Chat\Notifier */ protected $notifier; public function setUp() { diff --git a/tests/php/Chat/Parser/SystemMessageTest.php b/tests/php/Chat/Parser/SystemMessageTest.php index 32ecfcc9f..198c29e9c 100644 --- a/tests/php/Chat/Parser/SystemMessageTest.php +++ b/tests/php/Chat/Parser/SystemMessageTest.php @@ -19,15 +19,15 @@ * */ -namespace OCA\Spreed\Tests\php\Chat\Parser; - -use OCA\Spreed\Chat\Parser\SystemMessage; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\Share\RoomShareProvider; +namespace OCA\Talk\Tests\php\Chat\Parser; + +use OCA\Talk\Chat\Parser\SystemMessage; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Model\Message; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\Share\RoomShareProvider; use OCP\Comments\IComment; use OCP\Files\Folder; use OCP\Files\InvalidPathException; diff --git a/tests/php/Chat/Parser/UserMentionTest.php b/tests/php/Chat/Parser/UserMentionTest.php index 85eebdc44..7cdb2cbec 100644 --- a/tests/php/Chat/Parser/UserMentionTest.php +++ b/tests/php/Chat/Parser/UserMentionTest.php @@ -21,14 +21,14 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Chat\Parser; - -use OCA\Spreed\Chat\Parser\UserMention; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +namespace OCA\Talk\Tests\php\Chat\Parser; + +use OCA\Talk\Chat\Parser\UserMention; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Model\Message; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Comments\IComment; use OCP\Comments\ICommentsManager; use OCP\IL10N; diff --git a/tests/php/Collaboration/Collaborators/RoomPluginTest.php b/tests/php/Collaboration/Collaborators/RoomPluginTest.php index c2ce961b8..f4e033942 100644 --- a/tests/php/Collaboration/Collaborators/RoomPluginTest.php +++ b/tests/php/Collaboration/Collaborators/RoomPluginTest.php @@ -22,11 +22,11 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Collaboration\Collaborators; +namespace OCA\Talk\Tests\php\Collaboration\Collaborators; -use OCA\Spreed\Collaboration\Collaborators\RoomPlugin; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; +use OCA\Talk\Collaboration\Collaborators\RoomPlugin; +use OCA\Talk\Manager; +use OCA\Talk\Room; use OCP\Collaboration\Collaborators\ISearchResult; use OCP\Collaboration\Collaborators\SearchResultType; use OCP\IUser; diff --git a/tests/php/Collaboration/Resources/ConversationProviderTest.php b/tests/php/Collaboration/Resources/ConversationProviderTest.php index 0f0bcb90d..b8423eb58 100644 --- a/tests/php/Collaboration/Resources/ConversationProviderTest.php +++ b/tests/php/Collaboration/Resources/ConversationProviderTest.php @@ -20,15 +20,15 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Collaboration\Resources; - -use OCA\Spreed\Collaboration\Collaborators\RoomPlugin; -use OCA\Spreed\Collaboration\Resources\ConversationProvider; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +namespace OCA\Talk\Tests\php\Collaboration\Resources; + +use OCA\Talk\Collaboration\Collaborators\RoomPlugin; +use OCA\Talk\Collaboration\Resources\ConversationProvider; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Collaboration\Collaborators\ISearchResult; use OCP\Collaboration\Resources\IResource; use OCP\Collaboration\Resources\ResourceException; diff --git a/tests/php/Command/Signaling/AddTest.php b/tests/php/Command/Signaling/AddTest.php index 53f97665e..75c60ad46 100644 --- a/tests/php/Command/Signaling/AddTest.php +++ b/tests/php/Command/Signaling/AddTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Signaling; +namespace OCA\Talk\Tests\php\Command\Signaling; -use OCA\Spreed\Command\Signaling\Add; +use OCA\Talk\Command\Signaling\Add; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Signaling/DeleteTest.php b/tests/php/Command/Signaling/DeleteTest.php index 7aa0feb4e..06efcf047 100644 --- a/tests/php/Command/Signaling/DeleteTest.php +++ b/tests/php/Command/Signaling/DeleteTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Signaling; +namespace OCA\Talk\Tests\php\Command\Signaling; -use OCA\Spreed\Command\Signaling\Delete; +use OCA\Talk\Command\Signaling\Delete; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Signaling/ListCommandTest.php b/tests/php/Command/Signaling/ListCommandTest.php index 938f37ec9..bb426d9bb 100644 --- a/tests/php/Command/Signaling/ListCommandTest.php +++ b/tests/php/Command/Signaling/ListCommandTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Signaling; +namespace OCA\Talk\Tests\php\Command\Signaling; -use OCA\Spreed\Command\Signaling\ListCommand; +use OCA\Talk\Command\Signaling\ListCommand; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Stun/AddTest.php b/tests/php/Command/Stun/AddTest.php index 0a1e7fa99..b36023f7f 100644 --- a/tests/php/Command/Stun/AddTest.php +++ b/tests/php/Command/Stun/AddTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Stun; +namespace OCA\Talk\Tests\php\Command\Stun; -use OCA\Spreed\Command\Stun\Add; +use OCA\Talk\Command\Stun\Add; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Stun/DeleteTest.php b/tests/php/Command/Stun/DeleteTest.php index a1c716234..b3c0744c9 100644 --- a/tests/php/Command/Stun/DeleteTest.php +++ b/tests/php/Command/Stun/DeleteTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Stun; +namespace OCA\Talk\Tests\php\Command\Stun; -use OCA\Spreed\Command\Stun\Delete; +use OCA\Talk\Command\Stun\Delete; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Stun/ListCommandTest.php b/tests/php/Command/Stun/ListCommandTest.php index 36586cde0..4f9538efe 100644 --- a/tests/php/Command/Stun/ListCommandTest.php +++ b/tests/php/Command/Stun/ListCommandTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Stun; +namespace OCA\Talk\Tests\php\Command\Stun; -use OCA\Spreed\Command\Stun\ListCommand; +use OCA\Talk\Command\Stun\ListCommand; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Turn/AddTest.php b/tests/php/Command/Turn/AddTest.php index 65821a18e..7bc51f75c 100644 --- a/tests/php/Command/Turn/AddTest.php +++ b/tests/php/Command/Turn/AddTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Turn; +namespace OCA\Talk\Tests\php\Command\Turn; -use OCA\Spreed\Command\Turn\Add; +use OCA\Talk\Command\Turn\Add; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Turn/DeleteTest.php b/tests/php/Command/Turn/DeleteTest.php index d7c8af0ae..ff2fb3be1 100644 --- a/tests/php/Command/Turn/DeleteTest.php +++ b/tests/php/Command/Turn/DeleteTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Turn; +namespace OCA\Talk\Tests\php\Command\Turn; -use OCA\Spreed\Command\Turn\Delete; +use OCA\Talk\Command\Turn\Delete; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Turn/ListCommandTest.php b/tests/php/Command/Turn/ListCommandTest.php index 719d424f8..7ae9dfd88 100644 --- a/tests/php/Command/Turn/ListCommandTest.php +++ b/tests/php/Command/Turn/ListCommandTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Turn; +namespace OCA\Talk\Tests\php\Command\Turn; -use OCA\Spreed\Command\Turn\ListCommand; +use OCA\Talk\Command\Turn\ListCommand; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/ConfigTest.php b/tests/php/ConfigTest.php index 4855b9d9b..4cbef0b96 100644 --- a/tests/php/ConfigTest.php +++ b/tests/php/ConfigTest.php @@ -18,9 +18,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php; +namespace OCA\Talk\Tests\php; -use OCA\Spreed\Config; +use OCA\Talk\Config; use OCP\AppFramework\Utility\ITimeFactory; use OCP\IConfig; use OCP\IGroupManager; diff --git a/tests/php/Controller/ChatControllerTest.php b/tests/php/Controller/ChatControllerTest.php index 6364617c4..c3f77e56a 100644 --- a/tests/php/Controller/ChatControllerTest.php +++ b/tests/php/Controller/ChatControllerTest.php @@ -21,20 +21,20 @@ * */ -namespace OCA\Spreed\Tests\php\Controller; - -use OCA\Spreed\Chat\AutoComplete\SearchPlugin; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Chat\MessageParser; -use OCA\Spreed\Controller\ChatController; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Manager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\TalkSession; +namespace OCA\Talk\Tests\php\Controller; + +use OCA\Talk\Chat\AutoComplete\SearchPlugin; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Chat\MessageParser; +use OCA\Talk\Controller\ChatController; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Manager; +use OCA\Talk\Model\Message; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\TalkSession; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/tests/php/Controller/RoomControllerTest.php b/tests/php/Controller/RoomControllerTest.php index dff4c1d27..839311d50 100644 --- a/tests/php/Controller/RoomControllerTest.php +++ b/tests/php/Controller/RoomControllerTest.php @@ -21,18 +21,18 @@ * */ -namespace OCA\Spreed\Tests\php\Controller; +namespace OCA\Talk\Tests\php\Controller; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Chat\MessageParser; -use OCA\Spreed\Controller\RoomController; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\TalkSession; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Chat\MessageParser; +use OCA\Talk\Controller\RoomController; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\TalkSession; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/tests/php/Controller/SignalingControllerTest.php b/tests/php/Controller/SignalingControllerTest.php index 49d67f8cf..55bdbac9f 100644 --- a/tests/php/Controller/SignalingControllerTest.php +++ b/tests/php/Controller/SignalingControllerTest.php @@ -20,18 +20,18 @@ * */ -namespace OCA\Spreed\Tests\php\Controller; - -use OCA\Spreed\Chat\CommentsManager; -use OCA\Spreed\Config; -use OCA\Spreed\Controller\SignalingController; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\Signaling\Messages; -use OCA\Spreed\TalkSession; +namespace OCA\Talk\Tests\php\Controller; + +use OCA\Talk\Chat\CommentsManager; +use OCA\Talk\Config; +use OCA\Talk\Controller\SignalingController; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\Signaling\Messages; +use OCA\Talk\TalkSession; use OCP\AppFramework\Utility\ITimeFactory; use OCP\IDBConnection; use OCP\IGroupManager; diff --git a/tests/php/Files/UtilTest.php b/tests/php/Files/UtilTest.php index 942a6dc49..7ec493463 100644 --- a/tests/php/Files/UtilTest.php +++ b/tests/php/Files/UtilTest.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Files; +namespace OCA\Talk\Tests\php\Files; use OCA\GroupFolders\Mount\GroupFolderStorage; -use OCA\Spreed\Files\Util; +use OCA\Talk\Files\Util; use OCP\Files\FileInfo; use OCP\Files\Folder; use OCP\Files\Node; diff --git a/tests/php/Notification/NotifierTest.php b/tests/php/Notification/NotifierTest.php index 586ef5348..5ff05ff57 100644 --- a/tests/php/Notification/NotifierTest.php +++ b/tests/php/Notification/NotifierTest.php @@ -19,18 +19,18 @@ * */ -namespace OCA\Spreed\Tests\php\Notifications; - -use OCA\Spreed\Chat\MessageParser; -use OCA\Spreed\Config; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Manager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Notification\Notifier; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +namespace OCA\Talk\Tests\php\Notifications; + +use OCA\Talk\Chat\MessageParser; +use OCA\Talk\Config; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Manager; +use OCA\Talk\Model\Message; +use OCA\Talk\Notification\Notifier; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Comments\IComment; use OCP\Comments\ICommentsManager; use OCP\IL10N; diff --git a/tests/php/PasswordVerificationTest.php b/tests/php/PasswordVerificationTest.php index 8cd2a6d9a..f88290197 100644 --- a/tests/php/PasswordVerificationTest.php +++ b/tests/php/PasswordVerificationTest.php @@ -18,11 +18,11 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php; +namespace OCA\Talk\Tests\php; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; -use OCA\Spreed\Webinary; +use OCA\Talk\Manager; +use OCA\Talk\Room; +use OCA\Talk\Webinary; use OCP\AppFramework\Utility\ITimeFactory; use OCP\IDBConnection; use OCP\Security\IHasher; diff --git a/tests/php/Settings/Admin/SectionTest.php b/tests/php/Settings/Admin/SectionTest.php index f583f907b..b184c7d4d 100644 --- a/tests/php/Settings/Admin/SectionTest.php +++ b/tests/php/Settings/Admin/SectionTest.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Settings\Admin; +namespace OCA\Talk\Tests\php\Settings\Admin; -use OCA\Spreed\Settings\Admin\Section; +use OCA\Talk\Settings\Admin\Section; use OCP\IL10N; use OCP\IURLGenerator; use PHPUnit\Framework\MockObject\MockObject; diff --git a/tests/php/Settings/Admin/StunServerTest.php b/tests/php/Settings/Admin/StunServerTest.php index 12a0c83ea..5b8d66d9f 100644 --- a/tests/php/Settings/Admin/StunServerTest.php +++ b/tests/php/Settings/Admin/StunServerTest.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Settings\Admin; +namespace OCA\Talk\Tests\php\Settings\Admin; -use OCA\Spreed\Config; -use OCA\Spreed\Settings\Admin\StunServer; +use OCA\Talk\Config; +use OCA\Talk\Settings\Admin\StunServer; use OCP\IInitialStateService; use PHPUnit\Framework\MockObject\MockObject; diff --git a/tests/php/Settings/Admin/TurnServerTest.php b/tests/php/Settings/Admin/TurnServerTest.php index 6a3feda07..0a6b2c2b6 100644 --- a/tests/php/Settings/Admin/TurnServerTest.php +++ b/tests/php/Settings/Admin/TurnServerTest.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Settings\Admin; +namespace OCA\Talk\Tests\php\Settings\Admin; -use OCA\Spreed\Config; -use OCA\Spreed\Settings\Admin\TurnServer; +use OCA\Talk\Config; +use OCA\Talk\Settings\Admin\TurnServer; use OCP\IInitialStateService; use PHPUnit\Framework\MockObject\MockObject; diff --git a/tests/php/Signaling/BackendNotifierTest.php b/tests/php/Signaling/BackendNotifierTest.php index 8d9bc386b..7b95f03cb 100644 --- a/tests/php/Signaling/BackendNotifierTest.php +++ b/tests/php/Signaling/BackendNotifierTest.php @@ -20,17 +20,17 @@ * */ -namespace OCA\Spreed\Tests\php\Signaling; - -use OCA\Spreed\AppInfo\Application; -use OCA\Spreed\Chat\CommentsManager; -use OCA\Spreed\Config; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\Signaling\BackendNotifier; -use OCA\Spreed\TalkSession; -use OCA\Spreed\Webinary; +namespace OCA\Talk\Tests\php\Signaling; + +use OCA\Talk\AppInfo\Application; +use OCA\Talk\Chat\CommentsManager; +use OCA\Talk\Config; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\Signaling\BackendNotifier; +use OCA\Talk\TalkSession; +use OCA\Talk\Webinary; use OCP\AppFramework\Utility\ITimeFactory; use OCP\Http\Client\IClientService; use OCP\IGroupManager; diff --git a/tests/php/TalkSessionTest.php b/tests/php/TalkSessionTest.php index a742c9855..388411757 100644 --- a/tests/php/TalkSessionTest.php +++ b/tests/php/TalkSessionTest.php @@ -22,9 +22,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php; +namespace OCA\Talk\Tests\php; -use OCA\Spreed\TalkSession; +use OCA\Talk\TalkSession; use OCP\ISession; use PHPUnit\Framework\MockObject\MockObject; use Test\TestCase; diff --git a/tests/php/phpunit.xml b/tests/php/phpunit.xml index d307fcec0..82c757c6f 100644 --- a/tests/php/phpunit.xml +++ b/tests/php/phpunit.xml @@ -6,7 +6,7 @@ timeoutForMediumTests="900" timeoutForLargeTests="900" > - <testsuite name='Spreed App Tests'> + <testsuite name='Talk App Tests'> <directory suffix='Test.php'>.</directory> </testsuite> <!-- filters for code coverage --> |