Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
118 changed files
with
328 additions
and
317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<?php | ||
|
||
namespace spec\Ddeboer\DataImport\Exception; | ||
namespace spec\Port\Exception; | ||
|
||
use PhpSpec\ObjectBehavior; | ||
|
||
class MappingExceptionSpec extends ObjectBehavior | ||
{ | ||
function it_is_initializable() | ||
{ | ||
$this->shouldHaveType('Ddeboer\DataImport\Exception\MappingException'); | ||
$this->shouldHaveType('Port\Exception\MappingException'); | ||
} | ||
|
||
function it_is_an_exception() | ||
{ | ||
$this->shouldHaveType('Exception'); | ||
$this->shouldImplement('Ddeboer\DataImport\Exception'); | ||
$this->shouldImplement('Port\Exception'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<?php | ||
|
||
namespace spec\Ddeboer\DataImport\Exception; | ||
namespace spec\Port\Exception; | ||
|
||
use PhpSpec\ObjectBehavior; | ||
|
||
class ReaderExceptionSpec extends ObjectBehavior | ||
{ | ||
function it_is_initializable() | ||
{ | ||
$this->shouldHaveType('Ddeboer\DataImport\Exception\ReaderException'); | ||
$this->shouldHaveType('Port\Exception\ReaderException'); | ||
} | ||
|
||
function it_is_an_exception() | ||
{ | ||
$this->shouldHaveType('Exception'); | ||
$this->shouldImplement('Ddeboer\DataImport\Exception'); | ||
$this->shouldImplement('Port\Exception'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<?php | ||
|
||
namespace spec\Ddeboer\DataImport\Exception; | ||
namespace spec\Port\Exception; | ||
|
||
use PhpSpec\ObjectBehavior; | ||
|
||
class SourceNotFoundExceptionSpec extends ObjectBehavior | ||
{ | ||
function it_is_initializable() | ||
{ | ||
$this->shouldHaveType('Ddeboer\DataImport\Exception\SourceNotFoundException'); | ||
$this->shouldHaveType('Port\Exception\SourceNotFoundException'); | ||
} | ||
|
||
function it_is_an_exception() | ||
{ | ||
$this->shouldHaveType('Exception'); | ||
$this->shouldImplement('Ddeboer\DataImport\Exception'); | ||
$this->shouldImplement('Port\Exception'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<?php | ||
|
||
namespace spec\Ddeboer\DataImport\Exception; | ||
namespace spec\Port\Exception; | ||
|
||
use PhpSpec\ObjectBehavior; | ||
|
||
class UnexpectedValueExceptionSpec extends ObjectBehavior | ||
{ | ||
function it_is_initializable() | ||
{ | ||
$this->shouldHaveType('Ddeboer\DataImport\Exception\UnexpectedValueException'); | ||
$this->shouldHaveType('Port\Exception\UnexpectedValueException'); | ||
} | ||
|
||
function it_is_an_exception() | ||
{ | ||
$this->shouldImplement('Ddeboer\DataImport\Exception'); | ||
$this->shouldImplement('Port\Exception'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<?php | ||
|
||
namespace spec\Ddeboer\DataImport\Exception; | ||
namespace spec\Port\Exception; | ||
|
||
use PhpSpec\ObjectBehavior; | ||
|
||
class WriterExceptionSpec extends ObjectBehavior | ||
{ | ||
function it_is_initializable() | ||
{ | ||
$this->shouldHaveType('Ddeboer\DataImport\Exception\WriterException'); | ||
$this->shouldHaveType('Port\Exception\WriterException'); | ||
} | ||
|
||
function it_is_an_exception() | ||
{ | ||
$this->shouldHaveType('Exception'); | ||
$this->shouldImplement('Ddeboer\DataImport\Exception'); | ||
$this->shouldImplement('Port\Exception'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<?php | ||
|
||
namespace spec\Ddeboer\DataImport\Reader\Factory; | ||
namespace spec\Port\Reader\Factory; | ||
|
||
use PhpSpec\ObjectBehavior; | ||
|
||
class CsvReaderFactorySpec extends ObjectBehavior | ||
{ | ||
function it_is_initializable() | ||
{ | ||
$this->shouldHaveType('Ddeboer\DataImport\Reader\Factory\CsvReaderFactory'); | ||
$this->shouldHaveType('Port\Reader\Factory\CsvReaderFactory'); | ||
} | ||
|
||
function it_creates_a_reader() | ||
{ | ||
$file = new \SplFileObject(tempnam(sys_get_temp_dir(), null)); | ||
|
||
$this->getReader($file)->shouldHaveType('Ddeboer\DataImport\Reader\CsvReader'); | ||
$this->getReader($file)->shouldHaveType('Port\Reader\CsvReader'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<?php | ||
|
||
namespace spec\Ddeboer\DataImport\Reader\Factory; | ||
namespace spec\Port\Reader\Factory; | ||
|
||
use PhpSpec\ObjectBehavior; | ||
|
||
class ExcelReaderFactorySpec extends ObjectBehavior | ||
{ | ||
function it_is_initializable() | ||
{ | ||
$this->shouldHaveType('Ddeboer\DataImport\Reader\Factory\ExcelReaderFactory'); | ||
$this->shouldHaveType('Port\Reader\Factory\ExcelReaderFactory'); | ||
} | ||
|
||
function it_creates_a_reader() | ||
{ | ||
$file = new \SplFileObject(tempnam(sys_get_temp_dir(), null)); | ||
|
||
$this->getReader($file)->shouldHaveType('Ddeboer\DataImport\Reader\ExcelReader'); | ||
$this->getReader($file)->shouldHaveType('Port\Reader\ExcelReader'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.