Skip to content

Commit

Permalink
Namespace test files
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 3, 2024
1 parent a11ae4e commit 9ce5b9c
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
},
"autoload-dev": {
"psr-4": {
"malkusch\\lock\\": "tests/"
"malkusch\\lock\\Tests\\": "tests/"
}
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/CASMutexTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\mutex;
namespace malkusch\lock\Tests\mutex;

use malkusch\lock\exception\LockAcquireException;
use phpmock\environment\SleepEnvironmentBuilder;
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/FlockMutexTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\mutex;
namespace malkusch\lock\Tests\mutex;

use Eloquent\Liberator\Liberator;
use malkusch\lock\exception\DeadlineException;
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/LockMutexTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\mutex;
namespace malkusch\lock\Tests\mutex;

use malkusch\lock\exception\LockAcquireException;
use malkusch\lock\exception\LockReleaseException;
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/MemcachedMutexTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\mutex;
namespace malkusch\lock\Tests\mutex;

use malkusch\lock\exception\LockReleaseException;
use malkusch\lock\exception\TimeoutException;
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/MutexConcurrencyTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\mutex;
namespace malkusch\lock\Tests\mutex;

use Eloquent\Liberator\Liberator;
use PHPUnit\Framework\Constraint\IsType;
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/MutexTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\mutex;
namespace malkusch\lock\Tests\mutex;

use Eloquent\Liberator\Liberator;
use org\bovigo\vfs\vfsStream;
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/PHPRedisMutexTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\mutex;
namespace malkusch\lock\Tests\mutex;

use malkusch\lock\exception\LockAcquireException;
use malkusch\lock\exception\LockReleaseException;
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/PgAdvisoryLockMutexTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\mutex;
namespace malkusch\lock\Tests\mutex;

use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/PredisMutexTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\mutex;
namespace malkusch\lock\Tests\mutex;

use malkusch\lock\exception\LockAcquireException;
use malkusch\lock\exception\LockReleaseException;
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/RedisMutexTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\mutex;
namespace malkusch\lock\Tests\mutex;

use malkusch\lock\exception\LockAcquireException;
use malkusch\lock\exception\LockReleaseException;
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/SpinlockMutexTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\mutex;
namespace malkusch\lock\Tests\mutex;

use malkusch\lock\exception\ExecutionOutsideLockException;
use malkusch\lock\exception\LockAcquireException;
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/TransactionalMutexTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\mutex;
namespace malkusch\lock\Tests\mutex;

use malkusch\lock\exception\LockAcquireException;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/util/DoubleCheckedLockingTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\util;
namespace malkusch\lock\Tests\util;

use malkusch\lock\mutex\Mutex;
use PHPUnit\Framework\MockObject\MockObject;
Expand Down
2 changes: 1 addition & 1 deletion tests/util/LoopTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\util;
namespace malkusch\lock\Tests\util;

use malkusch\lock\exception\TimeoutException;
use phpmock\environment\SleepEnvironmentBuilder;
Expand Down
2 changes: 1 addition & 1 deletion tests/util/PcntlTimeoutTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace malkusch\lock\util;
namespace malkusch\lock\Tests\util;

use malkusch\lock\exception\DeadlineException;
use malkusch\lock\exception\LockAcquireException;
Expand Down

0 comments on commit 9ce5b9c

Please sign in to comment.