Class: LocalizationAuditTest
Source Location: /modules/core/test/phpunit/LocalizationAuditTest.class
Class LocalizationAuditTest
Inherited Properties, Constants, and Methods
Methods
LocalizationAuditTest LocalizationAuditTest(
$methodName
)
|
|
Parameters:
void checkFile(
$fileName,
$buffer
)
|
|
Parameters:
API Tags:
See: | fuzzy before it
3. Check that the first line is "Id" svn keyword
4. Check charset header is UTF-8
5. Make sure translator hints and __TOKEN__ things aren't translated |
Redefinition of:
- CodeAuditTestCase::checkFile()
- Overload this method in subclasses to audit the file.
void finishScan(
$halted
)
|
|
Parameters:
API Tags:
See: | CodeAuditTestCase::finishScan
Collate our Project-Id-Version info and make sure they're consistent in every localization. |
Redefinition of:
- CodeAuditTestCase::finishScan()
- Overload this method in subclasses to run any tasks after the scan is complete.
void shouldCheckFile(
$fileName
)
|
|
Parameters:
API Tags:
See: | CodeAuditTestCase::shouldCheckFile |
Redefinition of:
- CodeAuditTestCase::shouldCheckFile()
- Overload this method in subclasses. If this method returns true, we'll call checkFile on it.
|
|