mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
38 lines
883 B
PHP
38 lines
883 B
PHP
<?php
|
|
|
|
namespace SilverStripe\i18n\Tests\i18nTextCollectorTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\i18n\i18nTextCollector;
|
|
|
|
/**
|
|
* Assist with testing of specific protected methods
|
|
*/
|
|
class Collector extends i18nTextCollector implements TestOnly
|
|
{
|
|
public function getModules_Test($directory)
|
|
{
|
|
return $this->getModules($directory);
|
|
}
|
|
|
|
public function resolveDuplicateConflicts_Test($entitiesByModule)
|
|
{
|
|
return $this->resolveDuplicateConflicts($entitiesByModule);
|
|
}
|
|
|
|
public function getFileListForModule_Test($module)
|
|
{
|
|
return $this->getFileListForModule($module);
|
|
}
|
|
|
|
public function getConflicts_Test($entitiesByModule)
|
|
{
|
|
return $this->getConflicts($entitiesByModule);
|
|
}
|
|
|
|
public function findModuleForClass_Test($class)
|
|
{
|
|
return $this->findModuleForClass($class);
|
|
}
|
|
}
|