mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Added namespace support for further tests
This commit is contained in:
@@ -1,13 +1,18 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class BaseClass extends PHPUnit\Framework\TestCase {
|
namespace ParseCsv\tests\properties;
|
||||||
|
|
||||||
|
use ParseCsv\Csv;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
|
class BaseClass extends TestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CSV
|
* CSV
|
||||||
* The parseCSV object
|
* The parseCSV object
|
||||||
*
|
*
|
||||||
* @access protected
|
* @access protected
|
||||||
* @var parseCSV
|
* @var Csv
|
||||||
*/
|
*/
|
||||||
protected $csv;
|
protected $csv;
|
||||||
|
|
||||||
@@ -18,7 +23,7 @@ class BaseClass extends PHPUnit\Framework\TestCase {
|
|||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
$this->csv = new parseCSV();
|
$this->csv = new Csv();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function _compareWithExpected($expected) {
|
protected function _compareWithExpected($expected) {
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
namespace ParseCsv\tests\properties;
|
||||||
|
|
||||||
class ConditionsTest extends BaseClass {
|
class ConditionsTest extends BaseClass {
|
||||||
|
|
||||||
public function testNotDanBrown() {
|
public function testNotDanBrown() {
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
namespace ParseCsv\tests\properties;
|
||||||
|
|
||||||
class SortByTest extends BaseClass {
|
class SortByTest extends BaseClass {
|
||||||
|
|
||||||
public function testSortByRating() {
|
public function testSortByRating() {
|
||||||
|
|||||||
Reference in New Issue
Block a user