update webpatser/laravel-uuid to version 3
Some checks failed
abc-api/abcParser/pipeline/head There was a failure building this commit
Some checks failed
abc-api/abcParser/pipeline/head There was a failure building this commit
This commit is contained in:
3
tests/unit/AbcParser/Application/PersonFactoryTest.php
Normal file → Executable file
3
tests/unit/AbcParser/Application/PersonFactoryTest.php
Normal file → Executable file
@@ -2,11 +2,12 @@
|
||||
namespace Tests\Unit\AbcParser\Application;
|
||||
|
||||
use Enzyme\Axiom\Atoms\StringAtom;
|
||||
use PHPUnit_Framework_TestCase;
|
||||
use XaiCorp\AbcParser\Application\PersonFactory;
|
||||
use XaiCorp\AbcParser\Domain\Atoms\EmailAtom;
|
||||
use XaiCorp\AbcParser\Domain\Core\Person;
|
||||
|
||||
class PersonFactoryTest extends \PHPUnit_Framework_TestCase
|
||||
class PersonFactoryTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
public function testCreate()
|
||||
|
||||
3
tests/unit/AbcParser/Application/UseCases/ExtractTuneFromCollectionTest.php
Normal file → Executable file
3
tests/unit/AbcParser/Application/UseCases/ExtractTuneFromCollectionTest.php
Normal file → Executable file
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
|
||||
use Codeception\Test\Unit;
|
||||
use XaiCorp\AbcParser\Application\UseCases\ExtractTuneFromCollection;
|
||||
use XaiCorp\AbcParser\Application\UseCases\ImportAbcFile;
|
||||
|
||||
class ExtractTuneFromCollectionTest extends \Codeception\Test\Unit
|
||||
class ExtractTuneFromCollectionTest extends Unit
|
||||
{
|
||||
/**
|
||||
* @param string $filename
|
||||
|
||||
3
tests/unit/AbcParser/Application/UseCases/ImportAbcFileTest.php
Normal file → Executable file
3
tests/unit/AbcParser/Application/UseCases/ImportAbcFileTest.php
Normal file → Executable file
@@ -2,11 +2,12 @@
|
||||
|
||||
namespace Tests\Unit\AbcParser\Application\UseCases;
|
||||
|
||||
use Codeception\Test\Unit;
|
||||
use XaiCorp\AbcParser\Application\UseCases\ImportAbcFile;
|
||||
use XaiCorp\AbcParser\Domain\Core\TuneCollection;
|
||||
use XaiCorp\AbcParser\Domain\Modules\Interpreter\Builder;
|
||||
|
||||
class ImportAbcFileTest extends \Codeception\Test\Unit
|
||||
class ImportAbcFileTest extends Unit
|
||||
{
|
||||
|
||||
/**
|
||||
|
||||
4
tests/unit/AbcParser/Domain/Atoms/UnsignedIntegerAtomTest.php
Normal file → Executable file
4
tests/unit/AbcParser/Domain/Atoms/UnsignedIntegerAtomTest.php
Normal file → Executable file
@@ -9,10 +9,10 @@
|
||||
namespace Tests\Unit\AbcParser\Domain\Atoms;
|
||||
|
||||
use Enzyme\Axiom\Atoms\AtomInterface;
|
||||
use Enzyme\Axiom\Exceptions\AtomException;
|
||||
use PHPUnit_Framework_TestCase;
|
||||
use XaiCorp\AbcParser\Domain\Atoms\UnsignedIntegerAtom;
|
||||
|
||||
class UnsignedIntegerAtomTest extends \PHPUnit_Framework_TestCase
|
||||
class UnsignedIntegerAtomTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testCreateAtom()
|
||||
{
|
||||
|
||||
3
tests/unit/AbcParser/Domain/Core/PersonTest.php
Normal file → Executable file
3
tests/unit/AbcParser/Domain/Core/PersonTest.php
Normal file → Executable file
@@ -9,10 +9,11 @@
|
||||
namespace Tests\Unit\AbcParser\Domain\Core;
|
||||
|
||||
use Enzyme\Axiom\Atoms\StringAtom;
|
||||
use PHPUnit_Framework_TestCase;
|
||||
use XaiCorp\AbcParser\Domain\Atoms\EmailAtom;
|
||||
use XaiCorp\AbcParser\Domain\Core\Person;
|
||||
|
||||
class PersonTest extends \PHPUnit_Framework_TestCase
|
||||
class PersonTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
public function testCreate()
|
||||
|
||||
3
tests/unit/AbcParser/Domain/Core/SettingTest.php
Normal file → Executable file
3
tests/unit/AbcParser/Domain/Core/SettingTest.php
Normal file → Executable file
@@ -9,11 +9,12 @@
|
||||
namespace Tests\Unit\AbcParser\Domain\Core;
|
||||
|
||||
use Enzyme\Axiom\Atoms\StringAtom;
|
||||
use PHPUnit_Framework_TestCase;
|
||||
use XaiCorp\AbcParser\Domain\Atoms\EmailAtom;
|
||||
use XaiCorp\AbcParser\Domain\Core\Setting;
|
||||
use XaiCorp\AbcParser\Domain\Core\Transcriber;
|
||||
|
||||
class SettingTest extends \PHPUnit_Framework_TestCase
|
||||
class SettingTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testCreate()
|
||||
{
|
||||
|
||||
5
tests/unit/AbcParser/Domain/Core/TuneAttributeArrayBuilderTest.php
Normal file → Executable file
5
tests/unit/AbcParser/Domain/Core/TuneAttributeArrayBuilderTest.php
Normal file → Executable file
@@ -6,11 +6,12 @@
|
||||
* Time: 8:28 AM
|
||||
*/
|
||||
|
||||
use XaiCorp\AbcParser\Domain\Core\TuneAttributeArrayBuilder;
|
||||
use Codeception\Test\Unit;
|
||||
use XaiCorp\AbcParser\Domain\Atoms\UnsignedIntegerAtom;
|
||||
use XaiCorp\AbcParser\Domain\Core\Tune;
|
||||
use XaiCorp\AbcParser\Domain\Core\TuneAttributeArrayBuilder;
|
||||
|
||||
class TuneAttributeArrayBuilderTest extends \Codeception\Test\Unit
|
||||
class TuneAttributeArrayBuilderTest extends Unit
|
||||
{
|
||||
|
||||
public function testSetIndex()
|
||||
|
||||
5
tests/unit/AbcParser/Domain/Core/TuneTest.php
Normal file → Executable file
5
tests/unit/AbcParser/Domain/Core/TuneTest.php
Normal file → Executable file
@@ -9,16 +9,17 @@
|
||||
namespace Tests\Unit\AbcParser\Domain\Core;
|
||||
|
||||
use Enzyme\Axiom\Atoms\StringAtom;
|
||||
use PHPUnit_Framework_TestCase;
|
||||
use Webpatser\Uuid\Uuid;
|
||||
use XaiCorp\AbcParser\Domain\Atoms\EmailAtom;
|
||||
use XaiCorp\AbcParser\Domain\Atoms\UnsignedIntegerAtom;
|
||||
use XaiCorp\AbcParser\Domain\Core\Author;
|
||||
use XaiCorp\AbcParser\Domain\Core\Composer;
|
||||
use XaiCorp\AbcParser\Domain\Core\Tune;
|
||||
use XaiCorp\AbcParser\Domain\Core\Setting;
|
||||
use XaiCorp\AbcParser\Domain\Core\Tune;
|
||||
use XaiCorp\AbcParser\Domain\Core\TuneAttributeArrayBuilder;
|
||||
|
||||
class TuneTest extends \PHPUnit_Framework_TestCase
|
||||
class TuneTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testCreate()
|
||||
{
|
||||
|
||||
3
tests/unit/AbcParser/Domain/Modules/Interpreter/ContextTest.php
Normal file → Executable file
3
tests/unit/AbcParser/Domain/Modules/Interpreter/ContextTest.php
Normal file → Executable file
@@ -9,9 +9,10 @@
|
||||
namespace Tests\Unit\AbcParser\Domain\Modules\Interpreter;
|
||||
|
||||
use Enzyme\Axiom\Atoms\StringAtom;
|
||||
use PHPUnit_Framework_TestCase;
|
||||
use XaiCorp\AbcParser\Domain\Modules\Interpreter\Context;
|
||||
|
||||
class ContextTest extends \PHPUnit_Framework_TestCase
|
||||
class ContextTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
private function getAbc($filename = '/abc/valid_abc_1.abc')
|
||||
{
|
||||
|
||||
8
tests/unit/AbcParser/Domain/Modules/Interpreter/DefaultInterpreterTest.php
Normal file → Executable file
8
tests/unit/AbcParser/Domain/Modules/Interpreter/DefaultInterpreterTest.php
Normal file → Executable file
@@ -9,17 +9,17 @@
|
||||
namespace Tests\Unit\AbcParser\Domain\Modules\Interpreter;
|
||||
|
||||
use Enzyme\Axiom\Atoms\StringAtom;
|
||||
use Enzyme\Collection\CollectionException;
|
||||
use Exception;
|
||||
use PHPUnit_Framework_TestCase;
|
||||
use XaiCorp\AbcParser\Domain\Atoms\EmailAtom;
|
||||
use XaiCorp\AbcParser\Domain\Core\Author;
|
||||
use XaiCorp\AbcParser\Domain\Core\Composer;
|
||||
use XaiCorp\AbcParser\Domain\Core\Tune;
|
||||
use XaiCorp\AbcParser\Domain\Modules\Interpreter\Builder;
|
||||
use XaiCorp\AbcParser\Domain\Modules\Interpreter\Context;
|
||||
use XaiCorp\AbcParser\Domain\Modules\Interpreter\DefaultInterpreter;
|
||||
use XaiCorp\AbcParser\Domain\Modules\Interpreter\Interpreter;
|
||||
|
||||
class DefaultInterpreterTest extends \PHPUnit_Framework_TestCase
|
||||
class DefaultInterpreterTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @var Interpreter
|
||||
@@ -49,7 +49,7 @@ class DefaultInterpreterTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
try {
|
||||
return new StringAtom($string);
|
||||
} catch (\Exception $e) {
|
||||
} catch (Exception $e) {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user