Documentation

CRM_Core_InnoDBIndexerTest extends TestCase
in package
implements HeadlessInterface, HookInterface

Class CRM_Core_InnoDBIndexerTest

Tags
group

headless

Table of Contents

Interfaces

HeadlessInterface
Interface HeadlessInterface
HookInterface

Properties

$indices  : array<string|int, mixed>
Indices to be created or removed.

Methods

setUpHeadless()  : CiviEnvBuilder
Civi\Test has many helpers, like install(), uninstall(), sql(), and sqlFile(). See: https://github.com/civicrm/org.civicrm.testapalooza/blob/master/civi-test.md
tearDown()  : void
testDisabled()  : void
When disabled, there is no FTS index, so queries that rely on FTS index fail.
testEnabled()  : void
When enabled, the FTS index is created, so queries that rely on FTS work.
testHasDeclaredIndex()  : void
assertFullTextIndexesNotPresent()  : void
Assert that all indices have been removed.

Properties

$indices

Indices to be created or removed.

protected array<string|int, mixed> $indices = []

Methods

setUpHeadless()

Civi\Test has many helpers, like install(), uninstall(), sql(), and sqlFile(). See: https://github.com/civicrm/org.civicrm.testapalooza/blob/master/civi-test.md

public setUpHeadless() : CiviEnvBuilder
Return values
CiviEnvBuilder

testDisabled()

When disabled, there is no FTS index, so queries that rely on FTS index fail.

public testDisabled() : void

        
On this page

Search results