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; use Tests\Browser\Components\App;
class Contacts extends \Tests\Browser\TestCase class ContactsTest extends \Tests\Browser\TestCase
{ {
protected function setUp() protected function setUp()
{ {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -3,32 +3,17 @@
colors="true"> colors="true">
<testsuites> <testsuites>
<testsuite name="Logon"> <testsuite name="Logon">
<file>Logon/Login.php</file> <directory suffix="Test.php">Logon</directory>
<file>Logon/Logout.php</file>
</testsuite> </testsuite>
<testsuite name="Contacts"> <testsuite name="Contacts">
<file>Contacts/Contacts.php</file> <directory suffix="Test.php">Contacts</directory>
<file>Contacts/Groups.php</file>
<file>Contacts/Import.php</file>
<file>Contacts/Export.php</file>
</testsuite> </testsuite>
<testsuite name="Settings"> <testsuite name="Settings">
<file>Settings/Settings.php</file> <directory suffix="Test.php">Settings</directory>
<file>Settings/Preferences.php</file> <directory suffix="Test.php">Settings/Preferences</directory>
<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>
</testsuite> </testsuite>
<testsuite name="Mail"> <testsuite name="Mail">
<file>Mail/Mail.php</file> <directory suffix="Test.php">Mail</directory>
<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>
</testsuite> </testsuite>
</testsuites> </testsuites>
</phpunit> </phpunit>

Loading…
Cancel
Save