Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a SimpleTest warning and the README.md.

  • Loading branch information...
commit 504c48d380c15159cd36297562435c885182b7cc 1 parent e4f76c0
@csko csko authored
View
2  tests/README.md
@@ -7,7 +7,7 @@
Patterns is shipped with a `PatternTestCase` abstract class that aims at helping developers of [SimpleTest](http://drupal.org/node/291740).
- Here are some methods that is whorty knowing:
+ Here are some methods that are worth knowing:
- `getPatternsTestDir()`: Returns the path to the tests directory inside the Patterns module.
- `setUp()`: Loads the patterns and libraries modules plus all those that are passed as parameters; skips the Patterns splash screen.
View
2  tests/block/block.test
@@ -16,7 +16,7 @@ class PatternsBlockTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->block_tests_dir = $this->getPatternsTestDir() . 'block/';
View
2  tests/color/color.test
@@ -17,7 +17,7 @@ class PatternsColorTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->color_tests_dir = $this->getPatternsTestDir() . 'color/';
View
2  tests/field/field.test
@@ -17,7 +17,7 @@ class PatternsFieldTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->field_tests_dir = $this->getPatternsTestDir() . 'field/';
View
2  tests/importing/importing.test
@@ -18,7 +18,7 @@ class PatternsImportTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->importing_tests_dir = $this->getPatternsTestDir() . 'importing/';
// Enable any modules required for the tests.
View
2  tests/menu/menu.test
@@ -17,7 +17,7 @@ class PatternsMenuTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->menu_tests_dir = $this->getPatternsTestDir() . 'menu/';
View
2  tests/node/content.test
@@ -16,7 +16,7 @@ class PatternsContentTypeTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->node_tests_dir = $this->getPatternsTestDir() . 'node/';
// Enable any modules required for the tests.
View
2  tests/node/node.test
@@ -16,7 +16,7 @@ class PatternsNodeTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->node_tests_dir = $this->getPatternsTestDir() . 'node/';
// Enable any modules required for the tests.
View
2  tests/parser/parser.test
@@ -16,7 +16,7 @@ class PatternsParserTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->parser_tests_dir = $this->getPatternsTestDir() . 'parser/';
// Enable any modules required for the tests.
View
2  tests/pathauto/pathauto.test
@@ -17,7 +17,7 @@ class PatternsPathautoTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->pathauto_tests_dir = $this->getPatternsTestDir() . 'pathauto/';
View
2  tests/shortcut/shortcut.test
@@ -17,7 +17,7 @@ class PatternsShortcutTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->shortcut_tests_dir = $this->getPatternsTestDir() . 'shortcut/';
View
2  tests/system/system.test
@@ -16,7 +16,7 @@ class PatternsSystemTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->system_tests_dir = $this->getPatternsTestDir() . 'system/';
View
2  tests/taxonomy/taxonomy.test
@@ -16,7 +16,7 @@ class PatternsTaxonomyTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->taxo_tests_dir = $this->getPatternsTestDir() . 'taxonomy/';
View
2  tests/toolbar/toolbar.test
@@ -17,7 +17,7 @@ class PatternsToolbarTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->toolbar_tests_dir = $this->getPatternsTestDir() . 'toolbar/';
View
2  tests/user/user.test
@@ -17,7 +17,7 @@ class PatternsUserTestCase extends PatternsTestCase {
);
}
- public function setUp() {
+ public function setUp($modules = array(), $first = FALSE) {
$this->user_tests_dir = $this->getPatternsTestDir() . 'user/';
Please sign in to comment.
Something went wrong with that request. Please try again.