Fix unit test names, property and function visibility

This commit is contained in:
Romain Neutron
2013-12-06 10:26:54 +01:00
parent 804caccc73
commit a3b1ae7163
313 changed files with 510 additions and 534 deletions

View File

@@ -7,7 +7,7 @@ use Alchemy\Geonames\Geoname as GeonameResult;
use Alchemy\Geonames\Exception\NotFoundException;
use Alchemy\Geonames\Exception\TransportException;
class GeonameTest extends \PhraseanetPHPUnitAbstract
class GeonameTest extends \PhraseanetTestCase
{
public function testAValidGeonameIsValid()
{

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\GeonameValidator;
class GeonameValidatorTest extends \PhraseanetPHPUnitAbstract
class GeonameValidatorTest extends \PhraseanetTestCase
{
/**
* @dataProvider provideData

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\NewEmail;
class NewEmailTest extends \PhraseanetPHPUnitAbstract
class NewEmailTest extends \PhraseanetTestCase
{
public function testAnUnknownAddressIsNotAlreadyRegistered()
{

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\NewEmailValidator;
class NewEmailValidatorTest extends \PhraseanetPHPUnitAbstract
class NewEmailValidatorTest extends \PhraseanetTestCase
{
/**
* @dataProvider provideValidationData

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\NewLogin;
class NewLoginTest extends \PhraseanetPHPUnitAbstract
class NewLoginTest extends \PhraseanetTestCase
{
public function testAnUnknownLoginIsNotAlreadyRegistered()
{

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\NewLoginValidator;
class NewLoginValidatorTest extends \PhraseanetPHPUnitAbstract
class NewLoginValidatorTest extends \PhraseanetTestCase
{
/**
* @dataProvider provideValidationData

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\PasswordToken;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
class PasswordTokenTest extends \PhraseanetPHPUnitAbstract
class PasswordTokenTest extends \PhraseanetTestCase
{
public function testInvalidTokenIsNotValid()
{

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\PasswordTokenValidator;
class PasswordTokenValidatorTest extends \PhraseanetPHPUnitAbstract
class PasswordTokenValidatorTest extends \PhraseanetTestCase
{
/**
* @dataProvider provideValidationData

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Form;
abstract class FormTestCase extends \PhraseanetPHPUnitAbstract
abstract class FormTestCase extends \PhraseanetTestCase
{
public function testBuildForm()
{

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Type;
use Alchemy\Phrasea\Form\Type\GeonameType;
class GeonameTypeTest extends \PhraseanetPHPUnitAbstract
class GeonameTypeTest extends \PhraseanetTestCase
{
public function testGetParent()
{