I am using Drupal 7, and the latest version of the Simpletest module. I have written a test case like the following one:
class SimpleTestDemoTestCase extends DrupalWebTestCase {
function setUp($modules = array()) {
parent::setUp('simpletestdemo');
}
public function getInfo(){
return array(
'name' => 'Simpletestdemo testcase',
'description' => 'Simpletestdemo testcase desc',
'group' => 'Simpletestdemo'
);
}
public function testBlockView() {
$simpletestblockview = module_invoke('simpletestdemo','block_view);
$this->assertTrue(t('Simpletest Demo'),$simpletestblockview['title']);
}
}
?>
This does not get recognized by the Simpletest module. Is there anything wrong in this test case?