Changeset 924 in tests
- Timestamp:
- 07/19/2012 06:18:12 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootstrap.php
r918 r924 100 100 array_keys( $this->longOptions ) 101 101 ); 102 if ( empty( $options[0] ) ) { 103 register_shutdown_function( array( __CLASS__, 'ajaxTestsWereNotRun' ) ); 104 return; 105 } 102 106 foreach ( $options[0] as $option ) { 103 107 if ( $option[0] !== '--group' ) … … 110 114 } 111 115 } 116 117 static function ajaxTestsWereNotRun() { 118 echo PHP_EOL . 'By default, Ajax tests are not run. To execute these, use `phpunit --group ajax`' . PHP_EOL; 119 } 112 120 } 113 121 new WP_PHPUnit_TextUI_Command( $_SERVER['argv'] ); -
trunk/phpunit.xml
r905 r924 10 10 <directory suffix=".php">tests</directory> 11 11 <file phpVersion="5.3.0">tests/actions/closures.php</file> 12 <groups> 13 <exclude> 14 <group>ajax</group> 15 </exclude> 16 </groups> 12 17 </testsuite> 13 18 </testsuites> -
trunk/tests/ajax/DeleteComment.php
r904 r924 13 13 * @since 3.4.0 14 14 * @group ajax 15 * @runTestsInSeparateProcesses16 15 */ 17 16 class Tests_Ajax_DeleteComment extends WP_Ajax_UnitTestCase { -
trunk/tests/ajax/DimComment.php
r904 r924 13 13 * @since 3.4.0 14 14 * @group ajax 15 * @runTestsInSeparateProcesses16 15 */ 17 16 class Tests_Ajax_DimComment extends WP_Ajax_UnitTestCase { -
trunk/tests/ajax/EditComment.php
r909 r924 13 13 * @since 3.4.0 14 14 * @group ajax 15 * @runTestsInSeparateProcesses16 15 */ 17 16 class Tests_Ajax_EditComment extends WP_Ajax_UnitTestCase { -
trunk/tests/ajax/GetComments.php
r904 r924 13 13 * @since 3.4.0 14 14 * @group ajax 15 * @runTestsInSeparateProcesses16 15 */ 17 16 class Tests_Ajax_GetComments extends WP_Ajax_UnitTestCase { -
trunk/tests/ajax/ReplytoComment.php
r904 r924 13 13 * @since 3.4.0 14 14 * @group ajax 15 * @runTestsInSeparateProcesses16 15 */ 17 16 class Tests_Ajax_ReplytoComment extends WP_Ajax_UnitTestCase { -
trunk/tests/ajax/TagSearch.php
r904 r924 13 13 * @since 3.4.0 14 14 * @group ajax 15 * @runTestsInSeparateProcesses16 15 */ 17 16 class Tests_Ajax_TagSearch extends WP_Ajax_UnitTestCase {
Note: See TracChangeset
for help on using the changeset viewer.