mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 00:36:38 +00:00
Updated remaining occurrences for old class/project name.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
class ParseCsvForPhp {
|
||||
|
||||
/*
|
||||
Class: parseCSV v1.0.0
|
||||
Class: ParseCsvForPhp v1.0.0
|
||||
https://github.com/parsecsv/parsecsv-for-php
|
||||
|
||||
Fully conforms to the specifications lined out on Wikipedia:
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
<?php
|
||||
|
||||
|
||||
# include parseCSV class.
|
||||
# include ParseCsvForPhp class.
|
||||
require_once('../ParseCsvForPhp.php');
|
||||
|
||||
|
||||
# create new parseCSV object.
|
||||
# create new object.
|
||||
$csv = new ParseCsvForPhp();
|
||||
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
<?php
|
||||
|
||||
|
||||
# include parseCSV class.
|
||||
# include ParseCsvForPhp class.
|
||||
require_once('../ParseCsvForPhp.php');
|
||||
|
||||
|
||||
# create new parseCSV object.
|
||||
# create new object.
|
||||
$csv = new ParseCsvForPhp();
|
||||
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
|
||||
# include parseCSV class.
|
||||
# include ParseCsvForPhp class.
|
||||
require_once('../ParseCsvForPhp.php');
|
||||
|
||||
|
||||
# create new parseCSV object.
|
||||
# create new object.
|
||||
$csv = new ParseCsvForPhp();
|
||||
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
<?php
|
||||
|
||||
|
||||
# include parseCSV class.
|
||||
# include class.
|
||||
require_once('../ParseCsvForPhp.php');
|
||||
|
||||
|
||||
# create new parseCSV object.
|
||||
# create new object.
|
||||
$csv = new ParseCsvForPhp();
|
||||
|
||||
|
||||
|
||||
@@ -3,24 +3,11 @@
|
||||
class ConstructTest extends PHPUnit\Framework\TestCase {
|
||||
|
||||
/**
|
||||
* CSV
|
||||
* The parseCSV object
|
||||
*
|
||||
* @access protected
|
||||
* @var [parseCSV]
|
||||
* @var ParseCsvForPhp object
|
||||
*/
|
||||
protected $csv = null;
|
||||
|
||||
/**
|
||||
* Tear down
|
||||
* Tear down our test environment objects
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
public function tearDown() {
|
||||
$this->csv = null;
|
||||
}
|
||||
|
||||
public function test_offset_param() {
|
||||
$offset = 10;
|
||||
$this->csv = new ParseCsvForPhp(null, $offset);
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
class ParseTest extends PHPUnit\Framework\TestCase {
|
||||
|
||||
/**
|
||||
* CSV
|
||||
* The parseCSV object
|
||||
*
|
||||
* @access protected
|
||||
* @var ParseCsvForPhp
|
||||
*/
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
stopOnIncomplete="true"
|
||||
stopOnSkipped="false">
|
||||
<testsuites>
|
||||
<testsuite name="parseCSV Test Suite">
|
||||
<testsuite name="ParseCsvForPhp Test Suite">
|
||||
<directory suffix="est.php">properties/</directory>
|
||||
<directory suffix="est.php">methods/</directory>
|
||||
</testsuite>
|
||||
|
||||
@@ -3,11 +3,8 @@
|
||||
class BaseClass extends PHPUnit\Framework\TestCase {
|
||||
|
||||
/**
|
||||
* CSV
|
||||
* The parseCSV object
|
||||
*
|
||||
* @access protected
|
||||
* @var ParseCsvForPhp
|
||||
* @var ParseCsvForPhp object
|
||||
*/
|
||||
protected $csv;
|
||||
|
||||
|
||||
@@ -3,11 +3,8 @@
|
||||
class default_values_properties_Test extends PHPUnit\Framework\TestCase {
|
||||
|
||||
/**
|
||||
* CSV
|
||||
* The parseCSV object
|
||||
*
|
||||
* @access protected
|
||||
* @var ParseCsvForPhp
|
||||
* @var ParseCsvForPhp object
|
||||
*/
|
||||
protected $csv = null;
|
||||
|
||||
@@ -22,16 +19,6 @@ class default_values_properties_Test extends PHPUnit\Framework\TestCase {
|
||||
$this->csv = new ParseCsvForPhp();
|
||||
}
|
||||
|
||||
/**
|
||||
* Tear down
|
||||
* Tear down our test environment objects
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
public function tearDown() {
|
||||
$this->csv = null;
|
||||
}
|
||||
|
||||
public function test_heading_default() {
|
||||
$this->assertTrue(is_bool($this->csv->heading));
|
||||
$this->assertTrue($this->csv->heading);
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
class worthless_properties_Test extends PHPUnit\Framework\TestCase {
|
||||
|
||||
/**
|
||||
* CSV
|
||||
* The parseCSV object
|
||||
*
|
||||
* @access protected
|
||||
* @var ParseCsvForPhp
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user