Documentation

IntlTestHelper
in package

Helper class for preparing test cases that rely on the Intl component.

Any test that tests functionality relying on either the intl classes or the resource bundle data should call either of the methods or . Calling is only necessary if you use functionality in the test that is not provided by the stub intl implementation.

Tags
author

Bernhard Schussek bschussek@gmail.com

Table of Contents

Methods

require32Bit()  : mixed
Skips the test unless the current system has a 32bit architecture.
require64Bit()  : mixed
Skips the test unless the current system has a 64bit architecture.
requireFullIntl()  : mixed
Should be called before tests that require a feature-complete intl implementation.
requireIntl()  : mixed
Should be called before tests that work fine with the stub implementation.
__construct()  : mixed
Must not be instantiated.

Methods

require32Bit()

Skips the test unless the current system has a 32bit architecture.

public static require32Bit(TestCase $testCase) : mixed
Parameters
$testCase : TestCase

require64Bit()

Skips the test unless the current system has a 64bit architecture.

public static require64Bit(TestCase $testCase) : mixed
Parameters
$testCase : TestCase

requireFullIntl()

Should be called before tests that require a feature-complete intl implementation.

public static requireFullIntl(TestCase $testCase[, string $minimumIcuVersion = null ]) : mixed
Parameters
$testCase : TestCase
$minimumIcuVersion : string = null

requireIntl()

Should be called before tests that work fine with the stub implementation.

public static requireIntl(TestCase $testCase[, string $minimumIcuVersion = null ]) : mixed
Parameters
$testCase : TestCase
$minimumIcuVersion : string = null

__construct()

Must not be instantiated.

private __construct() : mixed

        
On this page

Search results