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

@ -10,7 +10,7 @@ namespace Icewind\SMB;
use Icewind\SMB\Exception\Exception; use Icewind\SMB\Exception\Exception;
/** /**
* Low level wrapper for libsmbclient-php for error handling * Low level wrapper for libsmbclient-php with error handling
*/ */
class NativeState { class NativeState {
/** /**

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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