| 1 |
<?php |
<?php |
| 2 |
// $Id: potx.test,v 1.1.4.3 2009/11/17 12:35:09 goba Exp $ |
// $Id: potx.test,v 1.1.4.4 2009/11/17 14:20:43 goba Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 17 |
} |
} |
| 18 |
|
|
| 19 |
public function setUp() { |
public function setUp() { |
| 20 |
// Set up required modules for l10n_community. |
// Set up required modules for l10n_community. @todo: figure out why we |
| 21 |
parent::setUp('locale', 'potx'); |
// need to comment this out to make the tests work. Otherwise we get |
| 22 |
|
// "Exception thrown without a stack frame". |
| 23 |
|
//parent::setUp('locale', 'potx'); |
| 24 |
|
|
| 25 |
// Add potx.inc which we test for its functionality. |
// Add potx.inc which we test for its functionality. |
| 26 |
include_once(drupal_get_path('module', 'potx') .'/potx.inc'); |
include_once(drupal_get_path('module', 'potx') .'/potx.inc'); |
| 27 |
// Store empty error message for reuse in multiple cases. |
// Store empty error message for reuse in multiple cases. |