Kohana v3.3.5
This commit is contained in:
@@ -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('© 2012 Kohana Team'))),
|
||||
array('', array('copyright' => array('© 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
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user