Kohana v3.3.5

This commit is contained in:
Deon George
2016-05-01 20:50:24 +10:00
parent 8888719653
commit 68c7f4f159
170 changed files with 4565 additions and 1176 deletions

View File

@@ -6,7 +6,7 @@
*
* @package Kohana/Userguide
* @author Kohana Team
* @copyright (c) 2012 Kohana Team
* @copyright (c) 2008-2013 Kohana Team
* @license http://kohanaframework.org/license
*/
class Kohana_KodocTest extends PHPUnit_Framework_TestCase
@@ -88,7 +88,7 @@ COMMENT
array(
<<<'COMMENT'
/**
* @trailingspace
* @trailingspace
*/
COMMENT
,
@@ -162,11 +162,11 @@ COMMENT
array(
<<<'COMMENT'
/**
* @copyright (c) 2012 Kohana Team
* @copyright (c) 2008-2013 Kohana Team
*/
COMMENT
,
array('', array('copyright' => array('&copy; 2012 Kohana Team'))),
array('', array('copyright' => array('&copy; 2008-2013 Kohana Team'))),
),
array(
<<<'COMMENT'
@@ -328,7 +328,7 @@ COMMENT
{
$this->assertSame($expected, Kodoc::parse($comment));
}
/**
* Provides test data for test_transparent_classes
* @return array

View File

@@ -10,7 +10,7 @@
* @package Kohana/Userguide
* @category Tests
* @author Kohana Team
* @copyright (c) 2008-2012 Kohana Team
* @copyright (c) 2008-2013 Kohana Team
* @license http://kohanaframework.org/license
*/
class Userguide_ControllerTest extends Unittest_TestCase
@@ -28,8 +28,8 @@ class Userguide_ControllerTest extends Unittest_TestCase
/**
* @dataProvider provider_file_finds_markdown_files
* @param string $page Page name passed in the URL
* @param string $expected_file Expected result from Controller_Userguide::file
* @param string $page Page name passed in the URL
* @param string $expected_file Expected result from Controller_Userguide::file
*/
public function test_file_finds_markdown_files($page, $expected_file)
{
@@ -42,4 +42,5 @@ class Userguide_ControllerTest extends Unittest_TestCase
$this->assertEquals($expected_file, $file);
}
}