SuppressedCommandTest
extends TestCase
in package
SuppressedCommand test.
Tags
Table of Contents
- testFailedWriteToFile() : void
- Test failed write to file.
- testNoAuthorityRecordsToDelete() : void
- Test no results coming back from ILS
- testNoRecordsToDelete() : void
- Test no results coming back from ILS
- testRecordsToDelete() : void
- Test successful Solr update.
- testWriteToFile() : void
- Test write to file.
- getCommand() : SuppressedCommand
- Get command to test.
- getMockIlsConnection() : Connection
- Get mock ILS connection.
- getMockSolrWriter() : Writer
- Get mock Solr writer.
Methods
testFailedWriteToFile()
Test failed write to file.
public
testFailedWriteToFile() : void
Return values
void —testNoAuthorityRecordsToDelete()
Test no results coming back from ILS
public
testNoAuthorityRecordsToDelete() : void
Return values
void —testNoRecordsToDelete()
Test no results coming back from ILS
public
testNoRecordsToDelete() : void
Return values
void —testRecordsToDelete()
Test successful Solr update.
public
testRecordsToDelete() : void
Return values
void —testWriteToFile()
Test write to file.
public
testWriteToFile() : void
Return values
void —getCommand()
Get command to test.
protected
getCommand([Writer $solr = null ][, Connection $ils = null ]) : SuppressedCommand
Parameters
- $solr : Writer = null
-
Solr writer
- $ils : Connection = null
-
ILS connection
Return values
SuppressedCommand —getMockIlsConnection()
Get mock ILS connection.
protected
getMockIlsConnection() : Connection
Return values
Connection —getMockSolrWriter()
Get mock Solr writer.
protected
getMockSolrWriter() : Writer