TagsServiceTest
extends TestCase
in package
Tags Test Class
Tags
Table of Contents
- getTagsService() : TagsService
- Get an object to test
- testDeduplication() : void
- Test deduplication
- testEmptyTagParsing() : void
- Test empty tag parsing
- testTagParsing() : void
- Test tag parsing
- testTruncation() : void
- Test truncation
Methods
getTagsService()
Get an object to test
public
getTagsService([int $maxLength = 64 ][, ResourcePopulator|null $resourcePopulator = null ]) : TagsService
Parameters
- $maxLength : int = 64
-
Maximum tag length
- $resourcePopulator : ResourcePopulator|null = null
-
Resource populator service (null for default mock)
Return values
TagsService —testDeduplication()
Test deduplication
public
testDeduplication() : void
Return values
void —testEmptyTagParsing()
Test empty tag parsing
public
testEmptyTagParsing() : void
Return values
void —testTagParsing()
Test tag parsing
public
testTagParsing() : void
Return values
void —testTruncation()
Test truncation
public
testTruncation() : void