mirror of
https://github.com/mrclay/minify.git
synced 2025-08-06 14:16:28 +02:00
use Minify\Test namespace for tests
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
"classmap": ["lib/"]
|
"classmap": ["lib/"]
|
||||||
},
|
},
|
||||||
"autoload-dev": {
|
"autoload-dev": {
|
||||||
"classmap": ["tests/TestCase.php"]
|
"psr-4": {"Minify\\Test\\": "tests/"}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-pcre": "*",
|
"ext-pcre": "*",
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class HTTPConditionalGetTest extends TestCase
|
class HTTPConditionalGetTest extends TestCase
|
||||||
{
|
{
|
||||||
public function TestData()
|
public function TestData()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class HTTPEncoderTest extends TestCase
|
class HTTPEncoderTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use JSMin\JSMin;
|
use JSMin\JSMin;
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class JsMinTest extends TestCase
|
class JsMinTest extends TestCase
|
||||||
{
|
{
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class JsClosureCompilerTest extends PHPUnit_Framework_TestCase
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
|
class JsClosureCompilerTest extends TestCase
|
||||||
{
|
{
|
||||||
public function test1()
|
public function test1()
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class LessSourceTest extends TestCase
|
class LessSourceTest extends TestCase
|
||||||
{
|
{
|
||||||
public function setUp()
|
public function setUp()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyBuildTest extends TestCase
|
class MinifyBuildTest extends TestCase
|
||||||
{
|
{
|
||||||
public function test()
|
public function test()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyCSSUriRewriterTest extends TestCase
|
class MinifyCSSUriRewriterTest extends TestCase
|
||||||
{
|
{
|
||||||
public function setUp()
|
public function setUp()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyCacheAPCTest extends TestCase
|
class MinifyCacheAPCTest extends TestCase
|
||||||
{
|
{
|
||||||
public function setUp()
|
public function setUp()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyCacheFileTest extends TestCase
|
class MinifyCacheFileTest extends TestCase
|
||||||
{
|
{
|
||||||
public function test1()
|
public function test1()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyCacheMemcacheTest extends TestCase
|
class MinifyCacheMemcacheTest extends TestCase
|
||||||
{
|
{
|
||||||
/** @var Memcache */
|
/** @var Memcache */
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyCacheWinCacheTest extends TestCase
|
class MinifyCacheWinCacheTest extends TestCase
|
||||||
{
|
{
|
||||||
public function setUp()
|
public function setUp()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyCacheZendPlatformTest extends TestCase
|
class MinifyCacheZendPlatformTest extends TestCase
|
||||||
{
|
{
|
||||||
public function setUp()
|
public function setUp()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyClosureCompilerTest extends TestCase
|
class MinifyClosureCompilerTest extends TestCase
|
||||||
{
|
{
|
||||||
public static function setupBeforeClass()
|
public static function setupBeforeClass()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyCommentPreserverTest extends TestCase
|
class MinifyCommentPreserverTest extends TestCase
|
||||||
{
|
{
|
||||||
public function test()
|
public function test()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyHTMLHelperTest extends TestCase
|
class MinifyHTMLHelperTest extends TestCase
|
||||||
{
|
{
|
||||||
private $realDocRoot;
|
private $realDocRoot;
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyHTMLTest extends TestCase
|
class MinifyHTMLTest extends TestCase
|
||||||
{
|
{
|
||||||
public function test1()
|
public function test1()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyImportProcessorTest extends TestCase
|
class MinifyImportProcessorTest extends TestCase
|
||||||
{
|
{
|
||||||
public function test()
|
public function test()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyLinesTest extends TestCase
|
class MinifyLinesTest extends TestCase
|
||||||
{
|
{
|
||||||
public function test_lines()
|
public function test_lines()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyNailgunClosureCompilerTest extends TestCase
|
class MinifyNailgunClosureCompilerTest extends TestCase
|
||||||
{
|
{
|
||||||
public static function setupBeforeClass()
|
public static function setupBeforeClass()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyTest extends TestCase
|
class MinifyTest extends TestCase
|
||||||
{
|
{
|
||||||
public function test_Minify()
|
public function test_Minify()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class MinifyYuiCSSTest extends TestCase
|
class MinifyYuiCSSTest extends TestCase
|
||||||
{
|
{
|
||||||
public static function setupBeforeClass()
|
public static function setupBeforeClass()
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Minify\Test\TestCase;
|
||||||
|
|
||||||
class ScssSourceTest extends TestCase
|
class ScssSourceTest extends TestCase
|
||||||
{
|
{
|
||||||
public function setUp()
|
public function setUp()
|
||||||
|
@@ -1,5 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
namespace Minify\Test;
|
||||||
|
|
||||||
|
use Minify_CacheInterface;
|
||||||
|
|
||||||
abstract class TestCase extends \PHPUnit\Framework\TestCase
|
abstract class TestCase extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/** @var string */
|
/** @var string */
|
||||||
|
Reference in New Issue
Block a user