Open Journal Systems  3.3.0
AffixesTest.php
1 <?php
2 /*
3  * citeproc-php
4  *
5  * @link http://github.com/seboettg/citeproc-php for the source repository
6  * @copyright Copyright (c) 2016 Sebastian Böttger.
7  * @license https://opensource.org/licenses/MIT
8  */
9 
10 namespace Seboettg\CiteProc\Styles;
11 
12 use PHPUnit\Framework\TestCase;
14 
15 class AffixesTest extends TestCase
16 {
18 
19  public function testAffixNumber()
20  {
21  $this->_testRenderTestSuite("number_affixes");
22  }
23 
24  public function testAffixBrackets()
25  {
26  $this->_testRenderTestSuite('affix_Brackets');
27  }
28 
29  public function testAffixInterveningEmpty()
30  {
31  $this->_testRenderTestSuite('affix_InterveningEmpty');
32  }
33 
35  {
36  $this->_testRenderTestSuite('affix_PrefixFullCitationTextOnly');
37  }
38 
40  {
41  $this->_testRenderTestSuite('affix_PrefixWithDecorations');
42  }
43 
44  public function testAffixTextNodeWithMacro()
45  {
46  $this->_testRenderTestSuite('affix_TextNodeWithMacro');
47  }
48 }
Seboettg\CiteProc\TestSuiteTestCaseTrait
trait TestSuiteTestCaseTrait
Definition: TestSuiteTestCaseTrait.php:17
Seboettg\CiteProc\Styles\AffixesTest\testAffixPrefixFullCitationTextOnly
testAffixPrefixFullCitationTextOnly()
Definition: AffixesTest.php:34
Seboettg\CiteProc\Styles\AffixesTest\testAffixTextNodeWithMacro
testAffixTextNodeWithMacro()
Definition: AffixesTest.php:44
Seboettg\CiteProc\Styles\AffixesTest\testAffixInterveningEmpty
testAffixInterveningEmpty()
Definition: AffixesTest.php:29
Seboettg\CiteProc\_testRenderTestSuite
_testRenderTestSuite($filterTests, $ignore=null)
Definition: TestSuiteTestCaseTrait.php:27
Seboettg\CiteProc\Styles
Definition: AffixesTrait.php:10
Seboettg\CiteProc\Styles\AffixesTest\testAffixBrackets
testAffixBrackets()
Definition: AffixesTest.php:24
Seboettg\CiteProc\Styles\AffixesTest\testAffixNumber
testAffixNumber()
Definition: AffixesTest.php:19
Seboettg\CiteProc\Styles\AffixesTest
Definition: AffixesTest.php:15
Seboettg\CiteProc\Styles\AffixesTest\testAffixPrefixWithDecorations
testAffixPrefixWithDecorations()
Definition: AffixesTest.php:39