all contrib module security updates done
This commit is contained in:
@@ -1,13 +1,26 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
/**
|
||||
* @file
|
||||
* PHPUnit Tests for devel. This uses Drush's own test framework, based on PHPUnit.
|
||||
* To run the tests, use phpunit --bootstrap=/path/to/drush/tests/drush_testcase.inc.
|
||||
* Note that we are pointing to the drush_testcase.inc file under /tests subdir in drush.
|
||||
* PHPUnit Tests for devel.
|
||||
*
|
||||
* This uses Drush's own test framework, based on PHPUnit.
|
||||
* To run the tests, use
|
||||
* @code
|
||||
* phpunit --bootstrap=/path/to/drush/tests/drush_testcase.inc.
|
||||
* @endcode
|
||||
* Note that we are pointing to the drush_testcase.inc file under /tests subdir
|
||||
* in drush.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class for testing Drush integration.
|
||||
*/
|
||||
class develCase extends Drush_CommandTestCase {
|
||||
|
||||
/**
|
||||
* Tests the printing of a function and its Doxygen comment.
|
||||
*/
|
||||
public function testFnView() {
|
||||
$sites = $this->setUpDrupal(1, TRUE);
|
||||
$options = array(
|
||||
@@ -22,4 +35,4 @@ class develCase extends Drush_CommandTestCase {
|
||||
$this->assertContains('@return', $output, 'Output contain @return Doxygen.');
|
||||
$this->assertContains('function drush_main() {', $output, 'Output contains function drush_main() declaration');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user