SilverStripe\Undemanding\Listener
Synopsis
class Listener
implements
PHPUnit_Framework_TestListener
{
- // methods
- public void addError()
- public void addFailure()
- public void addIncompleteTest()
- public void addRiskyTest()
- public void addSkippedTest()
- public void startTestSuite()
- private void serveStart()
- private bool addressAvailable()
- public void endTestSuite()
- private void serveStop()
- public void startTest()
- public void endTest()
- // Inherited methods from Executor
- protected array|string exec()
- // Inherited methods from Logger
- protected void log()
- // Inherited methods from Tester
- public $this setHost()
- public $this setPort()
- public string getHost()
- public int getPort()
- public Page visit()
- public Tester admin()
Hierarchy
Uses
- SilverStripe\Undemanding\Executor
- SilverStripe\Undemanding\Finder
- SilverStripe\Undemanding\Killer
- SilverStripe\Undemanding\Logger
- SilverStripe\Undemanding\Tester
Implements
- PHPUnit_Framework_TestListener
Tasks
Line | Task |
---|---|
38 | read https://en.wikipedia.org/wiki/Interface_segregation_principle |
50 | read https://en.wikipedia.org/wiki/Interface_segregation_principle |
62 | read https://en.wikipedia.org/wiki/Interface_segregation_principle |
74 | read https://en.wikipedia.org/wiki/Interface_segregation_principle |
86 | read https://en.wikipedia.org/wiki/Interface_segregation_principle |
192 | read https://en.wikipedia.org/wiki/Interface_segregation_principle |
203 | read https://en.wikipedia.org/wiki/Interface_segregation_principle |
Members
private
- $ids — array
- $run — SilverStripe\Undemanding\bool
Methods
private
- addressAvailable() — Check if something is running at a specific host/port.
- serveStart() — Starts the development server.
- serveStop() — Stops the development server.
public
- addError()
- addFailure()
- addIncompleteTest()
- addRiskyTest()
- addSkippedTest()
- endTest()
- endTestSuite()
- startTest()
- startTestSuite()
Inherited from SilverStripe\Undemanding\Executor
protected
- exec() — Runs a command silently and in the background.
Inherited from SilverStripe\Undemanding\Finder
protected
Inherited from SilverStripe\Undemanding\Killer
protected
Inherited from SilverStripe\Undemanding\Logger
protected
- log() — Logs a message.