Skip to content

Commit

Permalink
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
carusogabriel authored and gabrielrcouto committed Nov 17, 2017
1 parent dd302aa commit 944980f
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -16,7 +16,7 @@
},
"require-dev" : {
"phing/phing": "2.*",
"phpunit/phpunit": "4.5.*",
"phpunit/phpunit": "^4.8.35",
"squizlabs/php_codesniffer": "2.0.*@dev",
"evert/phpdoc-md" : "~0.2.0",
"phpdocumentor/phpdocumentor": "^2.8"
Expand Down
3 changes: 2 additions & 1 deletion test/ApplicationTest.php
Expand Up @@ -4,8 +4,9 @@

use Gui\Application;
use Gui\Components\Window;
use PHPUnit\Framework\TestCase;

class ApplicationTest extends \PHPUnit_Framework_TestCase
class ApplicationTest extends TestCase
{
public function testGetNextObjectId()
{
Expand Down
3 changes: 2 additions & 1 deletion test/ColorTest.php
Expand Up @@ -3,8 +3,9 @@
namespace Test;

use Gui\Color;
use PHPUnit\Framework\TestCase;

class ColorTest extends \PHPUnit_Framework_TestCase
class ColorTest extends TestCase
{
public function testColorToLazarus()
{
Expand Down
3 changes: 2 additions & 1 deletion test/Components/ObjectTest.php
Expand Up @@ -4,8 +4,9 @@

use Gui\Application;
use Gui\Components\Window;
use PHPUnit\Framework\TestCase;

class ObjectTest extends \PHPUnit_Framework_TestCase
class ObjectTest extends TestCase
{
public function testMagicCall()
{
Expand Down
3 changes: 2 additions & 1 deletion test/Components/RadioTest.php
Expand Up @@ -5,8 +5,9 @@
use Gui\Application;
use Gui\Components\Option;
use Gui\Components\Radio;
use PHPUnit\Framework\TestCase;

class RadioTest extends \PHPUnit_Framework_TestCase
class RadioTest extends TestCase
{

public function testSetOptions()
Expand Down
3 changes: 2 additions & 1 deletion test/Ipc/CommandMessageTest.php
Expand Up @@ -3,8 +3,9 @@
namespace Test\Ipc;

use Gui\Ipc\CommandMessage;
use PHPUnit\Framework\TestCase;

class CommandMessageTest extends \PHPUnit_Framework_TestCase
class CommandMessageTest extends TestCase
{
public function testConstructor()
{
Expand Down
3 changes: 2 additions & 1 deletion test/Ipc/EventMessageTest.php
Expand Up @@ -3,8 +3,9 @@
namespace Test\Ipc;

use Gui\Ipc\CommandMessage;
use PHPUnit\Framework\TestCase;

class EventMessageTest extends \PHPUnit_Framework_TestCase
class EventMessageTest extends TestCase
{
public function testConstructor()
{
Expand Down
3 changes: 2 additions & 1 deletion test/Ipc/ReceiverTest.php
Expand Up @@ -5,9 +5,10 @@
use Gui\Application;
use Gui\Exception\ComponentException;
use Gui\Ipc\Receiver;
use PHPUnit\Framework\TestCase;
use Test\Util;

class ReceiverTest extends \PHPUnit_Framework_TestCase
class ReceiverTest extends TestCase
{
public function testConstructor()
{
Expand Down
3 changes: 2 additions & 1 deletion test/Ipc/SenderTest.php
Expand Up @@ -5,8 +5,9 @@
use Gui\Application;
use Gui\Ipc\Receiver;
use Gui\Ipc\Sender;
use PHPUnit\Framework\TestCase;

class SenderTest extends \PHPUnit_Framework_TestCase
class SenderTest extends TestCase
{
public function testConstructor()
{
Expand Down

0 comments on commit 944980f

Please sign in to comment.