• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress develop tests

WordPress develop tests

WordPress develop tests a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / phpunit/includes/speed-trap-listener.php


Lines:

1 to 29 of 29
<?php

/* class SpeedTrapListener */
/* function SpeedTrapListener::__construct() – Construct a new instance. */
/* function SpeedTrapListener::addError() – An error occurred. */
/* function SpeedTrapListener::addWarning() – A warning occurred. */
/* function SpeedTrapListener::addFailure() – A failure occurred. */
/* function SpeedTrapListener::addIncompleteTest() – Incomplete test. */
/* function SpeedTrapListener::addRiskyTest() – Risky test. */
/* function SpeedTrapListener::addSkippedTest() – Skipped test. */
/* function SpeedTrapListener::startTest() – A test started. */
/* function SpeedTrapListener::endTest() – A test ended. */
/* function SpeedTrapListener::startTestSuite() – A test suite started. */
/* function SpeedTrapListener::endTestSuite() – A test suite ended. */
/* function SpeedTrapListener::isSlow() – Whether the given test execution time is considered slow. */
/* function SpeedTrapListener::addSlowTest() – Stores a test as slow. */
/* function SpeedTrapListener::hasSlowTests() – Whether at least one test has been considered slow. */
/* function SpeedTrapListener::toMilliseconds() – Convert PHPUnit’s reported test time (microseconds) to milliseconds. */
/* function SpeedTrapListener::makeLabel() – Label for describing a test. */
/* function SpeedTrapListener::getReportLength() – Calculate number of slow tests to report about. */
/* function SpeedTrapListener::getHiddenCount() – Find how many slow tests occurred that won’t be shown due to list length. */
/* function SpeedTrapListener::renderHeader() – Renders slow test report header. */
/* function SpeedTrapListener::renderBody() – Renders slow test report body. */
/* function SpeedTrapListener::renderFooter() – Renders slow test report footer. */
/* function SpeedTrapListener::loadOptions() – Populate options into class internals. */
/* function SpeedTrapListener::getSlowThreshold() – Get slow test threshold for given test. A TestCase can override the
suite-wide slow threshold by using the annotation @slowThreshold with
the threshold value in milliseconds. */
 

 View on GitHub

Called by

    Invoked by

      Calls

      Call hooks

      File name: phpunit/includes/speed-trap-listener.php
      Plugin ref: WordPress develop tests
      Version: 5.3
      Deprecated?: No
      API Letters: I,L,P,S,T

      Published: 26th November 2019 | Last updated: 27th November 2019

      Primary Sidebar

      Information

      File name: phpunit/includes/speed-trap-listener.php
      Plugin ref: WordPress develop tests
      Version: 5.3
      Deprecated?: No
      API Letters: I,L,P,S,T

      phpunit/includes

      Footer

      WordPress develop tests WordPress develop tests
      WordPress develop tests a2z
      WordPress 5.3
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  develop.wp-a2z.org
      © Copyright WordPress develop tests 2014-2019. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites