强制提交
This commit is contained in:
@@ -11,8 +11,7 @@
|
||||
|
||||
namespace think\image;
|
||||
|
||||
|
||||
class Exception extends \RuntimeException
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace think\image\gif;
|
||||
|
||||
|
||||
class Decoder
|
||||
{
|
||||
public $GIF_buffer = [];
|
||||
@@ -204,4 +203,4 @@ class Decoder
|
||||
{
|
||||
return ($this->GIF_delays);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,4 +64,4 @@ class CropTest extends TestCase
|
||||
|
||||
@unlink($pathname);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,6 @@ class FlipTest extends TestCase
|
||||
@unlink($pathname);
|
||||
}
|
||||
|
||||
|
||||
public function testGif()
|
||||
{
|
||||
$pathname = TEST_PATH . 'tmp/flip.gif';
|
||||
@@ -40,4 +39,4 @@ class FlipTest extends TestCase
|
||||
|
||||
@unlink($pathname);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,4 +39,4 @@ class RotateTest extends TestCase
|
||||
|
||||
@unlink($pathname);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,4 +30,4 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
return new File(TEST_PATH . 'images/test.gif');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,4 +55,4 @@ class WaterTest extends TestCase
|
||||
|
||||
@unlink($pathname);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,4 +12,4 @@ define('TEST_PATH', __DIR__ . '/');
|
||||
// 加载框架基础文件
|
||||
require __DIR__ . '/../thinkphp/base.php';
|
||||
\think\Loader::addNamespace('tests', TEST_PATH);
|
||||
\think\Loader::addNamespace('think', __DIR__ . '/../src/');
|
||||
\think\Loader::addNamespace('think', __DIR__ . '/../src/');
|
||||
|
||||
Reference in New Issue
Block a user