HistoryTest
extends TestCase
in package
History unit tests.
Tags
Table of Contents
- testDefaultDisabledScheduleOptions() : void
- Test that we get no schedule options when scheduled search is disabled (by default).
- testDefaultScheduleOptions() : void
- Test that we get reasonable default schedule options when scheduled search is enabled.
- testExplicitlyDisabledScheduleOptions() : void
- Test that we get no schedule options when scheduled search is disabled (explicitly).
- testMultipleNonDefaultScheduleOptions() : void
- Test multiple non-default schedule options.
- testPurgeHistory() : void
- Test that purging history proxies to the right place.
- testSingleNonDefaultScheduleOption() : void
- Test a single non-default schedule option.
- getHistory() : History
- Get object for testing.
Methods
testDefaultDisabledScheduleOptions()
Test that we get no schedule options when scheduled search is disabled (by default).
public
testDefaultDisabledScheduleOptions() : void
Return values
void —testDefaultScheduleOptions()
Test that we get reasonable default schedule options when scheduled search is enabled.
public
testDefaultScheduleOptions() : void
Return values
void —testExplicitlyDisabledScheduleOptions()
Test that we get no schedule options when scheduled search is disabled (explicitly).
public
testExplicitlyDisabledScheduleOptions() : void
Return values
void —testMultipleNonDefaultScheduleOptions()
Test multiple non-default schedule options.
public
testMultipleNonDefaultScheduleOptions() : void
Return values
void —testPurgeHistory()
Test that purging history proxies to the right place.
public
testPurgeHistory() : void
Return values
void —testSingleNonDefaultScheduleOption()
Test a single non-default schedule option.
public
testSingleNonDefaultScheduleOption() : void
Return values
void —getHistory()
Get object for testing.
protected
getHistory([SearchServiceInterface $searchService = null ][, PluginManager $resultsManager = null ][, Config $config = null ]) : History
Parameters
- $searchService : SearchServiceInterface = null
-
Search service
- $resultsManager : PluginManager = null
-
Results manager
- $config : Config = null
-
Configuration