Commit Graph

9 Commits (46d3cae2ffa420638709acecf8d5c659da109de0)

Author SHA1 Message Date
Aleksander Machniak 35c29be9b2 Remove use of ext-iconv 5 years ago
Aleksander Machniak 47d9ed6d0c Add support for PHPUnit 6 and 7 (#6870)
Fixes composer dependencies: Package phpunit/phpunit-mock-objects is abandoned

We cannot support v8 yet because of errors like:
Declaration of MailFunc::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void
It would require dropping PHP < 7.1 support.
5 years ago
Shin Kojima 0b385dc946 Skip iconv for problematic ISO-2022-JP strings (#5668)
We sometimes get broken character encodings such as:
Subject: =?iso-2022-jp?B?GyRCLWo7M3l1OSk2SBsoQgo=?=
This actually is not a strict ISO-2022-JP string, but a CP50220 string
that is a variant of ISO-2022-JP with extended characters proposed by
Microsoft. Iconv can not handle these encodings well.
8 years ago
Thomas Bruederli 7eefdc8149 Adapt charset cleanup tests to pass with different versions of iconv propucing slightyl different output 10 years ago
Thomas Bruederli 0bfc862283 Specify test groups for inclusion/exclusion 10 years ago
Aleksander Machniak f7565da34b Add some more tests for rcube_charset::clean() 10 years ago
Aleksander Machniak a5b8ef99d4 Improve charset detection by prioritizing charset according to user language (#1485669) 12 years ago
Aleksander Machniak b2e5178b10 Added tests for rcube_charset class 12 years ago
Aleksander Machniak 5f8adabb62 Add simple (constructor) tests for Framework classes 12 years ago