root / drupal7 / sites / all / modules / addthis / tests / AddThisTestHelper.php @ fc2c1c7a
1 | 2c8c2b87 | Assos Assos | <?php
|
---|---|---|---|
2 | |||
3 | |||
4 | class AddThisTestHelper { |
||
5 | |||
6 | public static function stringContains($string, $contains) { |
||
7 | return strpos($string, $contains) !== FALSE; |
||
8 | } |
||
9 | |||
10 | public static function generateRandomLowercaseString() { |
||
11 | return drupal_strtolower(DrupalWebTestCase::randomName()); |
||
12 | } |
||
13 | } |