mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
rename test classes
This commit is contained in:
parent
fb98c1cd25
commit
d230daafb3
7 changed files with 7 additions and 7 deletions
|
|
@ -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 {
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
@ -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')) {
|
||||||
|
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
@ -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),
|
||||||
|
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
@ -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'));
|
||||||
Loading…
Add table
Add a link
Reference in a new issue