Project

General

Profile

Paste
Download (279 Bytes) Statistics
| Branch: | Revision:

root / drupal7 / sites / all / modules / addthis / tests / AddThisTestHelper.php @ 2c8c2b87

1
<?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
}