rename test classes

This commit is contained in:
Robin Appelman 2018-01-19 15:36:01 +01:00
commit d230daafb3
7 changed files with 7 additions and 7 deletions

View file

@ -12,7 +12,7 @@ use Icewind\SMB\Exception\InvalidPathException;
use Icewind\SMB\Exception\NotFoundException;
use Icewind\SMB\FileInfo;
abstract class AbstractShare extends TestCase {
abstract class AbstractShareTest extends TestCase {
/**
* @var \Icewind\SMB\Server $server
*/

View file

@ -9,7 +9,7 @@ namespace Icewind\SMB\Test;
use Icewind\SMB\NativeServer;
class NativeShare extends AbstractShare {
class NativeShareTestTest extends AbstractShareTest {
public function setUp() {
$this->requireBackendEnv('libsmbclient');
if (!function_exists('smbclient_state_new')) {

View file

@ -9,7 +9,7 @@ namespace Icewind\SMB\Test;
use Icewind\SMB\NativeServer;
class NativeStream extends TestCase {
class NativeStreamTest extends TestCase {
/**
* @var \Icewind\SMB\Server $server
*/

View file

@ -10,7 +10,7 @@ namespace Icewind\SMB\Test;
use Icewind\SMB\FileInfo;
class Parser extends \PHPUnit_Framework_TestCase {
class ParserTest extends \PHPUnit_Framework_TestCase {
public function modeProvider() {
return array(
array('D', FileInfo::MODE_DIRECTORY),

View file

@ -7,7 +7,7 @@
namespace Icewind\SMB\Test;
class Server extends TestCase {
class ServerTest extends TestCase {
/**
* @var \Icewind\SMB\Server $server
*/

View file

@ -9,7 +9,7 @@ namespace Icewind\SMB\Test;
use Icewind\SMB\Server as NormalServer;
class Share extends AbstractShare {
class ShareTestTest extends AbstractShareTest {
public function setUp() {
$this->requireBackendEnv('smbclient');
$this->config = json_decode(file_get_contents(__DIR__ . '/config.json'));