pmperson.test in Drupal PM (Project Management) 7.3
Same filename and directory in other branches
Test definitions for PM Person.
File
pmperson/pmperson.testView source
<?php
/**
* @file
* Test definitions for PM Person.
*/
/**
* Define a test case for PM Person.
*/
class PMPersonTestCase extends DrupalWebTestCase {
/**
* Defines test meta-data.
*/
public static function getInfo() {
return array(
'name' => 'PM Person functionality',
'description' => 'Test the functionality of the PM Person module',
'group' => 'Project Management',
);
}
/**
* Set up environment for test.
*/
public function setUp() {
parent::setUp('pm', 'pmperson');
}
/**
* Tests module uninstall path.
*/
public function testpmpersonUninstall() {
$module = array(
'pmperson',
);
module_disable($module);
$result = drupal_uninstall_modules($module);
$this
->AssertTrue($result, t('Module successfully uninstalled.'));
}
}
Classes
Name | Description |
---|---|
PMPersonTestCase | Define a test case for PM Person. |