Tests: Change structure of tests

pull/7186/head
Aleksander Machniak 5 years ago
parent 93519df826
commit 2f20f43cbb

@ -4,7 +4,7 @@ namespace Tests\Browser\Contacts;
use Tests\Browser\Components\App;
class Contacts extends \Tests\Browser\TestCase
class ContactsTest extends \Tests\Browser\TestCase
{
protected function setUp()
{

@ -2,7 +2,7 @@
namespace Tests\Browser\Contacts;
class Export extends \Tests\Browser\TestCase
class ExportTest extends \Tests\Browser\TestCase
{
/**
* Test exporting all contacts

@ -4,7 +4,7 @@ namespace Tests\Browser\Contacts;
use Tests\Browser\Components\Popupmenu;
class Groups extends \Tests\Browser\TestCase
class GroupsTest extends \Tests\Browser\TestCase
{
/**
* Contact groups UI basics

@ -4,7 +4,7 @@ namespace Tests\Browser\Contacts;
use Tests\Browser\Components\App;
class Import extends \Tests\Browser\TestCase
class ImportTest extends \Tests\Browser\TestCase
{
/**
* Test basic elements of contacts import UI

@ -4,7 +4,7 @@ namespace Tests\Browser;
use Tests\Browser\Components\App;
class Login extends TestCase
class LoginTest extends TestCase
{
protected function setUp()
{

@ -4,7 +4,7 @@ namespace Tests\Browser;
use Tests\Browser\Components\App;
class Logout extends TestCase
class LogoutTest extends TestCase
{
public function testLogout()
{

@ -4,7 +4,7 @@ namespace Tests\Browser\Mail;
use Tests\Browser\Components\App;
class Compose extends \Tests\Browser\TestCase
class ComposeTest extends \Tests\Browser\TestCase
{
public function testCompose()
{

@ -2,7 +2,7 @@
namespace Tests\Browser\Mail;
class Getunread extends \Tests\Browser\TestCase
class GetunreadTest extends \Tests\Browser\TestCase
{
protected static $msgcount = 0;

@ -4,7 +4,7 @@ namespace Tests\Browser\Mail;
use Tests\Browser\Components\Toolbarmenu;
class MailList extends \Tests\Browser\TestCase
class ListTest extends \Tests\Browser\TestCase
{
protected static $msgcount = 0;

@ -5,7 +5,7 @@ namespace Tests\Browser\Mail;
use Tests\Browser\Components\App;
use Tests\Browser\Components\Popupmenu;
class Mail extends \Tests\Browser\TestCase
class MailTest extends \Tests\Browser\TestCase
{
public function testMailUI()
{

@ -5,7 +5,7 @@ namespace Tests\Browser\Mail;
use Tests\Browser\Components\App;
use Tests\Browser\Components\Popupmenu;
class Open extends \Tests\Browser\TestCase
class OpenTest extends \Tests\Browser\TestCase
{
public static function setUpBeforeClass()
{

@ -5,7 +5,7 @@ namespace Tests\Browser\Mail;
use Tests\Browser\Components\App;
use Tests\Browser\Components\Popupmenu;
class Preview extends \Tests\Browser\TestCase
class PreviewTest extends \Tests\Browser\TestCase
{
public static function setUpBeforeClass()
{

@ -4,7 +4,7 @@ namespace Tests\Browser\Settings;
use Tests\Browser\Components\App;
class About extends \Tests\Browser\TestCase
class AboutTest extends \Tests\Browser\TestCase
{
public function testAbout()
{

@ -4,7 +4,7 @@ namespace Tests\Browser\Settings;
use Tests\Browser\Components\App;
class Folders extends \Tests\Browser\TestCase
class FoldersTest extends \Tests\Browser\TestCase
{
public static function setUpBeforeClass()
{

@ -4,7 +4,7 @@ namespace Tests\Browser\Settings;
use Tests\Browser\Components\App;
class Identities extends \Tests\Browser\TestCase
class IdentitiesTest extends \Tests\Browser\TestCase
{
public function testIdentities()
{

@ -4,7 +4,7 @@ namespace Tests\Browser\Settings\Preferences;
use Tests\Browser\Components\App;
class General extends \Tests\Browser\TestCase
class GeneralTest extends \Tests\Browser\TestCase
{
protected function tearDown()
{

@ -4,7 +4,7 @@ namespace Tests\Browser\Settings;
use Tests\Browser\Components\App;
class Preferences extends \Tests\Browser\TestCase
class PreferencesTest extends \Tests\Browser\TestCase
{
public function testPreferences()
{

@ -4,7 +4,7 @@ namespace Tests\Browser\Settings;
use Tests\Browser\Components\App;
class Responses extends \Tests\Browser\TestCase
class ResponsesTest extends \Tests\Browser\TestCase
{
public function testIdentities()
{

@ -4,7 +4,7 @@ namespace Tests\Browser\Settings;
use Tests\Browser\Components\App;
class Settings extends \Tests\Browser\TestCase
class SettingsTest extends \Tests\Browser\TestCase
{
public function testSettings()
{

@ -3,32 +3,17 @@
colors="true">
<testsuites>
<testsuite name="Logon">
<file>Logon/Login.php</file>
<file>Logon/Logout.php</file>
<directory suffix="Test.php">Logon</directory>
</testsuite>
<testsuite name="Contacts">
<file>Contacts/Contacts.php</file>
<file>Contacts/Groups.php</file>
<file>Contacts/Import.php</file>
<file>Contacts/Export.php</file>
<directory suffix="Test.php">Contacts</directory>
</testsuite>
<testsuite name="Settings">
<file>Settings/Settings.php</file>
<file>Settings/Preferences.php</file>
<file>Settings/Preferences/General.php</file>
<file>Settings/Folders.php</file>
<file>Settings/Identities.php</file>
<file>Settings/Responses.php</file>
<file>Settings/About.php</file>
<directory suffix="Test.php">Settings</directory>
<directory suffix="Test.php">Settings/Preferences</directory>
</testsuite>
<testsuite name="Mail">
<file>Mail/Mail.php</file>
<file>Mail/Compose.php</file>
<file>Mail/Getunread.php</file>
<file>Mail/List.php</file>
<file>Mail/Open.php</file>
<file>Mail/Preview.php</file>
<file>Mail/Print.php</file>
<directory suffix="Test.php">Mail</directory>
</testsuite>
</testsuites>
</phpunit>

Loading…
Cancel
Save