Documentation

MarcGrokTest extends TestCase
in package

Test the MarcGrok class.

Tags
group

php-marc-csl

covers

Table of Contents

testGetAllMeetings()  : mixed
Test method getAllMeetings.
testGetAllNames()  : mixed
Test method getAllNames.
testGetAllPublicationInfo()  : mixed
Test method getAllPublicationInfo.
testGetAllSeriesNames()  : mixed
Test method getAllSeriesNames.
testGetContainerInfo()  : mixed
Test method getContainerInfo.
testGetRecord()  : mixed
Test method getRecord.
testRelators()  : mixed
assertAllMeetings()  : mixed
Helper for testing getAllMeetings.
assertAllNames()  : mixed
Helper for testing getAllNames.
assertAllSeriesNames()  : mixed
Helper for testing getAllSeriesNames.
assertContainerInfo()  : mixed
Helper for testing getContainerInfo.
assertPublicationInfo()  : mixed
Helper for testing getAllPublicationInfo.

Methods

testGetAllMeetings()

Test method getAllMeetings.

public testGetAllMeetings() : mixed
Return values
mixed

testGetAllNames()

Test method getAllNames.

public testGetAllNames() : mixed
Return values
mixed

testGetAllPublicationInfo()

Test method getAllPublicationInfo.

public testGetAllPublicationInfo() : mixed
Return values
mixed

testGetAllSeriesNames()

Test method getAllSeriesNames.

public testGetAllSeriesNames() : mixed
Return values
mixed

testGetContainerInfo()

Test method getContainerInfo.

public testGetContainerInfo() : mixed
Return values
mixed

testGetRecord()

Test method getRecord.

public testGetRecord() : mixed
Return values
mixed

testRelators()

public testRelators() : mixed
Return values
mixed

assertAllMeetings()

Helper for testing getAllMeetings.

private assertAllMeetings(string $xml, array<string|int, mixed> $result[, string $message = "" ]) : mixed
Parameters
$xml : string

The MARC XML source.

$result : array<string|int, mixed>

The expected result.

$message : string = ""

The assertion message.

Return values
mixed

assertAllNames()

Helper for testing getAllNames.

private assertAllNames(string $xml, array<string|int, mixed> $result[, string $message = "" ]) : mixed
Parameters
$xml : string

The MARC XML source.

$result : array<string|int, mixed>

The expected result.

$message : string = ""

The assertion message.

Return values
mixed

assertAllSeriesNames()

Helper for testing getAllSeriesNames.

private assertAllSeriesNames(string $xml, array<string|int, mixed> $result[, string $message = "" ]) : mixed
Parameters
$xml : string

The MARC XML source.

$result : array<string|int, mixed>

The expected result.

$message : string = ""

The assertion message.

Return values
mixed

assertContainerInfo()

Helper for testing getContainerInfo.

private assertContainerInfo(string $xml, array<string|int, mixed> $result[, string $message = "" ]) : mixed
Parameters
$xml : string

The MARC XML source.

$result : array<string|int, mixed>

The expected result.

$message : string = ""

The assertion message.

Return values
mixed

assertPublicationInfo()

Helper for testing getAllPublicationInfo.

private assertPublicationInfo(string $xml, array<string|int, mixed> $result[, string $message = "" ]) : mixed
Parameters
$xml : string

The MARC XML source.

$result : array<string|int, mixed>

The expected result.

$message : string = ""

The assertion message.

Return values
mixed

Search results