1
0
mirror of https://github.com/mrclay/minify.git synced 2025-07-31 19:30:29 +02:00

use Minify\Test namespace for tests

This commit is contained in:
Elan Ruusamäe
2017-12-22 17:58:01 +02:00
parent 6236431c8f
commit 7d60fb9d0f
24 changed files with 49 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
"classmap": ["lib/"]
},
"autoload-dev": {
"classmap": ["tests/TestCase.php"]
"psr-4": {"Minify\\Test\\": "tests/"}
},
"require": {
"ext-pcre": "*",

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class HTTPConditionalGetTest extends TestCase
{
public function TestData()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class HTTPEncoderTest extends TestCase
{
/**

View File

@@ -1,6 +1,7 @@
<?php
use JSMin\JSMin;
use Minify\Test\TestCase;
class JsMinTest extends TestCase
{

View File

@@ -1,6 +1,8 @@
<?php
class JsClosureCompilerTest extends PHPUnit_Framework_TestCase
use Minify\Test\TestCase;
class JsClosureCompilerTest extends TestCase
{
public function test1()
{

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class LessSourceTest extends TestCase
{
public function setUp()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyBuildTest extends TestCase
{
public function test()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyCSSUriRewriterTest extends TestCase
{
public function setUp()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyCacheAPCTest extends TestCase
{
public function setUp()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyCacheFileTest extends TestCase
{
public function test1()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyCacheMemcacheTest extends TestCase
{
/** @var Memcache */

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyCacheWinCacheTest extends TestCase
{
public function setUp()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyCacheZendPlatformTest extends TestCase
{
public function setUp()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyClosureCompilerTest extends TestCase
{
public static function setupBeforeClass()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyCommentPreserverTest extends TestCase
{
public function test()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyHTMLHelperTest extends TestCase
{
private $realDocRoot;

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyHTMLTest extends TestCase
{
public function test1()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyImportProcessorTest extends TestCase
{
public function test()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyLinesTest extends TestCase
{
public function test_lines()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyNailgunClosureCompilerTest extends TestCase
{
public static function setupBeforeClass()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyTest extends TestCase
{
public function test_Minify()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class MinifyYuiCSSTest extends TestCase
{
public static function setupBeforeClass()

View File

@@ -1,5 +1,7 @@
<?php
use Minify\Test\TestCase;
class ScssSourceTest extends TestCase
{
public function setUp()

View File

@@ -1,5 +1,9 @@
<?php
namespace Minify\Test;
use Minify_CacheInterface;
abstract class TestCase extends \PHPUnit\Framework\TestCase
{
/** @var string */